Home
last modified time | relevance | path

Searched refs:PaddedSize (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DAllocator.h235 size_t PaddedSize = Size + Alignment - 1; in Allocate() local
236 if (PaddedSize > SizeThreshold) { in Allocate()
237 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate()
240 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate()
241 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate()
244 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate()
/external/llvm/include/llvm/Support/
DAllocator.h232 size_t PaddedSize = Size + Alignment - 1; in Allocate() local
233 if (PaddedSize > SizeThreshold) { in Allocate()
234 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate()
237 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate()
238 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate()
241 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate()
/external/swiftshader/third_party/LLVM/lib/Support/
DAllocator.cpp109 size_t PaddedSize = Size + sizeof(MemSlab) + Alignment - 1; in Allocate() local
110 if (PaddedSize > SizeThreshold) { in Allocate()
111 MemSlab *NewSlab = Allocator.Allocate(PaddedSize); in Allocate()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp733 uint32_t PaddedSize = alignTo(SubSectionSize, 4); in initializeFileAndStringTables() local
734 if (PaddedSize > Data.size()) in initializeFileAndStringTables()
736 Data = Data.drop_front(PaddedSize); in initializeFileAndStringTables()
990 unsigned PaddedSize = alignTo(FC->ChecksumSize + sizeof(FileChecksum), 4) - in printCodeViewFileChecksums() local
992 if (PaddedSize > Data.size()) in printCodeViewFileChecksums()
994 Data = Data.drop_front(PaddedSize); in printCodeViewFileChecksums()
/external/clang/lib/CodeGen/
DTargetInfo.cpp5953 CharUnits PaddedSize = CharUnits::fromQuantity(8); in EmitVAArg() local
5954 if (IsVector && UnpaddedSize > PaddedSize) in EmitVAArg()
5955 PaddedSize = CharUnits::fromQuantity(16); in EmitVAArg()
5956 assert((UnpaddedSize <= PaddedSize) && "Invalid argument size."); in EmitVAArg()
5958 CharUnits Padding = (PaddedSize - UnpaddedSize); in EmitVAArg()
5962 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg()
5986 assert(PaddedSize.getQuantity() == 8); in EmitVAArg()
6022 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg()
6033 PaddedSize); in EmitVAArg()
6052 PaddedSize); in EmitVAArg()