Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp59 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond() local
60 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in getBoundsCheckCond()
75 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in getBoundsCheckCond()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp325 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + in allocate() local
328 NeededSize + (Alignment - Chunk::getHeaderSize()) : NeededSize; in allocate()
357 BackendSize = NeededSize; in allocate()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dcombined.h336 const uptr NeededSize = variable
345 reportAllocationSizeTooBig(Size, NeededSize, MaxAllowedMallocSize);
347 DCHECK_LE(Size, NeededSize);
352 if (LIKELY(PrimaryT::canAllocate(NeededSize))) {
353 ClassId = SizeClassMap::getClassIdBySize(NeededSize);
378 reportOutOfMemory(NeededSize);
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp40 const scudo::uptr NeededSize = in isPrimaryAllocation() local
43 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isPrimaryAllocation()