Lines Matching refs:PLAIN
1 ; "PLAIN" - No optimizations. This tests the target-independent
3 ; RUN: opt -S -o - %s | FileCheck --check-prefix=PLAIN %s
10 ; PLAIN: @G8 = global i8 addrspace(1)* getelementptr (i8, i8 addrspace(1)* inttoptr (i32 1 to i8 ad…
12 ; PLAIN: @G1 = global i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* inttoptr (i8 1 to i1 add…
14 ; PLAIN: @F8 = global i8 addrspace(1)* getelementptr (i8, i8 addrspace(1)* inttoptr (i32 1 to i8 ad…
16 ; PLAIN: @F1 = global i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* inttoptr (i8 1 to i1 add…
18 ; PLAIN: @H8 = global i8 addrspace(1)* getelementptr (i8, i8 addrspace(1)* null, i32 -1)
20 ; PLAIN: @H1 = global i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* null, i8 -1)
27 ; PLAIN-X: @a = constant i64 mul (i64 ptrtoint (double addrspace(4)* getelementptr (double, double …
30 ; PLAIN-X: @b = constant i64 ptrtoint (double addrspace(4)* getelementptr ({ i1, double }, { i1, do…
33 ; PLAIN-X: @c = constant i64 mul nuw (i64 ptrtoint (double addrspace(4)* getelementptr (double, dou…
36 ; PLAIN-X: @d = constant i64 mul nuw (i64 ptrtoint (double addrspace(4)* getelementptr (double, dou…
39 ; PLAIN-X: @e = constant i64 ptrtoint (double addrspace(4)* getelementptr ({ double, float, double,…
42 ; PLAIN-X: @f = constant i64 1
45 ; PLAIN-X: @g = constant i64 ptrtoint (double addrspace(4)* getelementptr ({ i1, double }, { i1, do…
48 ; PLAIN-X: @h = constant i64 ptrtoint (i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* null, i…
51 ; PLAIN-X: @i = constant i64 ptrtoint (i1 addrspace(2)* getelementptr ({ i1, i1 addrspace(2)* }, { …
56 ; PLAIN: @M = constant i64 addrspace(4)* getelementptr (i64, i64 addrspace(4)* null, i32 1)
57 ; PLAIN: @N = constant i64 addrspace(4)* getelementptr ({ i64, i64 }, { i64, i64 } addrspace(4)* nu…
58 ; PLAIN: @O = constant i64 addrspace(4)* getelementptr ([2 x i64], [2 x i64] addrspace(4)* null, i3…
66 ; PLAIN-X: @Y = global [3 x { i32, i32 }]addrspace(3)* getelementptr inbounds ([3 x { i32, i32 }], …
70 ; PLAIN-X: @Z = global i32addrspace(3)* getelementptr inbounds (i32, i32addrspace(3)* getelementptr…
77 ; PLAIN: define i8 addrspace(1)* @goo8() #0 {
78 ; PLAIN: %t = bitcast i8 addrspace(1)* getelementptr (i8, i8 addrspace(1)* inttoptr (i32 1 to i8 …
79 ; PLAIN: ret i8 addrspace(1)* %t
80 ; PLAIN: }
81 ; PLAIN: define i1 addrspace(2)* @goo1() #0 {
82 ; PLAIN: %t = bitcast i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* inttoptr (i32 1 to i1 …
83 ; PLAIN: ret i1 addrspace(2)* %t
84 ; PLAIN: }
85 ; PLAIN: define i8 addrspace(1)* @foo8() #0 {
86 ; PLAIN: %t = bitcast i8 addrspace(1)* getelementptr (i8, i8 addrspace(1)* inttoptr (i32 1 to i8 …
87 ; PLAIN: ret i8 addrspace(1)* %t
88 ; PLAIN: }
89 ; PLAIN: define i1 addrspace(2)* @foo1() #0 {
90 ; PLAIN: %t = bitcast i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* inttoptr (i32 1 to i1 …
91 ; PLAIN: ret i1 addrspace(2)* %t
92 ; PLAIN: }
93 ; PLAIN: define i8 addrspace(1)* @hoo8() #0 {
94 ; PLAIN: %t = bitcast i8 addrspace(1)* getelementptr (i8, i8 addrspace(1)* null, i32 -1) to i8 ad…
95 ; PLAIN: ret i8 addrspace(1)* %t
96 ; PLAIN: }
97 ; PLAIN: define i1 addrspace(2)* @hoo1() #0 {
98 ; PLAIN: %t = bitcast i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* null, i32 -1) to i1 ad…
99 ; PLAIN: ret i1 addrspace(2)* %t
100 ; PLAIN: }
126 ; PLAIN-X: define i64 @fa() #0 {
127 ; PLAIN-X: %t = bitcast i64 mul (i64 ptrtoint (double addrspace(4)* getelementptr (double, double…
128 ; PLAIN-X: ret i64 %t
129 ; PLAIN-X: }
130 ; PLAIN-X: define i64 @fb() #0 {
131 ; PLAIN-X: %t = bitcast i64 ptrtoint (double addrspace(4)* getelementptr ({ i1, double }, { i1, d…
132 ; PLAIN-X: ret i64 %t
133 ; PLAIN-X: }
134 ; PLAIN-X: define i64 @fc() #0 {
135 ; PLAIN-X: %t = bitcast i64 mul nuw (i64 ptrtoint (double addrspace(4)* getelementptr (double, do…
136 ; PLAIN-X: ret i64 %t
137 ; PLAIN-X: }
138 ; PLAIN-X: define i64 @fd() #0 {
139 ; PLAIN-X: %t = bitcast i64 mul nuw (i64 ptrtoint (double addrspace(4)* getelementptr (double, do…
140 ; PLAIN-X: ret i64 %t
141 ; PLAIN-X: }
142 ; PLAIN-X: define i64 @fe() #0 {
143 ; PLAIN-X: %t = bitcast i64 ptrtoint (double addrspace(4)* getelementptr ({ double, float, double…
144 ; PLAIN-X: ret i64 %t
145 ; PLAIN-X: }
146 ; PLAIN-X: define i64 @ff() #0 {
147 ; PLAIN-X: %t = bitcast i64 1 to i64
148 ; PLAIN-X: ret i64 %t
149 ; PLAIN-X: }
150 ; PLAIN-X: define i64 @fg() #0 {
151 ; PLAIN-X: %t = bitcast i64 ptrtoint (double addrspace(4)* getelementptr ({ i1, double }, { i1, d…
152 ; PLAIN-X: ret i64 %t
153 ; PLAIN-X: }
154 ; PLAIN-X: define i64 @fh() #0 {
155 ; PLAIN-X: %t = bitcast i64 ptrtoint (i1 addrspace(2)* getelementptr (i1, i1 addrspace(2)* null, …
156 ; PLAIN-X: ret i64 %t
157 ; PLAIN-X: }
158 ; PLAIN-X: define i64 @fi() #0 {
159 ; PLAIN-X: %t = bitcast i64 ptrtoint (i1 addrspace(2)* getelementptr ({ i1, i1 addrspace(2)* }, {…
160 ; PLAIN-X: ret i64 %t
161 ; PLAIN-X: }
199 ; PLAIN: define i64* @fM() #0 {
200 ; PLAIN: %t = bitcast i64* getelementptr (i64, i64* null, i32 1) to i64*
201 ; PLAIN: ret i64* %t
202 ; PLAIN: }
203 ; PLAIN: define i64* @fN() #0 {
204 ; PLAIN: %t = bitcast i64* getelementptr ({ i64, i64 }, { i64, i64 }* null, i32 0, i32 1) to i64*
205 ; PLAIN: ret i64* %t
206 ; PLAIN: }
207 ; PLAIN: define i64* @fO() #0 {
208 ; PLAIN: %t = bitcast i64* getelementptr ([2 x i64], [2 x i64]* null, i32 0, i32 1) to i64*
209 ; PLAIN: ret i64* %t
210 ; PLAIN: }
225 ; PLAIN: define i32 addrspace(1)* @fZ() #0 {
226 ; PLAIN: %t = bitcast i32 addrspace(1)* getelementptr inbounds (i32, i32 addrspace(1)* getelement…
227 ; PLAIN: ret i32 addrspace(1)* %t
228 ; PLAIN: }