Home
last modified time | relevance | path

Searched defs:PaddingCalculator (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp341 struct PaddingCalculator { struct
342 const DataLayout &DL;
343 LLVMContext &Context;
344 unsigned StructSize = 0;
346 PaddingCalculator(LLVMContext &Context, DataLayout const &DL) in PaddingCalculator() argument
351 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()