Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp139 size_t PaddedSize = 5; in encodeInstruction() local
146 PaddedSize = 10; in encodeInstruction()
159 PaddedSize = 10; in encodeInstruction()
167 encodeULEB128(0, OS, PaddedSize); in encodeInstruction()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DAllocator.h177 size_t PaddedSize = SizeToAllocate + Alignment.value() - 1; in Allocate() local
178 if (PaddedSize > SizeThreshold) { in Allocate()
180 this->getAllocator().Allocate(PaddedSize, alignof(std::max_align_t)); in Allocate()
183 __asan_poison_memory_region(NewSlab, PaddedSize); in Allocate()
184 CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); in Allocate()
187 assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize); in Allocate()
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dplacement-new-fp-suppression.cpp56 size_t PaddedSize = SizeToAllocate + Alignment - 1; in Allocate() local
57 uintptr_t AlignedAddr = alignAddr(Allocator.Allocate(PaddedSize, 0), in Allocate()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp7604 CharUnits PaddedSize = CharUnits::fromQuantity(8); in EmitVAArg() local
7605 if (IsVector && UnpaddedSize > PaddedSize) in EmitVAArg()
7606 PaddedSize = CharUnits::fromQuantity(16); in EmitVAArg()
7607 assert((UnpaddedSize <= PaddedSize) && "Invalid argument size."); in EmitVAArg()
7609 CharUnits Padding = (PaddedSize - UnpaddedSize); in EmitVAArg()
7613 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg()
7636 assert(PaddedSize.getQuantity() == 8); in EmitVAArg()
7671 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg()
7681 CGF.Int8Ty, PaddedSize); in EmitVAArg()
7700 CGF.Int8Ty, PaddedSize); in EmitVAArg()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp982 uint32_t PaddedSize = alignTo(SubSectionSize, 4); in initializeFileAndStringTables() local
983 if (Error E = Reader.skip(PaddedSize - SubSectionSize)) in initializeFileAndStringTables()
H A DELFDumper.cpp5004 uint64_t PaddedSize = alignTo(DataSize, sizeof(typename ELFT::uint)); in getGNUPropertyList() local
5007 if (Arr.size() < PaddedSize) { in getGNUPropertyList()
5013 getGNUProperty<ELFT>(Type, DataSize, Arr.take_front(PaddedSize))); in getGNUPropertyList()
5014 Arr = Arr.drop_front(PaddedSize); in getGNUPropertyList()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp3804 unsigned PaddedSize = Size + ((RequiredPadding == 4) ? 0 : RequiredPadding); in promoteToConstantPool() local
3813 if (AFI->getPromotedConstpoolIncrease() + PaddedSize - 4 >= in promoteToConstantPool()
3843 PaddedSize - 4); in promoteToConstantPool()