Home
last modified time | relevance | path

Searched refs:Trivial (Results 1 – 25 of 76) sorted by relevance

1234

/external/llvm/unittests/ADT/
DFoldingSet.cpp50 FoldingSet<TrivialPair> Trivial; in TEST() local
53 Trivial.InsertNode(&T); in TEST()
58 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
64 FoldingSet<TrivialPair> Trivial; in TEST() local
68 Trivial.InsertNode(&T); in TEST()
73 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
79 FoldingSet<TrivialPair> Trivial; in TEST() local
82 Trivial.InsertNode(&T); in TEST()
83 EXPECT_EQ(Trivial.size(), 1U); in TEST()
85 bool WasThere = Trivial.RemoveNode(&T); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DFoldingSet.cpp71 FoldingSet<TrivialPair> Trivial; in TEST() local
74 Trivial.InsertNode(&T); in TEST()
79 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
85 FoldingSet<TrivialPair> Trivial; in TEST() local
89 Trivial.InsertNode(&T); in TEST()
94 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
100 FoldingSet<TrivialPair> Trivial; in TEST() local
103 Trivial.InsertNode(&T); in TEST()
104 EXPECT_EQ(Trivial.size(), 1U); in TEST()
106 bool WasThere = Trivial.RemoveNode(&T); in TEST()
[all …]
/external/clang/test/Analysis/
Dtemporaries.cpp8 struct Trivial { struct
9 Trivial(int x) : value(x) {} in Trivial() argument
13 struct NonTrivial : public Trivial { argument
14 NonTrivial(int x) : Trivial(x) {} in NonTrivial()
19 Trivial getTrivial() { in getTrivial()
20 return Trivial(42); // no-warning in getTrivial()
23 const Trivial &getTrivialRef() { in getTrivialRef()
24 …return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object… in getTrivialRef()
37 struct TrivialSubclass : public Trivial {
38 TrivialSubclass(int x) : Trivial(x), anotherValue(-x) {} in TrivialSubclass()
[all …]
/external/clang/test/SemaCXX/
Dwarn-unused-private-field.cpp80 class Trivial { class
82 Trivial() = default;
83 Trivial(int a) {} in Trivial() function in Trivial
110Trivial trivial_initializer_ = Trivial(); // expected-warning{{private field 'trivial_initializer_…
111 Trivial non_trivial_initializer_ = Trivial(42);
115 Trivial trivial_; // expected-warning{{private field 'trivial_' is not used}}
116 Trivial user_constructor_;
/external/compiler-rt/test/msan/
Ddtor-trivial.cpp26 struct Trivial { struct
36 Trivial *t = new Trivial(); in main() argument
37 t->~Trivial(); in main()
/external/clang/test/SemaObjCXX/
Dproperty-synthesis-error.mm46 class Trivial
49 Trivial(const Trivial& inObj);
50 Trivial();
51 ~Trivial();
61 Trivial _tcppObject;
65 @property (assign, readwrite) const Trivial& tcppObject;
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
Dtrivial_copy_move_ABI.pass.cpp77 struct Trivial { struct
78 Trivial(Trivial const&) = default;
80 static_assert(HasTrivialABI<Trivial>::value, "");
131 using P = std::pair<Trivial, int>; in main()
Dnon_trivial_copy_move_ABI.pass.cpp82 struct Trivial { struct
83 Trivial(Trivial const&) = default;
85 static_assert(!HasNonTrivialABI<Trivial>::value, "");
136 using P = std::pair<Trivial, int>; in main()
/external/clang/test/CodeGenCXX/
Dsanitize-dtor-trivial.cpp9 struct Trivial { struct
13 Trivial t; argument
/external/clang/test/CXX/special/class.copy/
Dp11.0x.move.cpp3 struct Trivial {}; struct
71 const Trivial ct;
84 volatile Trivial vt; // expected-note{{deleted because field 'vt' has no move constructor}}
Dp23-cxx11.cpp3 struct Trivial {}; struct
123 const Trivial a; // expected-note 3{{field 'a' has no }}
126 volatile Trivial a; // expected-note 3{{field 'a' has no }}
Dp25-0x.cpp20 struct Trivial {}; struct
21 using _ = trivially_assignable<Trivial>;
43 struct VBase : virtual Trivial {};
Dp12-0x.cpp17 struct Trivial {}; struct
18 using _ = trivially_copyable<Trivial>;
40 struct VBase : virtual Trivial {};
Dp11.0x.copy.cpp3 struct Trivial {}; struct
76 volatile Trivial vm; // expected-note {{has no copy}}
/external/clang/test/CXX/class/
Dp6-0x.cpp4 class Trivial { int n; void f(); }; class
11 static_assert(__is_trivial(Trivial), "Trivial is not trivial");
/external/clang/test/CXX/special/class.ctor/
Dp5-0x.cpp145 class Trivial { static const int n = 42; }; class
146 static_assert(__has_trivial_constructor(Trivial), "Trivial is nontrivial");
162 ASSERT_NONTRIVIAL(NonTrivialDefCtor3, : virtual Trivial, )
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EarlyCSE/
Dbasic.ll119 ;; Trivial Store->load forwarding
137 ;; Trivial dead store elimination.
158 ;; Trivial DSE can't be performed across a readonly call. The call
172 ;; Trivial DSE can be performed across a readnone call.
184 ;; Trivial dead store elimination - should work for an entire series of dead stores too.
/external/llvm/test/Transforms/EarlyCSE/
Dbasic.ll118 ;; Trivial Store->load forwarding
136 ;; Trivial dead store elimination.
157 ;; Trivial DSE can't be performed across a readonly call. The call
171 ;; Trivial DSE can be performed across a readnone call.
183 ;; Trivial dead store elimination - should work for an entire series of dead stores too.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dbreak-smem-soft-clauses.mir5 # Trivial clause at beginning of program
17 # Trivial clause at beginning of program
31 # Trivial clause at beginning of program
47 # Trivial clause at beginning of program
/external/slf4j/log4j-over-slf4j/src/test/java/org/apache/log4j/
DTrivial.java31 public class Trivial extends TestCase { class
/external/googletest/googletest/samples/
Dsample1_unittest.cc125 TEST(IsPrimeTest, Trivial) { in TEST() argument
/external/google-breakpad/src/testing/gtest/samples/
Dsample1_unittest.cc128 TEST(IsPrimeTest, Trivial) { in TEST() argument
/external/swiftshader/third_party/LLVM/test/Transforms/EarlyCSE/
Dbasic.ll91 ;; Trivial Store->load forwarding
100 ;; Trivial dead store elimination.
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dbool-opt.ll1 ; Trivial smoke test of icmp without fused branch opportunity.
/external/llvm/test/CodeGen/X86/
Dpatchpoint.ll4 ; Trivial patchpoint codegen
24 ; Trivial symbolic patchpoint codegen.

1234