Home
last modified time | relevance | path

Searched refs:CountCopyAndMove (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DDenseSetTest.cpp118 struct CountCopyAndMove { struct
122 CountCopyAndMove(int Value) : Value(Value) {} in CountCopyAndMove() function
124 CountCopyAndMove(const CountCopyAndMove &RHS) { in CountCopyAndMove() argument
128 CountCopyAndMove &operator=(const CountCopyAndMove &RHS) { in operator =() argument
133 CountCopyAndMove(CountCopyAndMove &&RHS) { in CountCopyAndMove() argument
137 CountCopyAndMove &operator=(const CountCopyAndMove &&RHS) { in operator =() argument
143 int CountCopyAndMove::Copy = 0;
144 int CountCopyAndMove::Move = 0;
149 template <> struct DenseMapInfo<CountCopyAndMove> {
150 static inline CountCopyAndMove getEmptyKey() { return CountCopyAndMove(-1); }; in getEmptyKey()
[all …]
DDenseMapTest.cpp344 struct CountCopyAndMove { struct
347 CountCopyAndMove() {} in CountCopyAndMove() function
349 CountCopyAndMove(const CountCopyAndMove &) { Copy++; } in CountCopyAndMove() argument
350 CountCopyAndMove &operator=(const CountCopyAndMove &) { in operator =() argument
354 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove() argument
355 CountCopyAndMove &operator=(const CountCopyAndMove &&) { in operator =() argument
360 int CountCopyAndMove::Copy = 0;
361 int CountCopyAndMove::Move = 0;
373 DenseMap<int, CountCopyAndMove> Map; in TEST()
377 CountCopyAndMove::Copy = 0; in TEST()
[all …]
/external/llvm/unittests/ADT/
DDenseMapTest.cpp344 struct CountCopyAndMove { struct
347 CountCopyAndMove() {} in CountCopyAndMove() argument
349 CountCopyAndMove(const CountCopyAndMove &) { Copy++; } in CountCopyAndMove() function
350 CountCopyAndMove &operator=(const CountCopyAndMove &) { in operator =() argument
354 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove() argument
355 CountCopyAndMove &operator=(const CountCopyAndMove &&) { in operator =() argument
360 int CountCopyAndMove::Copy = 0;
361 int CountCopyAndMove::Move = 0;
373 DenseMap<int, CountCopyAndMove> Map; in TEST()
377 CountCopyAndMove::Copy = 0; in TEST()
[all …]