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