Home
last modified time | relevance | path

Searched refs:isSmall (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallBitVector.h96 assert(!isSmall()); in getPointer()
108 assert(!isSmall() && "Tried to use an unaligned pointer"); in switchToLarge()
114 assert(isSmall()); in getSmallRawBits()
119 assert(isSmall()); in setSmallRawBits()
157 if (RHS.isSmall()) in SmallBitVector()
168 if (!isSmall()) in ~SmallBitVector()
187 bool isSmall() const { return X & uintptr_t(1); } in isSmall() function
191 return isSmall() ? getSmallSize() == 0 : getPointer()->empty(); in empty()
196 return isSmall() ? getSmallSize() : getPointer()->size(); in size()
201 if (isSmall()) { in count()
[all …]
H A DDynamicAPInt.h62 if (LLVM_LIKELY(isSmall())) { in initLarge()
80 LLVM_ATTRIBUTE_ALWAYS_INLINE constexpr bool isSmall() const { in isSmall() function
84 return !isSmall(); in isLarge()
89 assert(isSmall() && in getSmall()
94 assert(isSmall() && in getSmall()
110 if (isSmall()) in SlowDynamicAPInt()
140 if (LLVM_LIKELY(O.isSmall())) {
152 if (isSmall()) in int64_t()
266 if (LLVM_LIKELY(isSmall() && O.isSmall()))
272 if (LLVM_LIKELY(isSmall() && O.isSmall()))
[all …]
H A DSmallPtrSet.h88 if (!isSmall()) in ~SmallPtrSetImplBase()
105 if (!isSmall()) { in clear()
122 if (isSmall() && NumEntries <= CurArraySize) in reserve()
126 if (!isSmall() && ((NumEntries - 1) * 4) < (CurArraySize * 3)) in reserve()
147 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer()
154 if (isSmall()) { in insert_imp()
179 if (isSmall()) { in erase_imp()
207 if (isSmall()) { in find_imp()
224 if (isSmall()) { in contains_imp()
237 bool isSmall() const { return IsSmall; } in isSmall() function
[all …]
H A DSmallSet.h172 return isSmall() ? Vector.size() : Set.size(); in size()
199 if (!isSmall()) in erase()
215 if (isSmall()) in begin()
221 if (isSmall()) in end()
228 if (isSmall()) in contains()
234 bool isSmall() const { return Set.empty(); } in isSmall() function
240 if (!isSmall()) { in insertImpl()
H A DSetVector.h170 if (isSmall()) { in insert()
200 if (isSmall()) { in remove()
224 if (isSmall()) in erase()
250 if (isSmall()) in remove_if()
266 if (isSmall()) in contains()
276 if (isSmall()) in count()
365 [[nodiscard]] bool isSmall() const { return set_.empty(); } in isSmall() function
H A DSmallVector.h144 bool isSmall() const { return this->BeginX == getFirstEl(); } in isSmall() function
465 if (!this->isSmall()) in takeAllocationForGrow()
593 if (!this->isSmall()) in assignRemote()
604 if (!this->isSmall()) in ~SmallVectorImpl()
973 if (!this->isSmall() && !RHS.isSmall()) { in swap()
1058 if (!RHS.isSmall()) {
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp25 assert(!isSmall() && "Can't shrink a small set!"); in shrink_and_clear()
115 bool WasSmall = isSmall(); in Grow()
142 IsSmall = that.isSmall(); in SmallPtrSetImplBase()
166 if (isSmall() && RHS.isSmall()) in copyFrom()
171 if (RHS.isSmall()) { in copyFrom()
172 if (!isSmall()) in copyFrom()
178 if (isSmall()) in copyFrom()
206 if (!isSmall()) in moveFrom()
217 if (RHS.isSmall()) { in moveHelper()
245 if (!this->isSmall() && !RHS.isSmall()) { in swap()
[all …]
H A DDynamicAPInt.cpp16 if (X.isSmall()) in hash_value()
30 if (isSmall()) in print()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp438 bool ExprEngine::isSmall(AnalysisDeclContext *ADC) const { in isSmall() function in ExprEngine
478 if (!isSmall(CalleeADC)) in examineStackFrames()
510 isSmall(AMgr.getAnalysisDeclContext(D))); in REGISTER_MAP_WITH_PROGRAMSTATE()
1126 (!isSmall(CalleeADC) || IsRecursive)) in shouldInlineCall()
1137 if (HowToInline == Inline_Minimal && (!isSmall(CalleeADC) || IsRecursive)) in shouldInlineCall()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h799 bool isSmall(AnalysisDeclContext *ADC) const;