Searched defs:PaddingCalculator (Results 1 – 1 of 1) sorted by relevance
341 struct PaddingCalculator { struct342 const DataLayout &DL;343 LLVMContext &Context;344 unsigned StructSize = 0;346 PaddingCalculator(LLVMContext &Context, DataLayout const &DL) in PaddingCalculator() argument351 void addType(Type *Ty) { in addType()359 void addTypes(SmallVectorImpl<Type *> const &Types) { in addTypes()364 unsigned computePadding(Type *Ty, unsigned ForcedAlignment) { in computePadding()378 ArrayType *getPaddingType(Type *Ty, unsigned ForcedAlignment) { in getPaddingType()