Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp60 TypeSize NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond() local
61 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in getBoundsCheckCond()
76 Value *NeededSizeVal = IRB.CreateTypeSize(IndexTy, NeededSize); in getBoundsCheckCond()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h370 const uptr NeededSize = variable
379 reportAllocationSizeTooBig(Size, NeededSize, MaxAllowedMallocSize);
381 DCHECK_LE(Size, NeededSize);
386 if (LIKELY(PrimaryT::canAllocate(NeededSize))) {
387 ClassId = SizeClassMap::getClassIdBySize(NeededSize);
410 reportOutOfMemory(NeededSize);