Searched refs:NeededSize (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 128 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in instrument() local 129 DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in instrument() 144 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in instrument()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 61 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond() local 62 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in getBoundsCheckCond() 77 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in getBoundsCheckCond()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 61 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond() local 62 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in getBoundsCheckCond() 77 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in getBoundsCheckCond()
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 335 uptr NeededSize = RoundedSize + ExtraBytes; in allocate() local 336 if (NeededSize >= MaxAllowedMallocSize) in allocate() 341 Ptr = BackendAllocator.Allocate(&Cache, NeededSize, MinAlignment); in allocate() 344 Ptr = BackendAllocator.Allocate(&FallbackAllocatorCache, NeededSize, in allocate() 358 CHECK_LE(ChunkBeg + Size, AllocBeg + NeededSize); in allocate()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | combined.h | 301 const uptr NeededSize = variable 310 reportAllocationSizeTooBig(Size, NeededSize, MaxAllowedMallocSize); 312 DCHECK_LE(Size, NeededSize); 317 if (LIKELY(PrimaryT::canAllocate(NeededSize))) { 318 ClassId = SizeClassMap::getClassIdBySize(NeededSize); 340 Block = Secondary.allocate(NeededSize, Alignment, &SecondaryBlockEnd, 346 reportOutOfMemory(NeededSize);
|
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 321 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + in allocate() local 324 NeededSize + (Alignment - Chunk::getHeaderSize()) : NeededSize; in allocate() 353 BackendSize = NeededSize; in allocate()
|
/external/scudo/standalone/ |
D | combined.h | 330 const uptr NeededSize = variable 339 reportAllocationSizeTooBig(Size, NeededSize, MaxAllowedMallocSize); 341 DCHECK_LE(Size, NeededSize); 346 if (LIKELY(PrimaryT::canAllocate(NeededSize))) { 347 ClassId = SizeClassMap::getClassIdBySize(NeededSize); 372 reportOutOfMemory(NeededSize);
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | combined_test.cpp | 46 const scudo::uptr NeededSize = in isTaggedAllocation() local 49 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isTaggedAllocation()
|
/external/scudo/standalone/tests/ |
D | combined_test.cpp | 39 const scudo::uptr NeededSize = in isPrimaryAllocation() local 42 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isPrimaryAllocation()
|