Lines Matching refs:RL
79 const ASTRecordLayout &RL = ASTContext.getASTRecordLayout(RD); in visitRecord() local
80 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord()
82 CharUnits BaselinePad = calculateBaselinePad(RD, ASTContext, RL); in visitRecord()
85 CharUnits OptimalPad = calculateOptimalPad(RD, ASTContext, RL); in visitRecord()
168 const ASTRecordLayout &RL) { in calculateBaselinePad() argument
170 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateBaselinePad()
177 auto FieldOffsetBits = RL.getFieldOffset(FD->getFieldIndex()); in calculateBaselinePad()
182 PaddingSum += RL.getSize() - Offset; in calculateBaselinePad()
204 const ASTRecordLayout &RL) { in calculateOptimalPad() argument
234 CharUnits NewOffset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0)); in calculateOptimalPad()
269 CharUnits NewSize = NewOffset.alignTo(RL.getAlignment()); in calculateOptimalPad()