• Home
  • Raw
  • Download

Lines Matching refs:PLAIN

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