/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/swiftshader/third_party/llvm-7.0/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" 63 ; OBJ: Type: NonTrivial (0x1007) 105 %struct.NonTrivial = type { i32 } 108 define void @f(<{ %struct.NonTrivial, i32, i32, i32 }>* inalloca) local_unnamed_addr #0 !dbg !7 { 110 …%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/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-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | SimpleLoopUnswitch.h | 64 bool NonTrivial; variable 67 SimpleLoopUnswitchPass(bool NonTrivial = false) : NonTrivial(NonTrivial) {} in NonTrivial() argument 76 Pass *createSimpleLoopUnswitchLegacyPass(bool NonTrivial = false);
|
/external/clang/test/Analysis/ |
D | dtor.cpp | 519 struct NonTrivial { struct 521 NonTrivial() : p(new int[1]) { p[0] = 0; } in NonTrivial() function 522 NonTrivial(const NonTrivial &other) { in NonTrivial() argument 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()
|
D | temporaries.cpp | 13 struct NonTrivial : public Trivial { struct 14 NonTrivial(int x) : Trivial(x) {} in NonTrivial() argument 15 ~NonTrivial(); 28 NonTrivial getNonTrivial() { in getNonTrivial() 29 return NonTrivial(42); // no-warning in getNonTrivial() 32 const NonTrivial &getNonTrivialRef() { in getNonTrivialRef() 33 …return NonTrivial(42); // expected-warning {{Address of stack memory associated with temporary obj… in getNonTrivialRef()
|
/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…
|
D | p11.0x.copy.cpp | 4 struct NonTrivial { struct 5 NonTrivial(const NonTrivial&); 12 …NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant' is implicitly deleted beca… 20 …NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant2' is implicitly deleted bec…
|
/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/SemaTemplate/ |
D | instantiate-decl-init.cpp | 39 struct NonTrivial { struct 40 NonTrivial(); 41 ~NonTrivial(); 45 NonTrivial array[N]; in f1()
|
/external/clang/test/Analysis/inlining/ |
D | false-positive-suppression.cpp | 178 class NonTrivial { class 180 ~NonTrivial(); 188 NonTrivial().getNull()->doSomething(); in testImmediate() 195 SomeClass *ptr = NonTrivial().getNull(); in testAssignment() 210 testArgumentHelper(NonTrivial().getNull()); in testArgument()
|
/external/libbrillo/brillo/ |
D | any_internal_impl_unittest.cc | 52 class NonTrivial { in TEST() class 54 virtual ~NonTrivial() {} in TEST() 59 EXPECT_STREQ(GetTypeTag<NonTrivial*>(), buffer.GetDataPtr()->GetTypeTag()); in TEST() 63 class NonTrivial { in TEST() class 65 virtual ~NonTrivial() {} in TEST() 71 EXPECT_STREQ(GetTypeTag<NonTrivial>(), buffer.GetDataPtr()->GetTypeTag()); in TEST()
|
/external/perfetto/src/base/ |
D | no_destructor_unittest.cc | 47 class NonTrivial { class 49 NonTrivial(std::vector<int> v, std::unique_ptr<int> p) in NonTrivial() function in perfetto::base::__anond89615d10111::NonTrivial 57 static NoDestructor<NonTrivial> x(std::vector<int>{1, 2, 3}, in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SimpleLoopUnswitch.cpp | 2396 bool NonTrivial, in unswitchLoop() argument 2418 if (!NonTrivial && !EnableNonTrivialUnswitch) in unswitchLoop() 2463 if (!unswitchLoop(L, AR.DT, AR.LI, AR.AC, AR.TTI, NonTrivial, UnswitchCB, in run() 2476 bool NonTrivial; member in __anon57c2774f1911::SimpleLoopUnswitchLegacyPass 2481 explicit SimpleLoopUnswitchLegacyPass(bool NonTrivial = false) in SimpleLoopUnswitchLegacyPass() argument 2482 : LoopPass(ID), NonTrivial(NonTrivial) { in SimpleLoopUnswitchLegacyPass() 2530 bool Changed = unswitchLoop(*L, DT, LI, AC, TTI, NonTrivial, UnswitchCB, SE); in runOnLoop() 2554 Pass *llvm::createSimpleLoopUnswitchLegacyPass(bool NonTrivial) { in INITIALIZE_PASS_DEPENDENCY() 2555 return new SimpleLoopUnswitchLegacyPass(NonTrivial); in INITIALIZE_PASS_DEPENDENCY()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 3077 bool NonTrivial; member in __anon0c7bfe1b0311::NonTrivialCallFinder 3081 : Inherited(Context), NonTrivial(false) { } in NonTrivialCallFinder() 3083 bool hasNonTrivialCall() const { return NonTrivial; } in hasNonTrivialCall() 3095 NonTrivial = true; in VisitCallExpr() 3105 NonTrivial = true; in VisitCXXConstructExpr() 3114 NonTrivial = true; in VisitCXXBindTemporaryExpr()
|