Home
last modified time | relevance | path

Searched refs:SmallSize (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/ADT/
DSmallPtrSet.h72 SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize,
74 explicit SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize) in SmallPtrSetImplBase() argument
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
77 assert(SmallSize && (SmallSize & (SmallSize-1)) == 0 && in SmallPtrSetImplBase()
188 void MoveFrom(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
192 void MoveHelper(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
303 SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize,
305 : SmallPtrSetImplBase(SmallStorage, SmallSize, std::move(that)) {}
306 explicit SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize)
307 : SmallPtrSetImplBase(SmallStorage, SmallSize) {}
[all …]
DSmallBitVector.h261 size_t SmallSize = getSmallSize(); in reserve() local
262 BitVector *BV = new BitVector(SmallSize); in reserve()
263 for (size_t i = 0; i < SmallSize; ++i) in reserve()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallPtrSet.h78 SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize,
81 explicit SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize) in SmallPtrSetImplBase() argument
83 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
84 assert(SmallSize && (SmallSize & (SmallSize-1)) == 0 && in SmallPtrSetImplBase()
198 void MoveFrom(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
202 void MoveHelper(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
342 SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize,
344 : SmallPtrSetImplBase(SmallStorage, SmallSize, std::move(that)) {}
345 explicit SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize)
346 : SmallPtrSetImplBase(SmallStorage, SmallSize) {}
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallPtrSet.h71 SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize,
74 explicit SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize) in SmallPtrSetImplBase() argument
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
77 assert(SmallSize && (SmallSize & (SmallSize-1)) == 0 && in SmallPtrSetImplBase()
210 void MoveFrom(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
214 void MoveHelper(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
352 SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize,
354 : SmallPtrSetImplBase(SmallStorage, SmallSize, std::move(that)) {}
355 explicit SmallPtrSetImpl(const void **SmallStorage, unsigned SmallSize)
356 : SmallPtrSetImplBase(SmallStorage, SmallSize) {}
[all …]
DBreadthFirstIterator.h39 template <typename NodeRef, unsigned SmallSize = 8>
40 using bf_iterator_default_set = SmallPtrSet<NodeRef, SmallSize>;
DDepthFirstIterator.h68 template <typename NodeRef, unsigned SmallSize=8>
69 struct df_iterator_default_set : public SmallPtrSet<NodeRef, SmallSize> {
70 using BaseSet = SmallPtrSet<NodeRef, SmallSize>;
DSmallBitVector.h349 size_t SmallSize = getSmallSize(); in reserve() local
350 BitVector *BV = new BitVector(SmallSize); in reserve()
351 for (size_t i = 0; i < SmallSize; ++i) in reserve()
/external/llvm-project/llvm/include/llvm/ADT/
DSmallPtrSet.h71 SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize,
74 explicit SmallPtrSetImplBase(const void **SmallStorage, unsigned SmallSize) in SmallPtrSetImplBase() argument
76 CurArraySize(SmallSize), NumNonEmpty(0), NumTombstones(0) { in SmallPtrSetImplBase()
77 assert(SmallSize && (SmallSize & (SmallSize-1)) == 0 && in SmallPtrSetImplBase()
210 void MoveFrom(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
214 void MoveHelper(unsigned SmallSize, SmallPtrSetImplBase &&RHS);
441 template<class PtrType, unsigned SmallSize>
446 static_assert(SmallSize <= 32, "SmallSize should be small");
451 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
471 SmallPtrSet<PtrType, SmallSize> &
[all …]
DBreadthFirstIterator.h39 template <typename NodeRef, unsigned SmallSize = 8>
40 using bf_iterator_default_set = SmallPtrSet<NodeRef, SmallSize>;
DDepthFirstIterator.h68 template <typename NodeRef, unsigned SmallSize=8>
69 struct df_iterator_default_set : public SmallPtrSet<NodeRef, SmallSize> {
70 using BaseSet = SmallPtrSet<NodeRef, SmallSize>;
DSmallBitVector.h349 size_t SmallSize = getSmallSize(); in reserve() local
350 BitVector *BV = new BitVector(SmallSize); in reserve()
351 for (size_t i = 0; i < SmallSize; ++i) in reserve()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNoRecursionCheck.cpp28 template <typename T, unsigned SmallSize> class ImmutableSmallSet {
32 static_assert(SmallSize <= 32, "N should be small");
48 if (Storage.size() <= SmallSize) { in ImmutableSmallSet()
75 template <typename T, unsigned SmallSize> class SmartSmallSetVector {
80 SmallVector<T, SmallSize> Vector;
83 static_assert(SmallSize <= 32, "N should be small");
90 assert(isSmall() && Vector.size() <= SmallSize && in entiretyOfVectorSmallSizeIsOccupied()
92 return Vector.size() == SmallSize; in entiretyOfVectorSmallSizeIsOccupied()
/external/llvm-project/llvm/lib/Support/
DSmallPtrSet.cpp138 unsigned SmallSize, in SmallPtrSetImplBase() argument
141 MoveHelper(SmallSize, std::move(that)); in SmallPtrSetImplBase()
181 void SmallPtrSetImplBase::MoveFrom(unsigned SmallSize, in MoveFrom() argument
185 MoveHelper(SmallSize, std::move(RHS)); in MoveFrom()
188 void SmallPtrSetImplBase::MoveHelper(unsigned SmallSize, in MoveHelper() argument
207 RHS.CurArraySize = SmallSize; in MoveHelper()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSmallPtrSet.cpp138 unsigned SmallSize, in SmallPtrSetImplBase() argument
141 MoveHelper(SmallSize, std::move(that)); in SmallPtrSetImplBase()
181 void SmallPtrSetImplBase::MoveFrom(unsigned SmallSize, in MoveFrom() argument
185 MoveHelper(SmallSize, std::move(RHS)); in MoveFrom()
188 void SmallPtrSetImplBase::MoveHelper(unsigned SmallSize, in MoveHelper() argument
207 RHS.CurArraySize = SmallSize; in MoveHelper()
/external/llvm/lib/Support/
DSmallPtrSet.cpp160 unsigned SmallSize, in SmallPtrSetImplBase() argument
163 MoveHelper(SmallSize, std::move(that)); in SmallPtrSetImplBase()
206 void SmallPtrSetImplBase::MoveFrom(unsigned SmallSize, in MoveFrom() argument
210 MoveHelper(SmallSize, std::move(RHS)); in MoveFrom()
213 void SmallPtrSetImplBase::MoveHelper(unsigned SmallSize, in MoveHelper() argument
232 RHS.CurArraySize = SmallSize; in MoveHelper()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp161 unsigned SmallSize, in SmallPtrSetImplBase() argument
164 MoveHelper(SmallSize, std::move(that)); in SmallPtrSetImplBase()
207 void SmallPtrSetImplBase::MoveFrom(unsigned SmallSize, in MoveFrom() argument
211 MoveHelper(SmallSize, std::move(RHS)); in MoveFrom()
214 void SmallPtrSetImplBase::MoveHelper(unsigned SmallSize, in MoveHelper() argument
233 RHS.CurArraySize = SmallSize; in MoveHelper()
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h28 template <class PtrType, unsigned SmallSize> class SmallPtrSet;
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1136 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale() local
1137 APInt SmallScale = Scale.trunc(SmallSize); in Descale()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1330 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale() local
1331 APInt SmallScale = Scale.trunc(SmallSize); in Descale()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1413 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale() local
1414 APInt SmallScale = Scale.trunc(SmallSize); in Descale()