Home
last modified time | relevance | path

Searched refs:NonTrivial (Results 1 – 16 of 16) sorted by relevance

/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-sret-and-byval.cpp326 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/
Ddbg-declare-inalloca.ll6 ; 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 …]
Dspill-nontrivial-param.ll12 ; 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/
Dp14.cpp25 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/
DSimpleLoopUnswitch.h64 bool NonTrivial; variable
67 SimpleLoopUnswitchPass(bool NonTrivial = false) : NonTrivial(NonTrivial) {} in NonTrivial() argument
76 Pass *createSimpleLoopUnswitchLegacyPass(bool NonTrivial = false);
/external/clang/test/Analysis/
Ddtor.cpp519 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()
Dtemporaries.cpp13 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/
Dp11.0x.move.cpp4 struct NonTrivial { struct
5 NonTrivial(NonTrivial&&); // expected-note{{copy constructor is implicitly deleted}}
12NonTrivial NT; // expected-note{{deleted because variant field 'NT' has a non-trivial move constru…
19NonTrivial 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…
Dp11.0x.copy.cpp4 struct NonTrivial { struct
5 NonTrivial(const NonTrivial&);
12NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant' is implicitly deleted beca…
20NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant2' is implicitly deleted bec…
/external/compiler-rt/test/msan/
Ddtor-trivial.cpp21 struct NonTrivial { struct
32 NonTrivial *nt = new NonTrivial(); in main() argument
33 nt->~NonTrivial(); in main()
/external/clang/test/SemaTemplate/
Dinstantiate-decl-init.cpp39 struct NonTrivial { struct
40 NonTrivial();
41 ~NonTrivial();
45 NonTrivial array[N]; in f1()
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.cpp178 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/
Dany_internal_impl_unittest.cc52 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/
Dno_destructor_unittest.cc47 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/
DSimpleLoopUnswitch.cpp2396 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/
DExpr.cpp3077 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()