Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp224 auto NeededSize = ContextNode::getAllocSize(NumCounters, 0); in getFlatProfile() local
230 AllocBuff = FlatCtxArena->tryBumpAllocate(NeededSize); in getFlatProfile()
232 FlatCtxArena = Arena::allocateNewArena(getArenaAllocSize(NeededSize), in getFlatProfile()
234 AllocBuff = FlatCtxArena->tryBumpAllocate(NeededSize); in getFlatProfile()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp63 TypeSize NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond() local
64 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in getBoundsCheckCond()
79 Value *NeededSizeVal = IRB.CreateTypeSize(IndexTy, NeededSize); in getBoundsCheckCond()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h378 const uptr NeededSize = variable
387 reportAllocationSizeTooBig(Size, NeededSize, MaxAllowedMallocSize);
389 DCHECK_LE(Size, NeededSize);
394 if (LIKELY(PrimaryT::canAllocate(NeededSize))) {
395 ClassId = SizeClassMap::getClassIdBySize(NeededSize);
418 reportOutOfMemory(NeededSize);