Lines Matching refs:fp
139 void testFloat(_Atomic(float) *fp) {
140 // CHECK: [[FP:%.*]] = alloca float*
145 // CHECK-NEXT: store float* {{%.*}}, float** [[FP]]
147 // CHECK-NEXT: [[T0:%.*]] = load float** [[FP]]
149 __c11_atomic_init(fp, 1.0f);
154 // CHECK-NEXT: [[T0:%.*]] = load float** [[FP]]
160 float f = *fp;
163 // CHECK-NEXT: [[T1:%.*]] = load float** [[FP]], align 4
168 *fp = f;
174 void testComplexFloat(_Atomic(_Complex float) *fp) {
175 // CHECK: [[FP:%.*]] = alloca [[CF]]*, align 4
182 // CHECK-NEXT: [[P:%.*]] = load [[CF]]** [[FP]]
187 __c11_atomic_init(fp, 1.0f);
195 // CHECK-NEXT: [[T0:%.*]] = load [[CF]]** [[FP]]
207 _Complex float f = *fp;
213 // CHECK-NEXT: [[DEST:%.*]] = load [[CF]]** [[FP]], align 4
221 *fp = f;
228 void testStruct(_Atomic(S) *fp) {
229 // CHECK: [[FP:%.*]] = alloca [[S]]*, align 4
235 // CHECK-NEXT: [[P:%.*]] = load [[S]]** [[FP]]
244 __c11_atomic_init(fp, (S){1,2,3,4});
256 // CHECK-NEXT: [[T0:%.*]] = load [[S]]** [[FP]]
260 S f = *fp;
262 // CHECK-NEXT: [[T0:%.*]] = load [[S]]** [[FP]]
269 *fp = f;
276 void testPromotedStruct(_Atomic(PS) *fp) {
277 // CHECK: [[FP:%.*]] = alloca [[APS]]*, align 4
287 // CHECK-NEXT: [[P:%.*]] = load [[APS]]** [[FP]]
297 __c11_atomic_init(fp, (PS){1,2,3});
310 // CHECK-NEXT: [[T0:%.*]] = load [[APS]]** [[FP]]
318 PS f = *fp;
320 // CHECK-NEXT: [[T0:%.*]] = load [[APS]]** [[FP]]
330 *fp = f;
332 // CHECK-NEXT: [[T0:%.*]] = load [[APS]]** [[FP]], align 4
344 int a = ((PS)*fp).x;