Lines Matching defs:ap
26 va_list ap;
27 va_start(ap,n);
28 // CHECK: [[AP:%[a-z0-9]+]] = alloca i8*, align 4
29 // CHECK: [[AP1:%[a-z0-9]+]] = bitcast i8** [[AP]] to i8*
32 char* v1 = va_arg (ap, char*);
34 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
37 // CHECK: store i8* [[IN]], i8** [[AP]]
43 char v2 = va_arg (ap, char); // expected-warning{{second argument to 'va_arg' is of promotable type 'char'}}
45 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
47 // CHECK: store i8* [[IN]], i8** [[AP]]
52 int v3 = va_arg (ap, int);
54 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
57 // CHECK: store i8* [[IN]], i8** [[AP]]
63 long long int v4 = va_arg (ap, long long int);
65 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
68 // CHECK: store i8* [[IN]], i8** [[AP]]
74 struct x v5 = va_arg (ap, struct x); // typical aggregate type
76 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
80 // CHECK: store i8* [[IN]], i8** [[AP]]
87 int* v6 = va_arg (ap, int[4]); // an unusual aggregate type
89 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
93 // CHECK: store i8* [[IN]], i8** [[AP]]
103 double v7 = va_arg (ap, double);
105 // CHECK: [[I:%[a-z0-9]+]] = load i8*, i8** [[AP]]
108 // CHECK: store i8* [[IN]], i8** [[AP]]