| /llvm-project-15.0.7/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/ |
| H A D | p2.cpp | 14 X1(); 15 X1<T>(int); 17 X1 f2(); 18 X1 f2(int); 22 X1 f2(long); 34 template<typename T> X1<T>::X1<T> X1<T>::f2() { } // expected-error{{missing 'typename'}} in f2() 36 template<typename T> struct X1<T>::X1<T> (X1<T>::f2)(float) { } in X1() function in X1 37 template<typename T> struct X1<T>::X1 (X1<T>::f2)(double) { } in X1() function in X1 58 X1<int>::X1<float>::X0 ok4; in other_contexts() 69 struct X1<int>::X1 tag2; in other_contexts() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.ctor/ |
| H A D | p1.cpp | 22 struct X1 { struct 25 X1<T>(); argument 26 X1<T>(int); 29 (X1)(double); 32 X1 (f1)(int); 36 X1 f2(); 37 X1 f2(int); 40 template<typename T> X1<T>::X1() { } in X1() function in X1 41 template<typename T> (X1<T>::X1)(double) { } 42 template<typename T> X1<T> X1<T>::f1(int) { return 0; } in f1() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-member-template.cpp | 25 struct X1 { struct 63 struct X1<T>::Inner4 { argument 77 V X1<T>::Inner4<U>::f2(T t, U u, V) { in f2() 82 X1<void>::Inner0<int> *xvip; // okay in test_X1() 91 X1<int*>::Inner3<int> id3; in test_X1() 97 X1<int*>::Inner3<double*> id3b; in test_X1() 100 X1<int*>::Inner4<int> id4; in test_X1() 103 X1<int*>::Inner4<int>::value = 17; in test_X1() 124 struct X1 { struct 149 struct X1 { struct [all …]
|
| H A D | member-template-access-expr.cpp | 53 struct X1 { struct 61 void test_X1(X1 x1) { in test_X1() 67 float* (X1::*mf1)(int) = &X1::f1; in test_X1() 68 float* (X1::*mf2)(int) = &X1::f1<>; in test_X1() 69 float* (X1::*mf3)(float) = &X1::f1<float>; in test_X1() 71 float* (*fp3)(int) = &X1::f2; in test_X1() 72 float* (*fp4)(int) = &X1::f2<>; in test_X1() 74 float* (*fp6)(int) = X1::f2; in test_X1() 75 float* (*fp7)(int) = X1::f2<>; in test_X1() 76 float* (*fp8)(float) = X1::f2<float>; in test_X1() [all …]
|
| H A D | temp_class_order.cpp | 4 struct X1 { struct 9 struct X1<T*, U*> { argument 14 struct X1<T*, T*> { argument 19 struct X1<const T*, const T*> { struct 23 int array0[X1<int, int>::value == 0? 1 : -1]; argument 24 int array1[X1<int*, float*>::value == 1? 1 : -1]; 25 int array2[X1<int*, int*>::value == 2? 1 : -1]; 27 int array3[X1<const int*, CIP>::value == 3? 1 : -1];
|
| H A D | instantiate-non-type-template-parameter.cpp | 49 struct X1 : X0<T> { struct 50 X1() {} in X1() function 51 template<typename U> X1(const X1<U> &x) : X0<T>(x) { } in X1() function 54 X1<int> x1i; 55 X1<float> x1f(x1i);
|
| H A D | extern-templates.cpp | 51 class X1 { class 59 void X1<T>::g(T t) { in g() 63 extern template class X1<void*>; 65 void g_X1(X1<void*> x1, void *ptr) { in g_X1() 69 extern template void X1<const void*>::g(const void*); 71 void g_X1_2(X1<const void *> x1, const void *ptr) { in g_X1_2()
|
| H A D | instantiate-static-var.cpp | 51 struct X1 { struct 52 ~X1(); // The errors won't be triggered without this dtor. 79 Z1<Y1<X1>::value> x; in Test() 80 int y[Y1<X1>::value]; in Test() 115 struct X1 : public X0<T> { struct 120 const bool X1<T>::var; 123 template class X1<char>; variable
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
| H A D | p1.cpp | 17 template <int* N> struct X1 { X1(); }; struct 18 template <int* N> X1<N>::X1() { } in X1() function in non_type_tmpl_param::X1 40 template <int (*fp)(int)> struct X1 { }; struct 98 X1<f> x1a; in test() 99 X1<&f> x1a_addr; in test() 100 X1<f_tmpl> x1b; in test() 101 X1<&f_tmpl> x1b_addr; in test() 102 X1<f_tmpl<int> > x1c; in test() 103 X1<&f_tmpl<int> > x1c_addr; in test() 104 X1<f_internal> x1d; in test() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_trampoline_AArch64.S | 22 STP X1, X2, [SP, #-16]! 35 ADRP X1, _ZN6__xray19XRayPatchedFunctionE 43 MOV X1, #0 56 LDP X1, X2, [SP], #16 75 STP X1, X2, [SP, #-16]! 88 ADRP X1, _ZN6__xray19XRayPatchedFunctionE 96 MOV X1, #1 108 LDP X1, X2, [SP], #16 127 STP X1, X2, [SP, #-16]! 147 MOV X1, #1 [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| H A D | partial-ordering.cpp | 8 struct X1 { struct 13 struct X1<tuple<Head, Tail...> > { struct 18 struct X1<tuple<Head, Tail&...> > { argument 23 struct X1<tuple<Head&, Tail&...> > { argument 27 int check0[X1<tuple<>>::value == 0? 1 : -1]; argument 28 int check1[X1<tuple<int>>::value == 2? 1 : -1]; 29 int check2[X1<tuple<int, int>>::value == 1? 1 : -1]; 30 int check3[X1<tuple<int, int&>>::value == 2? 1 : -1]; 31 int check4[X1<tuple<int&, int&>>::value == 3? 1 : -1];
|
| H A D | fixed-expansion.cpp | 24 class X1 { class 29 static_assert(is_same<X1<int, int>::type, 33 static_assert(is_same<X1<int, int, float>::type, 37 static_assert(is_same<X1<int, int, float, double>::type, 50 class X1 { class 55 static_assert(is_same<X1<int>::type, 59 static_assert(is_same<X1<int, float>::type, 63 static_assert(is_same<X1<int, float, double>::type,
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | byval-tail-call.ll | 25 ; CHECK-NEXT: [[X1:%.*]] = alloca i32, align 4 26 ; CHECK-NEXT: [[TMP1:%.*]] = bitcast i32* [[X1]] to i8* 29 ; CHECK-NEXT: store i32 [[TMP2]], i32* [[X1]], align 4 30 ; CHECK-NEXT: call void @ext(i32* nonnull [[X1]]) 31 ; CHECK-NEXT: [[TMP3:%.*]] = bitcast i32* [[X1]] to i8* 47 ; CHECK-NEXT: [[X1:%.*]] = alloca i32, align 4 48 ; CHECK-NEXT: [[TMP1:%.*]] = bitcast i32* [[X1]] to i8* 51 ; CHECK-NEXT: store i32 [[TMP2]], i32* [[X1]], align 4 52 ; CHECK-NEXT: call void @ext(i32* nonnull [[X1]]) 78 ; CHECK-NEXT: [[X1:%.*]] = alloca i32, align 4 [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/ |
| H A D | p1.cpp | 29 struct X1 { struct 42 template struct X1<int>::Inner<float>; argument 43 template struct X1<int>::Inner<double>; 44 template struct X1<int>::Inner<void>; // expected-note{{instantiation}} 46 template void X1<int>::f(int&, float); 47 template void X1<int>::f<long>(int&, long); 48 template void X1<int>::f<>(int&, double); 49 template void X1<int>::f<>(int&, int*); // expected-note{{instantiation}}
|
| H A D | p3.cpp | 13 template<typename> struct X1; // expected-note 5{{declared here}} 16 template void X1<int>::f0<int>(int); // expected-error {{implicit instantiation of undefined templa… 21 template struct X1<float>; // expected-error{{explicit instantiation of undefined template}} variable 36 template void X1<int>::f1(int); // expected-error {{undefined template}} 37 template void X1<int>::f1<int>(int); // expected-error {{undefined template}} 39 template int X1<int>::member; // expected-error {{undefined template}}
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.res/temp.local/ |
| H A D | p1.cpp | 61 template <int N1, const int& N2, const int* N3> struct X1 { struct 62 X1(); 63 ~X1(); 64 X1 f(const X1& x1a) { X1 x1b(x1a); return x1b; } in f() argument 75 X1<42, i, &i> x1; (void)x1; in test()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
| H A D | p16.cpp | 4 template<class X1> void g1(T, X1); 13 template<class T> template<class X1> void A<T>::g1(T, X1) { } in g1() argument 16 template<> template<class X1> void A<int>::g1(int, X1);
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | visibility-inlines-hidden.cpp | 18 struct X1 { struct 28 inline void X1<T>::f3() { } in f3() argument 31 inline void X1<int>::f4() { } in f4() 37 extern template struct X1<float>; 39 void use(X0 *x0, X1<int> *x1, X2 *x2, X1<float> *x3) { in use() 59 X1<int>::f5(); in use() 61 x1->X1::f6(); in use()
|
| H A D | static-init-3.cpp | 7 struct X1 struct 21 template<class T> T & X1<T>::instance = X1<T>::get(); argument 27 X2< B > bg = X1< X2< B > >::get(); 28 X2< A > ag = X1< X2< A > >::get();
|
| /llvm-project-15.0.7/clang/test/CXX/except/except.spec/ |
| H A D | p14-ir.cpp | 10 struct X1 { struct 11 X1(); 12 X1(const X1 &) throw(); 15 struct X2 : X1 { 18 struct X3 : X0, X1 {
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
| H A D | p5-cxx0x-no-extra-copy.cpp | 8 struct X1 { struct 9 X1(); 10 explicit X1(const X1&); 45 void g1(const X1&); 52 g1(X1()); in test()
|
| H A D | p5-cxx03-extra-copy.cpp | 9 struct X1 { struct 10 X1(); 11 explicit X1(const X1&); 49 void g1(const X1&); 56 g1(X1()); in test()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
| H A D | p8-0x.cpp | 3 template<int ...Values> struct X1; 6 struct X1<0, Values+1 ...>; // expected-error{{contains a template parameter that cannot be deduced… 9 template<int ...Values> struct X2<X1<Values...>, Values+1 ...> {}; // ok (DR1315) 10 X2<X1<1, 2, 3>, 2, 3, 4> x2; // ok 11 X2<X1<1, 2, 3>, 2, 3, 4, 5> x3; // expected-error {{undefined template}}
|
| /llvm-project-15.0.7/llvm/test/Transforms/Reassociate/ |
| H A D | fast-basictest.ll | 308 %C = fmul fast float %X1, %X3 ; X1*X3 309 %D = fadd fast float %B, %C ; -X1*X2 + X1*X3 -> X1*(X3-X2) 322 %C = fmul fast float %X1, %X3 ; X1*X3 323 %D = fadd fast float %B, %C ; -X1*X2 + X1*X3 -> X1*(X3-X2) 336 %C = fmul reassoc nsz float %X1, %X3 ; X1*X3 337 %D = fadd reassoc nsz float %B, %C ; -X1*X2 + X1*X3 -> X1*(X3-X2) 353 %C = fmul reassoc float %X1, %X3 ; X1*X3 354 %D = fadd reassoc float %B, %C ; -X1*X2 + X1*X3 -> X1*(X3-X2) 369 %B = fmul fast float %X1, 47. ; X1*47 382 %B = fmul reassoc nsz float %X1, 47. ; X1*47 [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | static-cast.cpp | 158 struct X1 { struct 159 X1(); 160 X1(X1&); 161 X1(const X0&); 169 (void)static_cast<X1>(X1()); in test_ctor_init()
|