• Home
  • Raw
  • Download

Lines Matching refs:to

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)
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)
35 ; TO: @F8 = global i8* inttoptr (i64 -1 to i8*)
36 ; TO: @F1 = global i1* inttoptr (i64 -1 to i1*)
37 ; TO: @H8 = global i8* inttoptr (i64 -1 to i8*)
38 ; TO: @H1 = global i1* inttoptr (i64 -1 to i1*)
40 @G8 = global i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1)
41 @G1 = global i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1)
42 @F8 = global i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2)
43 @F1 = global i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2)
44 @H8 = global i8* getelementptr (i8* inttoptr (i32 0 to i8*), i32 -1)
45 @H1 = global i1* getelementptr (i1* inttoptr (i32 0 to i1*), i32 -1)
47 ; The target-independent folder should be able to do some clever
49 ; target-dependent folder should fold these down to constants.
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 …i64 ptrtoint (double* getelementptr ({ double, float, double, double }* null, i64 0, i32 2) to i64)
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)
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 …i64 ptrtoint (double* getelementptr ({ double, float, double, double }* null, i64 0, i32 2) to i64)
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)
79 …double], [7 x double]}* getelementptr ({[7 x double], [7 x double]}* null, i64 11) to i64), i64 5))
80 …nstant i64 ptrtoint ([13 x double]* getelementptr ({i1, [13 x double]}* null, i64 0, i32 1) to i64)
81 … i64 ptrtoint (double* getelementptr ({double, double, double, double}* null, i64 0, i32 2) to i64)
82 @d = constant i64 ptrtoint (double* getelementptr ([13 x double]* null, i64 0, i32 11) to i64)
83 …t i64 ptrtoint (double* getelementptr ({double, float, double, double}* null, i64 0, i32 2) to i64)
84 …nt i64 ptrtoint (<{ i16, i128 }>* getelementptr ({i1, <{ i16, i128 }>}* null, i64 0, i32 1) to i64)
85 … i64 ptrtoint ({double, double}* getelementptr ({i1, {double, double}}* null, i64 0, i32 1) to i64)
86 @h = constant i64 ptrtoint (double** getelementptr (double** null, i64 1) to i64)
87 @i = constant i64 ptrtoint (double** getelementptr ({i1, double*}* null, i64 0, i32 1) to i64)
89 ; The target-dependent folder should cast GEP indices to integer-sized pointers.
97 ; TO: @M = constant i64* inttoptr (i64 8 to i64*)
98 ; TO: @N = constant i64* inttoptr (i64 8 to i64*)
99 ; TO: @O = constant i64* inttoptr (i64 8 to i64*)
119 ; PLAIN: %t = bitcast i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1) to i8*
123 ; PLAIN: %t = bitcast i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1) to i1*
127 ; PLAIN: %t = bitcast i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2) to i8*
131 ; PLAIN: %t = bitcast i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2) to i1*
135 ; PLAIN: %t = bitcast i8* getelementptr (i8* null, i32 -1) to i8*
139 ; PLAIN: %t = bitcast i1* getelementptr (i1* null, i32 -1) to i1*
143 ; OPT: ret i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1)
146 ; OPT: ret i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1)
149 ; OPT: ret i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2)
152 ; OPT: ret i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2)
167 ; TO: ret i8* inttoptr (i64 -1 to i8*)
170 ; TO: ret i1* inttoptr (i64 -1 to i1*)
173 ; TO: ret i8* inttoptr (i64 -1 to i8*)
176 ; TO: ret i1* inttoptr (i64 -1 to i1*)
179 ; SCEV: %t = bitcast i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1) to i8*
180 ; SCEV: --> ((-1 * sizeof(i8)) + inttoptr (i32 1 to i8*))
182 ; SCEV: %t = bitcast i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1) to i1*
183 ; SCEV: --> ((-1 * sizeof(i1)) + inttoptr (i32 1 to i1*))
185 ; SCEV: %t = bitcast i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2) to i8*
186 ; SCEV: --> ((-2 * sizeof(i8)) + inttoptr (i32 1 to i8*))
188 ; SCEV: %t = bitcast i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2) to i1*
189 ; SCEV: --> ((-2 * sizeof(i1)) + inttoptr (i32 1 to i1*))
196 %t = bitcast i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -1) to i8*
200 %t = bitcast i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -1) to i1*
204 %t = bitcast i8* getelementptr (i8* inttoptr (i32 1 to i8*), i32 -2) to i8*
208 %t = bitcast i1* getelementptr (i1* inttoptr (i32 1 to i1*), i32 -2) to i1*
212 %t = bitcast i8* getelementptr (i8* inttoptr (i32 0 to i8*), i32 -1) to i8*
216 %t = bitcast i1* getelementptr (i1* inttoptr (i32 0 to i1*), i32 -1) to i1*
221 …itcast i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2310) to i64
225 …t = bitcast i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64) to i64
229 …tcast i64 mul nuw (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2) to i64
233 …cast i64 mul nuw (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 11) to i64
237 …toint (double* getelementptr ({ double, float, double, double }* null, i64 0, i32 2) to i64) to i64
241 ; PLAIN: %t = bitcast i64 1 to i64
245 …t = bitcast i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64) to i64
249 ; PLAIN: %t = bitcast i64 ptrtoint (i1** getelementptr (i1** null, i32 1) to i64) to i64
253 …N: %t = bitcast i64 ptrtoint (i1** getelementptr ({ i1, i1* }* null, i64 0, i32 1) to i64) to i64
257 ; OPT: ret i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2310)
260 ; OPT: ret i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64)
263 ; OPT: ret i64 mul nuw (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2)
266 ; OPT: ret i64 mul nuw (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 11)
269 …i64 ptrtoint (double* getelementptr ({ double, float, double, double }* null, i64 0, i32 2) to i64)
275 ; OPT: ret i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64)
278 ; OPT: ret i64 ptrtoint (i1** getelementptr (i1** null, i32 1) to i64)
281 ; OPT: ret i64 ptrtoint (i1** getelementptr ({ i1, i1* }* null, i64 0, i32 1) to i64)
311 …tcast i64 mul (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2310) to i64
314 … = bitcast i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64) to i64
317 …cast i64 mul nuw (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 2) to i64
320 …ast i64 mul nuw (i64 ptrtoint (double* getelementptr (double* null, i32 1) to i64), i64 11) to i64
323 …oint (double* getelementptr ({ double, float, double, double }* null, i64 0, i32 2) to i64) to i64
326 ; SCEV: %t = bitcast i64 1 to i64
329 …t = bitcast i64 ptrtoint (double* getelementptr ({ i1, double }* null, i64 0, i32 1) to i64) to i64
332 ; SCEV: %t = bitcast i64 ptrtoint (i1** getelementptr (i1** null, i32 1) to i64) to i64
335 …V: %t = bitcast i64 ptrtoint (i1** getelementptr ({ i1, i1* }* null, i64 0, i32 1) to i64) to i64
339 …, [7 x double]}* getelementptr ({[7 x double], [7 x double]}* null, i64 11) to i64), i64 5)) to i64
343 …i64 ptrtoint ([13 x double]* getelementptr ({i1, [13 x double]}* null, i64 0, i32 1) to i64) to i64
347 …rtoint (double* getelementptr ({double, double, double, double}* null, i64 0, i32 2) to i64) to i64
351 …%t = bitcast i64 ptrtoint (double* getelementptr ([13 x double]* null, i64 0, i32 11) to i64) to i…
355 …trtoint (double* getelementptr ({double, float, double, double}* null, i64 0, i32 2) to i64) to i64
359 …ptrtoint (<{ i16, i128 }>* getelementptr ({i1, <{ i16, i128 }>}* null, i64 0, i32 1) to i64) to i64
363 …rtoint ({double, double}* getelementptr ({i1, {double, double}}* null, i64 0, i32 1) to i64) to i64
367 %t = bitcast i64 ptrtoint (double** getelementptr (double** null, i32 1) to i64) to i64
371 …%t = bitcast i64 ptrtoint (double** getelementptr ({i1, double*}* null, i64 0, i32 1) to i64) to i…
376 ; PLAIN: %t = bitcast i64* getelementptr (i64* null, i32 1) to i64*
380 ; PLAIN: %t = bitcast i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1) to i64*
384 ; PLAIN: %t = bitcast i64* getelementptr ([2 x i64]* null, i32 0, i32 1) to i64*
397 ; TO: ret i64* inttoptr (i64 8 to i64*)
400 ; TO: ret i64* inttoptr (i64 8 to i64*)
403 ; TO: ret i64* inttoptr (i64 8 to i64*)
406 ; SCEV: %t = bitcast i64* getelementptr (i64* null, i32 1) to i64*
409 ; SCEV: %t = bitcast i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1) to i64*
412 ; SCEV: %t = bitcast i64* getelementptr ([2 x i64]* null, i32 0, i32 1) to i64*
416 %t = bitcast i64* getelementptr (i64* null, i32 1) to i64*
420 %t = bitcast i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1) to i64*
424 %t = bitcast i64* getelementptr ([2 x i64]* null, i32 0, i32 1) to i64*
429 …bounds (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 1, i32 0), i64 1) to i32*
439 …bounds (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 1, i32 0), i64 1) to i32*
443 …bounds (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 1, i32 0), i64 1) to i32*