Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAllocator.h244 size_t PaddedSize = SizeToAllocate + Alignment - 1; in Allocate() local
245 if (PaddedSize > SizeThreshold) { in Allocate()
246 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate()
249 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate()
250 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate()
253 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp145 size_t PaddedSize = 5; in encodeInstruction() local
152 PaddedSize = 10; in encodeInstruction()
167 encodeULEB128(0, OS, PaddedSize); in encodeInstruction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DTargetInfo.cpp6587 CharUnits PaddedSize = CharUnits::fromQuantity(8); in EmitVAArg() local
6588 if (IsVector && UnpaddedSize > PaddedSize) in EmitVAArg()
6589 PaddedSize = CharUnits::fromQuantity(16); in EmitVAArg()
6590 assert((UnpaddedSize <= PaddedSize) && "Invalid argument size."); in EmitVAArg()
6592 CharUnits Padding = (PaddedSize - UnpaddedSize); in EmitVAArg()
6596 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg()
6620 assert(PaddedSize.getQuantity() == 8); in EmitVAArg()
6656 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg()
6667 PaddedSize); in EmitVAArg()
6686 PaddedSize); in EmitVAArg()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp947 uint32_t PaddedSize = alignTo(SubSectionSize, 4); in initializeFileAndStringTables() local
948 error(Reader.skip(PaddedSize - SubSectionSize)); in initializeFileAndStringTables()
H A DELFDumper.cpp3748 uint64_t PaddedSize = alignTo(DataSize, sizeof(typename ELFT::uint)); in getGNUPropertyList() local
3751 if (Arr.size() < PaddedSize) { in getGNUPropertyList()
3757 getGNUProperty<ELFT>(Type, DataSize, Arr.take_front(PaddedSize))); in getGNUPropertyList()
3758 Arr = Arr.drop_front(PaddedSize); in getGNUPropertyList()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp3107 unsigned PaddedSize = Size + ((RequiredPadding == 4) ? 0 : RequiredPadding); in promoteToConstantPool() local
3116 if (AFI->getPromotedConstpoolIncrease() + PaddedSize - 4 >= in promoteToConstantPool()
3147 PaddedSize - 4); in promoteToConstantPool()