]> git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/lower_intrinsics_e2e.f_u64.PreCodegen.after.mir
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / mir-opt / lower_intrinsics_e2e.f_u64.PreCodegen.after.mir
1 // MIR for `f_u64` after PreCodegen
2
3 fn f_u64() -> () {
4 let mut _0: (); // return place in scope 0 at $DIR/lower_intrinsics_e2e.rs:+0:16: +0:16
5 let mut _1: u64; // in scope 0 at $DIR/lower_intrinsics_e2e.rs:+1:5: +1:21
6 scope 1 (inlined f_dispatch::<u64>) { // at $DIR/lower_intrinsics_e2e.rs:15:5: 15:21
7 debug t => _1; // in scope 1 at $DIR/lower_intrinsics_e2e.rs:19:22: 19:23
8 let _2: (); // in scope 1 at $DIR/lower_intrinsics_e2e.rs:23:9: 23:21
9 let mut _3: u64; // in scope 1 at $DIR/lower_intrinsics_e2e.rs:23:19: 23:20
10 scope 2 (inlined std::mem::size_of::<u64>) { // at $DIR/lower_intrinsics_e2e.rs:20:8: 20:32
11 }
12 }
13
14 bb0: {
15 StorageLive(_1); // scope 0 at $DIR/lower_intrinsics_e2e.rs:+1:5: +1:21
16 _1 = const 0_u64; // scope 0 at $DIR/lower_intrinsics_e2e.rs:+1:5: +1:21
17 StorageLive(_2); // scope 1 at $DIR/lower_intrinsics_e2e.rs:23:9: 23:21
18 StorageLive(_3); // scope 1 at $DIR/lower_intrinsics_e2e.rs:23:19: 23:20
19 _3 = move _1; // scope 1 at $DIR/lower_intrinsics_e2e.rs:23:19: 23:20
20 _2 = f_non_zst::<u64>(move _3) -> bb1; // scope 1 at $DIR/lower_intrinsics_e2e.rs:23:9: 23:21
21 // mir::Constant
22 // + span: $DIR/lower_intrinsics_e2e.rs:23:9: 23:18
23 // + literal: Const { ty: fn(u64) {f_non_zst::<u64>}, val: Value(<ZST>) }
24 }
25
26 bb1: {
27 StorageDead(_3); // scope 1 at $DIR/lower_intrinsics_e2e.rs:23:20: 23:21
28 StorageDead(_2); // scope 1 at $DIR/lower_intrinsics_e2e.rs:23:21: 23:22
29 StorageDead(_1); // scope 0 at $DIR/lower_intrinsics_e2e.rs:+1:5: +1:21
30 return; // scope 0 at $DIR/lower_intrinsics_e2e.rs:+2:2: +2:2
31 }
32 }