Searched defs:PaddingCalculator (Results 1 – 1 of 1) sorted by relevance
318 struct PaddingCalculator { struct319 const DataLayout &DL;320 LLVMContext &Context;321 unsigned StructSize = 0;323 PaddingCalculator(LLVMContext &Context, DataLayout const &DL) in PaddingCalculator() function328 void addType(Type *Ty) { in addType()336 void addTypes(SmallVectorImpl<Type *> const &Types) { in addTypes()341 unsigned computePadding(Type *Ty, unsigned ForcedAlignment) { in computePadding()355 ArrayType *getPaddingType(Type *Ty, unsigned ForcedAlignment) { in getPaddingType()