Searched refs:PaddedSize (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 235 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/ |
D | Allocator.h | 232 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-7.0/llvm/include/llvm/Support/ |
D | Allocator.h | 243 size_t PaddedSize = SizeToAllocate + Alignment - 1; in Allocate() local 244 if (PaddedSize > SizeThreshold) { in Allocate() 245 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() 248 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate() 249 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate() 252 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Allocator.cpp | 109 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
D | WebAssemblyMCCodeEmitter.cpp | 130 size_t PaddedSize = 5; in encodeInstruction() local 135 PaddedSize = 10; in encodeInstruction() 149 encodeULEB128(0, OS, PaddedSize); in encodeInstruction()
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 733 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/ |
D | TargetInfo.cpp | 5953 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 942 uint32_t PaddedSize = alignTo(SubSectionSize, 4); in initializeFileAndStringTables() local 943 error(Reader.skip(PaddedSize - SubSectionSize)); in initializeFileAndStringTables()
|
D | ELFDumper.cpp | 3711 uint64_t PaddedSize = alignTo(DataSize, sizeof(typename ELFT::uint)); in printGNUNote() local 3712 if (Arr.size() < PaddedSize) { in printGNUNote() 3717 printGNUProperty<ELFT>(OS, Type, DataSize, Arr.take_front(PaddedSize)); in printGNUNote() 3718 Arr = Arr.drop_front(PaddedSize); in printGNUNote()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 3139 unsigned PaddedSize = Size + ((RequiredPadding == 4) ? 0 : RequiredPadding); in promoteToConstantPool() local 3148 if (AFI->getPromotedConstpoolIncrease() + PaddedSize - 4 >= in promoteToConstantPool() 3177 PaddedSize - 4); in promoteToConstantPool()
|