Lines Matching refs:PLAIN

1 ; "PLAIN" - No optimizations. This tests the default target layout
3 ; RUN: opt -S -o - < %s | FileCheck --check-prefix=PLAIN %s
21 ; PLAIN: @G8 = global i8* getelementptr (i8, i8* inttoptr (i32 1 to i8*), i32 -1)
22 ; PLAIN: @G1 = global i1* getelementptr (i1, i1* inttoptr (i32 1 to i1*), i32 -1)
23 ; PLAIN: @F8 = global i8* getelementptr (i8, i8* inttoptr (i32 1 to i8*), i32 -2)
24 ; PLAIN: @F1 = global i1* getelementptr (i1, i1* inttoptr (i32 1 to i1*), i32 -2)
25 ; PLAIN: @H8 = global i8* getelementptr (i8, i8* null, i32 -1)
26 ; PLAIN: @H1 = global i1* getelementptr (i1, i1* null, i32 -1)
51 ; PLAIN: @a = constant i64 mul (i64 ptrtoint (double* getelementptr (double, double* null, i32 1) t…
52 ; PLAIN: @b = constant i64 ptrtoint (double* getelementptr ({ i1, double }, { i1, double }* null, i…
53 ; PLAIN: @c = constant i64 mul nuw (i64 ptrtoint (double* getelementptr (double, double* null, i32 …
54 ; PLAIN: @d = constant i64 mul nuw (i64 ptrtoint (double* getelementptr (double, double* null, i32 …
55 ; PLAIN: @e = constant i64 ptrtoint (double* getelementptr ({ double, float, double, double }, { do…
56 ; PLAIN: @f = constant i64 1
57 ; PLAIN: @g = constant i64 ptrtoint (double* getelementptr ({ i1, double }, { i1, double }* null, i…
58 ; PLAIN: @h = constant i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)
59 ; PLAIN: @i = constant i64 ptrtoint (i1** getelementptr ({ i1, i1* }, { i1, i1* }* null, i64 0, i32…
91 ; PLAIN: @M = constant i64* getelementptr (i64, i64* null, i32 1)
92 ; PLAIN: @N = constant i64* getelementptr ({ i64, i64 }, { i64, i64 }* null, i32 0, i32 1)
93 ; PLAIN: @O = constant i64* getelementptr ([2 x i64], [2 x i64]* null, i32 0, i32 1)
107 ; PLAIN: @Y = global [3 x { i32, i32 }]* getelementptr inbounds ([3 x { i32, i32 }], [3 x { i32, i3…
108 ; PLAIN: @Z = global i32* getelementptr inbounds (i32, i32* getelementptr inbounds ([3 x { i32, i32…
121 ; PLAIN: define i8* @goo8() #0 {
122 ; PLAIN: %t = bitcast i8* getelementptr (i8, i8* inttoptr (i32 1 to i8*), i32 -1) to i8*
123 ; PLAIN: ret i8* %t
124 ; PLAIN: }
125 ; PLAIN: define i1* @goo1() #0 {
126 ; PLAIN: %t = bitcast i1* getelementptr (i1, i1* inttoptr (i32 1 to i1*), i32 -1) to i1*
127 ; PLAIN: ret i1* %t
128 ; PLAIN: }
129 ; PLAIN: define i8* @foo8() #0 {
130 ; PLAIN: %t = bitcast i8* getelementptr (i8, i8* inttoptr (i32 1 to i8*), i32 -2) to i8*
131 ; PLAIN: ret i8* %t
132 ; PLAIN: }
133 ; PLAIN: define i1* @foo1() #0 {
134 ; PLAIN: %t = bitcast i1* getelementptr (i1, i1* inttoptr (i32 1 to i1*), i32 -2) to i1*
135 ; PLAIN: ret i1* %t
136 ; PLAIN: }
137 ; PLAIN: define i8* @hoo8() #0 {
138 ; PLAIN: %t = bitcast i8* getelementptr (i8, i8* null, i32 -1) to i8*
139 ; PLAIN: ret i8* %t
140 ; PLAIN: }
141 ; PLAIN: define i1* @hoo1() #0 {
142 ; PLAIN: %t = bitcast i1* getelementptr (i1, i1* null, i32 -1) to i1*
143 ; PLAIN: ret i1* %t
144 ; PLAIN: }
223 ; PLAIN: define i64 @fa() #0 {
224 ; PLAIN: %t = bitcast i64 mul (i64 ptrtoint (double* getelementptr (double, double* null, i32 1) …
225 ; PLAIN: ret i64 %t
226 ; PLAIN: }
227 ; PLAIN: define i64 @fb() #0 {
228 ; PLAIN: %t = bitcast i64 ptrtoint (double* getelementptr ({ i1, double }, { i1, double }* null, …
229 ; PLAIN: ret i64 %t
230 ; PLAIN: }
231 ; PLAIN: define i64 @fc() #0 {
232 ; PLAIN: %t = bitcast i64 mul nuw (i64 ptrtoint (double* getelementptr (double, double* null, i32…
233 ; PLAIN: ret i64 %t
234 ; PLAIN: }
235 ; PLAIN: define i64 @fd() #0 {
236 ; PLAIN: %t = bitcast i64 mul nuw (i64 ptrtoint (double* getelementptr (double, double* null, i32…
237 ; PLAIN: ret i64 %t
238 ; PLAIN: }
239 ; PLAIN: define i64 @fe() #0 {
240 ; PLAIN: %t = bitcast i64 ptrtoint (double* getelementptr ({ double, float, double, double }, { d…
241 ; PLAIN: ret i64 %t
242 ; PLAIN: }
243 ; PLAIN: define i64 @ff() #0 {
244 ; PLAIN: %t = bitcast i64 1 to i64
245 ; PLAIN: ret i64 %t
246 ; PLAIN: }
247 ; PLAIN: define i64 @fg() #0 {
248 ; PLAIN: %t = bitcast i64 ptrtoint (double* getelementptr ({ i1, double }, { i1, double }* null, …
249 ; PLAIN: ret i64 %t
250 ; PLAIN: }
251 ; PLAIN: define i64 @fh() #0 {
252 ; PLAIN: %t = bitcast i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64) to i64
253 ; PLAIN: ret i64 %t
254 ; PLAIN: }
255 ; PLAIN: define i64 @fi() #0 {
256 ; PLAIN: %t = bitcast i64 ptrtoint (i1** getelementptr ({ i1, i1* }, { i1, i1* }* null, i64 0, i3…
257 ; PLAIN: ret i64 %t
258 ; PLAIN: }
378 ; PLAIN: define i64* @fM() #0 {
379 ; PLAIN: %t = bitcast i64* getelementptr (i64, i64* null, i32 1) to i64*
380 ; PLAIN: ret i64* %t
381 ; PLAIN: }
382 ; PLAIN: define i64* @fN() #0 {
383 ; PLAIN: %t = bitcast i64* getelementptr ({ i64, i64 }, { i64, i64 }* null, i32 0, i32 1) to i64*
384 ; PLAIN: ret i64* %t
385 ; PLAIN: }
386 ; PLAIN: define i64* @fO() #0 {
387 ; PLAIN: %t = bitcast i64* getelementptr ([2 x i64], [2 x i64]* null, i32 0, i32 1) to i64*
388 ; PLAIN: ret i64* %t
389 ; PLAIN: }
431 ; PLAIN: define i32* @fZ() #0 {
432 ; PLAIN: %t = bitcast i32* getelementptr inbounds (i32, i32* getelementptr inbounds ([3 x { i32, …
433 ; PLAIN: ret i32* %t
434 ; PLAIN: }
478 ; PLAIN: gv_gep_vs_gv
479 ; PLAIN: ret i1 false
484 ; PLAIN: gv_gep_vs_gv_gep
485 ; PLAIN: ret i1 false