Home
last modified time | relevance | path

Searched refs:D2 (Results 1 – 25 of 185) sorted by relevance

12345678

/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1441 D2)) { in IsStructurallyEquivalent()
1482 D2 = D2->getDefinition(); in IsStructurallyEquivalent()
1483 if (!D1 || !D2) in IsStructurallyEquivalent()
1697 D2 = D2->getDefinition(); in IsStructurallyEquivalent()
1698 if (!D1 || !D2) in IsStructurallyEquivalent()
1795 << D2->isParameterPack(); in IsStructurallyEquivalent()
1813 << D2->isParameterPack(); in IsStructurallyEquivalent()
2073 D2 = D2->getCanonicalDecl(); in IsStructurallyEquivalent()
2252 Decl *D1, Decl *D2) { in CheckKindSpecificEquivalence() argument
2278 Decl *D2 = P.second; in Finish() local
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dload_store_multiple.ll6 ;CHECK-LE: vld1.8 {[[D1:d[0-9]+]], [[D2:d[0-9]+]]}, [{{r[0-9]+}}]
8 ;CHECK-LE: vst1.8 {[[D1]], [[D2]]}, [{{r[0-9]+}}]
11 ;CHECK-BE: vld1.8 {[[D1:d[0-9]+]], [[D2:d[0-9]+]]}, [{{r[0-9]+}}]
14 ;CHECK-BE: vst1.8 {[[D1]], [[D2]]}, [{{r[0-9]+}}]
25 ;CHECK-LE: vst1.16 {[[D1]], [[D2]]}, [{{r[0-9]+}}]
31 ;CHECK-BE: vst1.16 {[[D1]], [[D2]]}, [{{r[0-9]+}}]
42 ;CHECK-LE: vst1.32 {[[D1]], [[D2]]}, [{{r[0-9]+}}]
45 ;CHECK-BE: vldmia {{r[0-9]+}}, {[[D1:d[0-9]+]], [[D2:d[0-9]+]]}
47 ;CHECK-BE: vstmia {{r[0-9]+}}, {[[D1]], [[D2]]}
58 ;CHECK-LE: vst1.64 {[[D1]], [[D2]]}, [{{r[0-9]+}}]
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcast-to-struct.cpp40 Derived D1, *D2; in structToStruct() local
42 D2 = (Derived *)&B1; in structToStruct()
43 D2 = dynamic_cast<Derived *>(&B1); in structToStruct()
44 D2 = static_cast<Derived *>(&B1); in structToStruct()
48D2 = (Derived *)&B2;// expected-warning {{Casting data to a larger structure type and accessing a … in structToStruct()
49D2 = dynamic_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type an… in structToStruct()
50D2 = static_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type and… in structToStruct()
55 D2 = (Derived *)B3; in structToStruct()
56 D2 = dynamic_cast<Derived *>(B3); in structToStruct()
57 D2 = static_cast<Derived *>(B3); in structToStruct()
H A Dpointer-to-member.cpp201 struct D2 : public L2, R2 { }; struct
220 D2 d2; in double_diamond()
227 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int L2::*>(static_cast<int L1::*>(&B::… in double_diamond()
228 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int R2::*>(static_cast<int L1::*>(&B::… in double_diamond()
229 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int L2::*>(static_cast<int R1::*>(&B::… in double_diamond()
230 …clang_analyzer_eval(d2.*(static_cast<int D2::*>(static_cast<int R2::*>(static_cast<int R1::*>(&B::… in double_diamond()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmember-name-lookup.cpp84 struct D2 : B2, C2 { struct
89 struct G : F, D2 {
93 void test_virtual_lookup(D2 d2, G g) { in test_virtual_lookup()
101 D2::E e = D2::enumerator; // okay in test_virtual_lookup()
102 D2::type t = 0; // okay in test_virtual_lookup()
104 D2::E2 e2 = D2::enumerator2; // okay in test_virtual_lookup()
106 D2::E3 e3; // expected-error{{member 'E3' found in multiple base classes of different types}} in test_virtual_lookup()
112 void D2::test_virtual_lookup() { in test_virtual_lookup()
H A Dexception-spec.cpp44 struct D2;
48 virtual D2 &operator=(const D2&) noexcept; // expected-note {{overridden}}
51 struct D2 : B { struct
52 D2 &operator=(const D2&); // expected-error {{more lax}}
H A Dexceptions.cpp172 struct D2 : D {}; struct
211 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f6()
230 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f8()
235 …} catch (const D2 &d) { // expected-warning {{exception of type 'const HandlerInversion::D2 &' wi… in f8()
/llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.compare.default/
H A Dp2.cpp104 struct D2 { struct
109 bool operator==(const D2&) const; argument
110 bool operator!=(const D2&) const = default;
112 bool operator<=>(const D2&) const;
113 bool operator<(const D2&) const = default;
114 bool operator<=(const D2&) const = default;
115 bool operator>(const D2&) const = default;
116 bool operator>=(const D2&) const = default;
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DDiagnosticsYamlTest.cpp189 Diagnostic D2 = TUDActual.Diagnostics[1]; in TEST() local
190 EXPECT_EQ("diagnostic#2", D2.DiagnosticName); in TEST()
191 EXPECT_EQ("message #2", D2.Message.Message); in TEST()
192 EXPECT_EQ(60u, D2.Message.FileOffset); in TEST()
193 EXPECT_EQ("path/to/header.h", D2.Message.FilePath); in TEST()
194 std::vector<Replacement> Fixes2 = getFixes(D2.Message.Fix); in TEST()
200 EXPECT_EQ(1u, D2.Message.Ranges.size()); in TEST()
201 EXPECT_EQ("path/to/source.cpp", D2.Message.Ranges[0].FilePath); in TEST()
202 EXPECT_EQ(10u, D2.Message.Ranges[0].FileOffset); in TEST()
203 EXPECT_EQ(10u, D2.Message.Ranges[0].Length); in TEST()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dapple-kext-indirect-call-2.cpp63 struct D2 : virtual Base3 { struct
67 struct Sub : D1, D2 {
70 char* D2::abc(void) const { return 0; } in abc()
75 char* c = p->D2::abc(); in FUNC3()
/llvm-project-15.0.7/clang/test/CXX/special/class.copy/
H A Dp23-cxx11.cpp104 struct D2 { struct
105D2 &operator=(D2 &&) = default; // expected-note {{here}} expected-note {{copy assignment operator…
129 template struct MoveAssign<D2>; // expected-note {{here}} argument
130 template struct MoveOrCopyAssign<D2>; // expected-note {{here}}
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dmips64-class-return.cpp19 class D2 : public B0 { class
25 extern D2 gd2;
38 void foo3(D2 a0) { in foo3()
H A Darm-ha-alignstack.c101 } D2; typedef
103 double g2(D2 d) { in g2()
110 D2 d = {0.0, }; in g2call()
H A Ddebug-info-macro.c19 /*Line 18*/ #define D2 2 macro
21 /*Line 20*/ #undef D2
/llvm-project-15.0.7/clang/test/CXX/special/class.inhctor/
H A Dp7.cpp16 struct D2 : B1, B2 { struct
19 D2(int);
22 D2 d2(0);
H A Dp3.cpp20 struct D2 : B2 { // expected-note 2{{candidate constructor}} struct
23 D2 d2a(1), d2b(1, 1), d2c(1, 1, 1);
25 D2 fd2() { return 1; } // expected-error {{no viable conversion}} in fd2()
/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Dinterop.c19 double D0, D2; in main() local
38 #pragma omp interop use(interop) depend(in : D0, D2) in main()
44 #pragma omp interop destroy(interop) depend(in : D0, D2) device(device_id) in main()
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dcomplex-branch-structure.ll29 i64 %D1.p, i64 %D2.p, i64 %D3.p,
114 br i1 %C1.cmp, label %D0, label %D2
120 br i1 %C3.cmp, label %D2, label %D4
127 D2:
128 %val.D2 = load float, float* %D
129 store float %val.D2, float* %D
130 %D2.cmp = icmp eq i64 %D2.p, 0
131 br i1 %D2.cmp, label %D1, label %D3
/llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.spaceship/
H A Dp1.cpp55 struct D2 { struct
56 bool operator<(const D2&) const;
98 Cmp<D2>() <=> Cmp<D2>(), // expected-error {{deleted}} in f()
129 CmpArray<D2>() <=> CmpArray<D2>(), // expected-error {{deleted}} in g()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dsized_delete_test.cpp30 struct D2 { struct
32 ~D2() { fprintf(stderr, "D2::~D2\n"); } in ~D2() argument
80 D1 *d1 = reinterpret_cast<D1*>(new D2[10]); in main()
/llvm-project-15.0.7/clang/test/CXX/class/class.mem/
H A Dp13.cpp77 typedef int D2; typedef
93 struct D2 : B { using B::D2; }; // expected-error {{member 'D2' has the same name as its class}} struct
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTStructuralEquivalence.h91 bool IsEquivalent(Decl *D1, Decl *D2);
134 bool CheckCommonEquivalence(Decl *D1, Decl *D2);
139 bool CheckKindSpecificEquivalence(Decl *D1, Decl *D2);
/llvm-project-15.0.7/llvm/unittests/Demangle/
H A DPartialDemangleTest.cpp138 llvm::ItaniumPartialDemangler D1, D2; in TEST() local
141 EXPECT_FALSE(D2.partialDemangle("_Z1g")); in TEST()
142 std::swap(D1, D2); in TEST()
144 EXPECT_TRUE(D2.isFunction()); in TEST()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp15.cpp17 struct D2 : B1, B2 { struct
20 D2(int);
22 D2 d2(0); // ok
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/
H A Dp4.cpp12 typedef struct D { } D2; typedef
13 typedef D2 D;

12345678