• Home
  • Raw
  • Download

Lines Matching refs:OPT

5 ; "OPT" - Optimizations but no targetdata. This tests target-independent
7 ; RUN: opt -S -o - -instcombine -globalopt < %s | FileCheck --check-prefix=OPT %s
27 ; OPT: @G8 = global i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1)
28 ; OPT: @G1 = global i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1)
29 ; OPT: @F8 = global i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2)
30 ; OPT: @F1 = global i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2)
31 ; OPT: @H8 = global i8* getelementptr (i8* null, i32 -1)
32 ; OPT: @H1 = global i1* getelementptr (i1* null, i32 -1)
60 ; OPT: @a = constant i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i6…
61 ; OPT: @b = constant i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i6…
62 ; OPT: @c = constant i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i6…
63 ; OPT: @d = constant i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i6…
64 ; OPT: @e = constant i64 ptrtoint (double* getelementptr ({ double, float, double, double }* null, …
65 ; OPT: @f = constant i64 1
66 ; OPT: @g = constant i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i6…
67 ; OPT: @h = constant i64 ptrtoint (i1** getelementptr (i1** null, i32 1) to i64)
68 ; OPT: @i = constant i64 ptrtoint (i1** getelementptr ({ i1, i1* }* null, i64 0, i32 1) to i64)
94 ; OPT: @M = constant i64* getelementptr (i64* null, i32 1)
95 ; OPT: @N = constant i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1)
96 ; OPT: @O = constant i64* getelementptr ([2 x i64]* null, i32 0, i32 1)
109 ; OPT: @Y = global [3 x { i32, i32 }]* getelementptr ([3 x { i32, i32 }]* @ext, i64 2)
110 ; OPT: @Z = global i32* getelementptr (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0…
145 ; OPT: define i8* @goo8() #0 {
146 ; OPT: ret i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1)
147 ; OPT: }
148 ; OPT: define i1* @goo1() #0 {
149 ; OPT: ret i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1)
150 ; OPT: }
151 ; OPT: define i8* @foo8() #0 {
152 ; OPT: ret i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2)
153 ; OPT: }
154 ; OPT: define i1* @foo1() #0 {
155 ; OPT: ret i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2)
156 ; OPT: }
157 ; OPT: define i8* @hoo8() #0 {
158 ; OPT: ret i8* getelementptr (i8* null, i32 -1)
159 ; OPT: }
160 ; OPT: define i1* @hoo1() #0 {
161 ; OPT: ret i1* getelementptr (i1* null, i32 -1)
162 ; OPT: }
259 ; OPT: define i64 @fa() #0 {
260 ; OPT: ret i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2310)
261 ; OPT: }
262 ; OPT: define i64 @fb() #0 {
263 ; OPT: ret i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64)
264 ; OPT: }
265 ; OPT: define i64 @fc() #0 {
266 ; OPT: ret i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2)
267 ; OPT: }
268 ; OPT: define i64 @fd() #0 {
269 ; OPT: ret i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 11)
270 ; OPT: }
271 ; OPT: define i64 @fe() #0 {
272 ; OPT: ret i64 ptrtoint (double* getelementptr ({ double, float, double, double }* null, i64 0, i…
273 ; OPT: }
274 ; OPT: define i64 @ff() #0 {
275 ; OPT: ret i64 1
276 ; OPT: }
277 ; OPT: define i64 @fg() #0 {
278 ; OPT: ret i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64)
279 ; OPT: }
280 ; OPT: define i64 @fh() #0 {
281 ; OPT: ret i64 ptrtoint (i1** getelementptr (i1** null, i32 1) to i64)
282 ; OPT: }
283 ; OPT: define i64 @fi() #0 {
284 ; OPT: ret i64 ptrtoint (i1** getelementptr ({ i1, i1* }* null, i64 0, i32 1) to i64)
285 ; OPT: }
390 ; OPT: define i64* @fM() #0 {
391 ; OPT: ret i64* getelementptr (i64* null, i32 1)
392 ; OPT: }
393 ; OPT: define i64* @fN() #0 {
394 ; OPT: ret i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1)
395 ; OPT: }
396 ; OPT: define i64* @fO() #0 {
397 ; OPT: ret i64* getelementptr ([2 x i64]* null, i32 0, i32 1)
398 ; OPT: }
435 ; OPT: define i32* @fZ() #0 {
436 ; OPT: ret i32* getelementptr (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 …
437 ; OPT: }
456 ; OPT: different_addrspace
460 ; OPT: ret i8* getelementptr (i8* addrspacecast (i8 addrspace(12)* getelementptr inbounds ([4 x i8]…
464 ; OPT: same_addrspace
467 ; OPT: ret i8* getelementptr inbounds ([4 x i8]* @p0, i32 0, i32 2)