| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | resolve54.f90 | 22 function F2B(X, Y) 24 real :: X, Y local 33 real :: W, Y local 38 integer :: X, Y local 49 real :: W, Y local 61 real :: W, Y local 65 real :: X, Y local 74 real :: X, Y local 78 real :: W, Y local 91 real :: Y, X local [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | nested-template.cpp | 35 template<typename Y> 38 void f(X, Y); 42 template<typename Y> 43 void Outer<X>::Inner0<Y>::f(X, Y) { in f() argument 47 template<typename Y> 49 static Y value3; 51 void g(X, Y); 56 void Outer<X>::Inner1<Y>::ReallyInner::g(X, Y) { in g() argument 61 X Outer<X>::Inner1<Y>::foo(Y) { in foo() argument 85 Y Outer<X>::Inner1<Y>::value2 = Y(); [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/class.access/class.friend/ |
| H A D | p9-cxx0x.cpp | 15 class Y { class 26 template <class T> class Y { class 33 template <class T> class Y; 37 friend class Y<int>; 40 template <class T> class Y { class 44 template class Y<int>; variable 49 template <class T> class Y; 53 friend class Y<int>; 93 friend class Y<float>; 109 friend class Y<int>; [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/Inputs/ |
| H A D | llvm.h | 6 template <class X, class Y> 7 const X *cast(Y Value); 9 template <class X, class Y> 10 const X *dyn_cast(Y *Value); 11 template <class X, class Y> 12 const X &dyn_cast(Y &Value); 14 template <class X, class Y> 15 const X *cast_or_null(Y Value); 17 template <class X, class Y> 19 template <class X, class Y> [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/except/except.spec/ |
| H A D | p5-delayed.cpp | 3 struct A { struct X { virtual ~X() throw(Y); }; struct Y : X {}; }; struct 4 struct B { struct X { virtual void f() throw(Y); }; struct Y : X { void f() throw(Y); }; }; struct 5 struct C { struct X { virtual void f() throw(Y); }; struct Y : X { void f() throw(); }; }; struct 6 struct D { struct X { virtual void f() throw(Y); }; struct Y : X { void f() noexcept; }; }; struct 7 struct E { struct Y; struct X { virtual Y &operator=(const Y&) throw(Y); }; struct Y : X {}; }; struct 10 virtual void f() throw(Y); // expected-note {{here}} 12 struct Y : X { struct
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | mangle-ms-back-references-pr13207.cpp | 73 void foo5(NA::Y<NB::Y<NA::Y<NB::Y<NA::X> > > > arg) {} in foo5() 76 void foo11(NA::Y<NA::X>, NB::Y<NA::X>) {} in foo11() 79 void foo112(NA::Y<NA::X>, NB::Y<NB::X>) {} in foo112() 82 void foo22(NA::Y<NB::Y<NA::X> >, NB::Y<NA::Y<NA::X> >) {} in foo22() 124 void foo(Y<X> x) {} in foo() 126 void foofoo(Y<Y<X> > x) {} in foofoo() 142 void foobar(NA::Y<Y<X> > a, Y<Y<X> >) {} in foobar() 145 void foobarspam(Y<X> a, NA::Y<Y<X> > b, Y<Y<X> >) {} in foobarspam() 148 void foobarbaz(Y<X> a, NA::Y<Y<X> > b, Y<Y<X> >, Y<Y<X> > c) {} in foobarbaz() 151 void foobarbazqux(Y<X> a, NA::Y<Y<X> > b, Y<Y<X> >, Y<Y<X> > c , NA::Y<Y<Y<X> > > d) {} in foobarbazqux() [all …]
|
| H A D | microsoft-abi-vtables-virtual-inheritance.cpp | 113 Y(); 123 Y::Y() {} in Y() function in Test3::Y 180 Y y; 207 Y(); 221 Y::Y() {} in Y() function in Test7::Y 308 Y y; 461 struct Y : X { struct 502 Y y; 696 Y(); 704 Y::Y() {} in Y() function in pr19066::Y [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx0x-defaulted-functions.cpp | 69 struct Y; 136 struct Y { struct 138 Y(const Y&) = default; 139 Y(Y&&) = default; 140 Y &operator=(const Y&) = default; 141 Y &operator=(Y&&) = default; 145 Y::Y(const Y&) noexcept = default; // expected-error {{definition of explicitly defaulted}} 146 Y::Y(Y&&) noexcept = default; // expected-error {{definition of explicitly defaulted}} 147 …Y &Y::operator=(const Y&) noexcept = default; // expected-error {{definition of explicitly default… 148 Y &Y::operator=(Y&&) noexcept = default; // expected-error {{definition of explicitly defaulted}} [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | 2004-06-17-UnorderedBuiltins.c | 5 void TestF(float X, float Y) { in TestF() argument 6 A = __builtin_isgreater(X, Y); in TestF() 7 B = __builtin_isgreaterequal(X, Y); in TestF() 8 C = __builtin_isless(X, Y); in TestF() 9 D = __builtin_islessequal(X, Y); in TestF() 10 E = __builtin_islessgreater(X, Y); in TestF() 11 F = __builtin_isunordered(X, Y); in TestF() 13 H = __builtin_isunordered(X, Y); in TestF() 15 void TestD(double X, double Y) { in TestD() argument 16 A = __builtin_isgreater(X, Y); in TestD() [all …]
|
| H A D | 2004-06-17-UnorderedCompares.c | 6 void TestF(float X, float Y) { in TestF() argument 7 A = __builtin_isgreater(X, Y); in TestF() 8 B = __builtin_isgreaterequal(X, Y); in TestF() 9 C = __builtin_isless(X, Y); in TestF() 10 D = __builtin_islessequal(X, Y); in TestF() 12 F = __builtin_isunordered(X, Y); in TestF() 14 void TestD(double X, double Y) { in TestD() argument 15 A = __builtin_isgreater(X, Y); in TestD() 17 C = __builtin_isless(X, Y); in TestD() 18 D = __builtin_islessequal(X, Y); in TestD() [all …]
|
| H A D | BasicInstrs.c | 6 unsigned int udiv(unsigned int X, unsigned int Y) { in udiv() argument 7 return X/Y; in udiv() 9 int sdiv(int X, int Y) { in sdiv() argument 10 return X/Y; in sdiv() 13 return X%Y; in urem() 15 int srem(int X, int Y) { in srem() argument 16 return X%Y; in srem() 19 _Bool setlt(int X, int Y) { in setlt() argument 20 return X < Y; in setlt() 23 _Bool setgt(int X, int Y) { in setgt() argument [all …]
|
| H A D | 2002-04-10-StructParameters.c | 9 short Y, Z; member 19 void test2(foo Y) { in test2() argument 20 testE(Y.p, Y.q, Y.r, Y.X, Y.Y, 0.1f); in test2() 21 test(Y, 0.1f); in test2() 22 test2(Y); in test2() 23 test3(&Y); in test2()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/llvm/ |
| H A D | prefer-isa-or-dyn-cast-in-conditionals.cpp | 4 struct Y; 8 X *cast(Y*); 9 bool baz(Y*); 12 template <class X, class Y> 13 bool isa(Y *); 14 template <class X, class Y> 15 X *cast(Y *); 17 X *dyn_cast(Y *); 19 X *dyn_cast_or_null(Y *); 21 bool foo(Y *y, Z *z) { in foo() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | SolverTest.cpp | 81 auto Y = Ctx.atom(); in TEST() local 104 auto Y = Ctx.atom(); in TEST() local 115 auto Y = Ctx.atom(); in TEST() local 164 auto Y = Ctx.atom(); in TEST() local 180 auto Y = Ctx.atom(); in TEST() local 197 auto Y = Ctx.atom(); in TEST() local 212 auto Y = Ctx.atom(); in TEST() local 235 auto Y = Ctx.atom(); in TEST() local 252 auto Y = Ctx.atom(); in TEST() local 265 auto Y = Ctx.atom(); in TEST() local [all …]
|
| H A D | DataflowAnalysisContextTest.cpp | 31 auto &Y = Context.createAtomicBoolValue(); in TEST_F() local 32 EXPECT_NE(&X, &Y); in TEST_F() 45 auto &Y = Context.createAtomicBoolValue(); in TEST_F() local 68 auto &Y = Context.createAtomicBoolValue(); in TEST_F() local 88 auto &Y = Context.createAtomicBoolValue(); in TEST_F() local 89 auto &NotY = Context.getOrCreateNegation(Y); in TEST_F() 103 auto &Y = Context.createAtomicBoolValue(); in TEST_F() local 125 auto &Y = Context.createAtomicBoolValue(); in TEST_F() local 126 auto &XIffY1 = Context.getOrCreateIff(X, Y); in TEST_F() 130 auto &YIffX = Context.getOrCreateIff(Y, X); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/test/Demangle/ |
| H A D | ms-back-references.test | 92 ?foo5@@YAXV?$Y@V?$Y@V?$Y@V?$Y@VX@NA@@@NB@@@NA@@@NB@@@NA@@@Z 93 ; CHECK: void __cdecl foo5(class NA::Y<class NB::Y<class NA::Y<class NB::Y<class NA::X>>>>) 98 ?foo112@@YAXV?$Y@VX@NA@@@NA@@V?$Y@VX@NB@@@NB@@@Z 101 ?foo22@@YAXV?$Y@V?$Y@VX@NA@@@NB@@@NA@@V?$Y@V?$Y@VX@NA@@@NA@@@NB@@@Z 102 ; CHECK: void __cdecl foo22(class NA::Y<class NB::Y<class NA::X>>, class NB::Y<class NA::Y<class NA… 143 ?foobarspam@NB@PR13207@@YAXV?$Y@VX@NB@PR13207@@@12@V?$Y@V?$Y@VX@NB@PR13207@@@NB@PR13207@@@NA@2@V412… 146 ?foobarbaz@NB@PR13207@@YAXV?$Y@VX@NB@PR13207@@@12@V?$Y@V?$Y@VX@NB@PR13207@@@NB@PR13207@@@NA@2@V412@… 147 …Y<class PR13207::NB::X>, class PR13207::NA::Y<class PR13207::NB::Y<class PR13207::NB::X>>, class P… 149 ?foobarbazqux@NB@PR13207@@YAXV?$Y@VX@NB@PR13207@@@12@V?$Y@V?$Y@VX@NB@PR13207@@@NB@PR13207@@@NA@2@V4… 150 …Y<class PR13207::NB::X>, class PR13207::NA::Y<class PR13207::NB::Y<class PR13207::NB::X>>, class P… [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | mem_update.ll | 10 %A = load i32, i32* %Y 12 ret i32* %Y 17 %A = load i32, i32* %Y 19 ret i32* %Y 27 ret i16* %Y 35 ret i16* %Y 43 ret i16* %Y 50 ret i64* %Y 55 store i16 7, i16* %Y 56 ret i16* %Y [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/ |
| H A D | p2.cpp | 5 struct Y {}; struct 6 void f(const int * X::* Y::* *p) { in f() 8 (void)reinterpret_cast<int * X::* Y::* *>(p); // expected-error {{casts away qualifiers}} in f() 10 (void)reinterpret_cast<float * X::* Y::* *>(p); // expected-error {{casts away qualifiers}} in f() 12 (void)reinterpret_cast<int * Y::* X::* *>(p); // expected-error {{casts away qualifiers}} in f() 15 (void)reinterpret_cast<double Y::* X::* * *>(p); // expected-warning {{casts away qualifiers}} in f() 18 …(void)reinterpret_cast<const volatile double Y::* X::* * *>(p); // expected-warning {{casts away q… in f() 19 …(void)reinterpret_cast<const volatile double Y::*const X::*const **>(p); // expected-warning {{cas… in f() 22 (void)reinterpret_cast<const volatile double Y::*const X::*const *const *>(p); // ok in f() 24 …(void)reinterpret_cast<const double Y::*volatile X::**const *>(p); // expected-warning {{casts awa… in f() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.unary/expr.unary.op/ |
| H A D | p3.cpp | 11 struct Y struct 20 X Y::*data_mem_ptr = &Y::member; in test() 21 X (Y::*func_mem_ptr1)() = &Y::memfunc1; in test() 22 X (Y::*func_mem_ptr2)() = &Y::memfunc2; in test() 26 X Y::*data_mem_ptr = &Y::member; 27 X (Y::*func_mem_ptr1)() = &Y::memfunc1; 28 X (Y::*func_mem_ptr2)() = &Y::memfunc2;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | redundant-expression.cpp | 751 Y = (Y << 8) & 0xff; in TestOperatorConfusion() 753 Y = (Y << 12) & 0xfff; in TestOperatorConfusion() 755 Y = (Y << 12) & 0xff; in TestOperatorConfusion() 757 Y = (Y << 8) & 0x77; in TestOperatorConfusion() 759 Y = (Y << 5) & 0x11; in TestOperatorConfusion() 765 Y = (Y << 12) & 0xfffL; in TestOperatorConfusion() 772 Y = (Y << 8) & 0; in TestOperatorConfusion() 775 Y = (Y << 8) & -1; in TestOperatorConfusion() 778 Y = (Y << 4) & 0x15; in TestOperatorConfusion() 779 Y = (Y << 3) & 0x250; in TestOperatorConfusion() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | cond.cl | 16 int ptest01(char C, char X, int Y) 18 return C ? X : Y; 21 char ptest02(int C, char X, char Y) 23 return C ? X : Y; 29 return C ? X : Y; 35 return C ? X : Y; 39 int2 ptest05(int2 C, int X, char Y) 41 return C ? X : Y; 47 return C ? X : Y; 53 return C ? X : Y; [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/ |
| H A D | p9-2a.cpp | 6 struct Y {} y; struct 7 double operator==(X, Y); // expected-note 4{{here}} 14 const bool operator==(Y, X); 27 E operator==(Y, Z); // expected-note {{here}} 32 struct Y {}; struct 33 constexpr bool operator==(X x, Y) { return x.equal; } in operator ==() argument 35 static_assert(X{true} == Y{}); 39 static_assert(Y{} == X{true}); 43 static_assert(X{true} != Y{}); // expected-error {{failed}} 44 static_assert(X{false} != Y{}); [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
| H A D | in_place_t.pass.cpp | 41 class Y class 46 constexpr Y() : i_(0) {} in Y() function in Y 47 constexpr Y(int i) : i_(i) {} in Y() function in Y 50 friend constexpr bool operator==(const Y& x, const Y& y) in operator ==() 98 static_assert(*opt == Y(), ""); in main() 101 : public optional<Y> in main() 104 : optional<Y>(in_place) {} in main() 111 static_assert(*opt == Y(5), ""); in main() 114 : public optional<Y> in main() 124 static_assert(*opt == Y(5, 4), ""); in main() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ |
| H A D | reassociate.ll | 19 ; (X & Y) & X -> X & Y 30 ; X & (X & Y) -> X & Y 41 ; (X | Y) | X -> X | Y 52 ; X | (X | Y) -> X | Y 62 ; (X ^ Y) ^ X = Y 72 ; X ^ (X ^ Y) = Y 101 ; ((X + 1) + Y) - (Y + 1) -> X 149 ; (((X / Y) * Y) / Y) -> X / Y 173 ; (((X / Y) * Y) / Y) -> X / Y 201 ; (X rem Y) / Y -> 0 [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | fneg-fabs.ll | 4 %Y = fsub double -0.000000e+00, %X ; <double> [#uses=1] 5 ret double %Y 10 ret float %Y 14 %Y = fneg double %X ; <double> [#uses=1] 15 ret double %Y 19 %Y = fneg double -2.0 ; <double> [#uses=1] 20 ret double %Y 24 %Y = fneg float %X ; <float> [#uses=1] 25 ret float %Y 34 ret double %Y [all …]
|