Lines Matching refs:invariant
7 ; CHECK: %val0 = load i32, i32* %ptr, !invariant.load !0
13 %val0 = load i32, i32* %ptr, !invariant.load !{}
15 %val1 = load i32, i32* %ptr, !invariant.load !{}
17 %val2 = load i32, i32* %ptr, !invariant.load !{}
23 ; We can forward invariant loads to non-invariant loads, since once an
24 ; invariant load has executed, the location loaded from is known to be
28 ; CHECK: %val0 = load i32, i32* %ptr, !invariant.load !0
32 %val0 = load i32, i32* %ptr, !invariant.load !{}
40 ; Negative test -- we can't forward a non-invariant load into an
41 ; invariant load.
46 ; CHECK: %val1 = load i32, i32* %ptr, !invariant.load !0
51 %val1 = load i32, i32* %ptr, !invariant.load !{}
58 %val0 = load i32, i32* %ptr, !invariant.load !{}
62 ; CHECK: %val0 = load i32, i32* %ptr, !invariant.load !0
84 ; CHECK-NEXT: %val0 = load i32, i32* %ptr, !invariant.load !
87 %val0 = load i32, i32* %ptr, !invariant.load !{}