Lines Matching refs:fp
10 void testFloat(_Atomic(float) *fp) {
11 // CHECK: [[FP:%.*]] = alloca float*
14 // CHECK-NEXT: store float* {{%.*}}, float** [[FP]]
16 // CHECK-NEXT: [[T0:%.*]] = load float** [[FP]]
18 __c11_atomic_init(fp, 1.0f);
23 // CHECK-NEXT: [[T0:%.*]] = load float** [[FP]]
28 float f = *fp;
31 // CHECK-NEXT: [[T1:%.*]] = load float** [[FP]], align 4
35 *fp = f;
41 void testComplexFloat(_Atomic(_Complex float) *fp) {
42 // CHECK: [[FP:%.*]] = alloca [[CF]]*, align 4
49 // CHECK-NEXT: [[P:%.*]] = load [[CF]]** [[FP]]
54 __c11_atomic_init(fp, 1.0f);
62 // CHECK-NEXT: [[T0:%.*]] = load [[CF]]** [[FP]]
75 _Complex float f = *fp;
81 // CHECK-NEXT: [[DEST:%.*]] = load [[CF]]** [[FP]], align 4
90 *fp = f;
97 void testStruct(_Atomic(S) *fp) {
98 // CHECK: [[FP:%.*]] = alloca [[S]]*, align 4
104 // CHECK-NEXT: [[P:%.*]] = load [[S]]** [[FP]]
113 __c11_atomic_init(fp, (S){1,2,3,4});
125 // CHECK-NEXT: [[T0:%.*]] = load [[S]]** [[FP]]
130 S f = *fp;
132 // CHECK-NEXT: [[T0:%.*]] = load [[S]]** [[FP]]
140 *fp = f;
147 void testPromotedStruct(_Atomic(PS) *fp) {
148 // CHECK: [[FP:%.*]] = alloca [[APS]]*, align 4
155 // CHECK-NEXT: [[P:%.*]] = load [[APS]]** [[FP]]
165 __c11_atomic_init(fp, (PS){1,2,3});
178 // CHECK-NEXT: [[T0:%.*]] = load [[APS]]** [[FP]]
187 PS f = *fp;
189 // CHECK-NEXT: [[T0:%.*]] = load [[APS]]** [[FP]]
200 *fp = f;