/external/llvm-project/clang/test/CodeGenCXX/ |
D | sanitize-dtor-zero-size-field.cpp | 16 struct NonTrivial { struct 19 ~NonTrivial(); argument 21 static_assert(sizeof(NonTrivial) == 8); 39 NonTrivial nt; 53 NonTrivial nt; 68 NonTrivial nt; 83 NonTrivial nt; 94 NonTrivial nt; 107 NonTrivial nt; 122 NonTrivial nt; [all …]
|
D | ms-thunks-ehspec.cpp | 6 struct NonTrivial { struct 7 NonTrivial(); 8 NonTrivial(const NonTrivial &o); 9 ~NonTrivial(); 13 virtual void f(NonTrivial o) noexcept; argument 16 virtual void f(NonTrivial o) noexcept; 19 virtual void f(NonTrivial o) noexcept;
|
D | inalloca-overaligned.cpp | 7 struct NonTrivial { struct 8 NonTrivial(); 9 NonTrivial(const NonTrivial &o); 26 int receive_inalloca_overaligned(NonTrivial nt, OverAligned o) { in receive_inalloca_overaligned() argument 34 gvi32 = receive_inalloca_overaligned(NonTrivial(), OverAligned()); in pass_inalloca_overaligned() 72 int receive_inalloca_both(NonTrivial nt, Both o) { in receive_inalloca_both() 80 gvi32 = receive_inalloca_both(NonTrivial(), Both()); in pass_inalloca_both()
|
D | microsoft-abi-sret-and-byval.cpp | 381 struct NonTrivial { struct 382 NonTrivial(); 383 NonTrivial(const NonTrivial &o); 384 ~NonTrivial(); 389 int foo(NonTrivial a, POD b); 393 int c = foo(NonTrivial(), b); in bar() 410 struct NonTrivial { struct 411 NonTrivial(); 412 NonTrivial(const NonTrivial &o); 413 ~NonTrivial(); [all …]
|
D | inalloca-vector.cpp | 7 struct NonTrivial { struct 8 NonTrivial(); 9 NonTrivial(const NonTrivial &o); 17 void receive_vec_128(NonTrivial nt, __m128 x, __m128 y, __m128 z, __m128 w, __m128 q) { in receive_vec_128() argument 28 receive_vec_128(NonTrivial(), z, z, z, z, z); in pass_vec_128() 52 …ll fastcall_receive_vec(__m128 x, __m128 y, __m128 z, __m128 w, int edx, __m128 q, NonTrivial nt) { in fastcall_receive_vec() 66 __m128 w, int edx, __m128 q, NonTrivial nt) { in vectorcall_receive_vec()
|
D | always_destroy.cpp | 3 struct NonTrivial { struct 4 ~NonTrivial(); 8 NonTrivial nt1; 10 thread_local NonTrivial nt2; 29 [[clang::no_destroy]] NonTrivial nt3; 31 [[clang::no_destroy]] thread_local NonTrivial nt4;
|
D | no_destroy.cpp | 4 struct NonTrivial { struct 5 ~NonTrivial(); 9 [[clang::no_destroy]] NonTrivial nt1; 11 [[clang::no_destroy]] thread_local NonTrivial nt2; 40 [[clang::always_destroy]] NonTrivial nt3; 43 [[clang::always_destroy]] thread_local NonTrivial nt4;
|
D | debug-info-composite-triviality.cpp | 71 struct NonTrivial { struct 72 NonTrivial() {} in NonTrivial() function 73 } NonTrivial; variable 82 struct NonTrivial x; 91 struct NonTrivialD : NonTrivial { 95 struct NonTrivialE : Trivial, NonTrivial {
|
D | microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp | 176 struct NonTrivial { struct 177 ~NonTrivial(); 181 struct B { virtual void __cdecl g(NonTrivial); }; 184 void __cdecl g(NonTrivial) override; 187 void C::f() { g(NonTrivial()); } in f() 188 void C::g(NonTrivial o) { in g()
|
D | trivial_abi.cpp | 30 struct NonTrivial { struct 31 NonTrivial(); 32 ~NonTrivial(); 43 NonTrivial m; argument 219 NonTrivial testReturnHasNonTrivial() { in testReturnHasNonTrivial() 220 NonTrivial t; in testReturnHasNonTrivial()
|
/external/clang/test/CodeGenCXX/ |
D | microsoft-abi-sret-and-byval.cpp | 326 struct NonTrivial { struct 327 NonTrivial(); 328 NonTrivial(const NonTrivial &o); 329 ~NonTrivial(); 334 int foo(NonTrivial a, POD b); 338 int c = foo(NonTrivial(), b); in bar() 355 struct NonTrivial { struct 356 NonTrivial(); 357 NonTrivial(const NonTrivial &o); 358 ~NonTrivial(); [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cert-oop57-cpp.cpp | 26 struct NonTrivial { struct 30 NonTrivial() : I(0), J(0) {} in NonTrivial() argument 31 NonTrivial &operator=(const NonTrivial &Other) { in operator =() argument 63 void bar(const NonTrivial &Other) { in bar() argument 64 NonTrivial Data; in bar() 68 std::memset(&Data, 0, sizeof(NonTrivial)); in bar() 82 void baz(const NonTrivial &Other) { in baz() 83 NonTrivial Data; in baz()
|
/external/llvm-project/llvm/test/DebugInfo/X86/ |
D | dbg-declare-inalloca.ll | 6 ; struct NonTrivial { 7 ; NonTrivial();// : x(42) {} 8 ; ~NonTrivial();// {} 13 ; extern "C" void f(NonTrivial a, int b, int unused, int c) { 22 ; // NonTrivial x; 41 ; CHECK: jmp "??1NonTrivial@@QAE@XZ" 70 ; OBJ: Type: NonTrivial (0x{{.*}}) 109 %struct.NonTrivial = type { i32 } 112 define void @f(<{ %struct.NonTrivial, i32, i32, i32 }>* inalloca) local_unnamed_addr #0 !dbg !7 { 114 …%a = getelementptr inbounds <{ %struct.NonTrivial, i32, i32, i32 }>, <{ %struct.NonTrivial, i32, i… [all …]
|
D | spill-nontrivial-param.ll | 12 ; struct NonTrivial { 13 ; NonTrivial(); 14 ; ~NonTrivial(); 17 ; int foo(NonTrivial nt) { 36 %struct.NonTrivial = type { i32 } 39 define i32 @_Z3foo10NonTrivial(%struct.NonTrivial* nocapture readonly %nt) local_unnamed_addr #0 !d… 41 …tail call void @llvm.dbg.declare(metadata %struct.NonTrivial* %nt, metadata !20, metadata !DIExpre… 43 %i = getelementptr inbounds %struct.NonTrivial, %struct.NonTrivial* %nt, i64 0, i32 0, !dbg !24 70 !11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "NonTrivial", file: !1, line: 5, … 73 !14 = !DISubprogram(name: "NonTrivial", scope: !11, file: !1, line: 6, type: !15, isLocal: false, i… [all …]
|
/external/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p14.cpp | 25 struct NonTrivial { struct 26 NonTrivial(); 27 NonTrivial(const NonTrivial &); 28 ~NonTrivial(); 33 CopyCtorDefault(const CopyCtorDefault&, NonTrivial nt = NonTrivial());
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p14.cpp | 25 struct NonTrivial { struct 26 NonTrivial(); 27 NonTrivial(const NonTrivial &); 28 ~NonTrivial(); 33 CopyCtorDefault(const CopyCtorDefault&, NonTrivial nt = NonTrivial());
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | SimpleLoopUnswitch.h | 63 bool NonTrivial; variable 66 SimpleLoopUnswitchPass(bool NonTrivial = false) : NonTrivial(NonTrivial) {} in NonTrivial() argument 75 Pass *createSimpleLoopUnswitchLegacyPass(bool NonTrivial = false);
|
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
D | SimpleLoopUnswitch.h | 63 bool NonTrivial; variable 66 SimpleLoopUnswitchPass(bool NonTrivial = false) : NonTrivial(NonTrivial) {} in NonTrivial() function 75 Pass *createSimpleLoopUnswitchLegacyPass(bool NonTrivial = false);
|
/external/llvm-project/clang/test/SemaCXX/ |
D | c99.cpp | 39 struct NonTrivial { struct 40 NonTrivial(); 41 ~NonTrivial(); 45 NonTrivial b; 61 ….s.b = NonTrivial() // expected-error {{initializer would partially override prior initialization …
|
/external/llvm-project/clang/test/CXX/special/class.copy/ |
D | p11.0x.move.cpp | 4 struct NonTrivial { struct 5 NonTrivial(NonTrivial&&); // expected-note{{copy constructor is implicitly deleted}} 15 …NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru… 22 …NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru… 34 extern DeletedNTVariant3<NonTrivial> dntv3a(0); // expected-error {{no matching}} 91 …const NonTrivial cnt; // expected-note{{deleted because field 'cnt' has a deleted move constructor…
|
/external/clang/test/Analysis/ |
D | dtor.cpp | 519 struct NonTrivial { struct 521 NonTrivial() : p(new int[1]) { p[0] = 0; } in NonTrivial() argument 522 NonTrivial(const NonTrivial &other) { in NonTrivial() function 526 NonTrivial &operator=(const NonTrivial &other) { in operator =() argument 530 ~NonTrivial() { in ~NonTrivial() argument 536 NonTrivial nt1; in f() 537 NonTrivial nt2(nt1); in f() 539 clang_analyzer_eval(__is_trivial(NonTrivial)); // expected-warning{{FALSE}} in f() 540 clang_analyzer_eval(__alignof(NonTrivial) > 0); // expected-warning{{TRUE}} in f()
|
/external/llvm-project/clang/test/Analysis/ |
D | dtor.cpp | 519 struct NonTrivial { struct 521 NonTrivial() : p(new int[1]) { p[0] = 0; } in NonTrivial() argument 522 NonTrivial(const NonTrivial &other) { in NonTrivial() function 526 NonTrivial &operator=(const NonTrivial &other) { in operator =() argument 530 ~NonTrivial() { in ~NonTrivial() argument 536 NonTrivial nt1; in f() 537 NonTrivial nt2(nt1); in f() 539 clang_analyzer_eval(__is_trivial(NonTrivial)); // expected-warning{{FALSE}} in f() 540 clang_analyzer_eval(__alignof(NonTrivial) > 0); // expected-warning{{TRUE}} in f()
|
/external/llvm-project/compiler-rt/test/msan/ |
D | dtor-trivial.cpp | 21 struct NonTrivial { struct 32 NonTrivial *nt = new NonTrivial(); in main() argument 33 nt->~NonTrivial(); in main()
|
/external/compiler-rt/test/msan/ |
D | dtor-trivial.cpp | 21 struct NonTrivial { struct 32 NonTrivial *nt = new NonTrivial(); in main() argument 33 nt->~NonTrivial(); in main()
|
/external/clang/test/CXX/special/class.copy/ |
D | p11.0x.move.cpp | 4 struct NonTrivial { struct 5 NonTrivial(NonTrivial&&); // expected-note{{copy constructor is implicitly deleted}} 12 …NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru… 19 …NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru… 79 …const NonTrivial cnt; // expected-note{{deleted because field 'cnt' has a deleted move constructor…
|