Lines Matching full:lowering
1 //===--- SwiftCallingConv.cpp - Lowering for the Swift calling convention -===//
9 // Implementation of the abstract lowering for the Swift calling convention.
562 assert(Finished && "haven't yet finished lowering"); in enumerateComponents()
571 assert(Finished && "haven't yet finished lowering"); in getCoerceAndExpandTypes()
628 assert(Finished && "haven't yet finished lowering"); in shouldPassIndirectly()
798 static ABIArgInfo classifyExpandedType(SwiftAggLowering &lowering, in classifyExpandedType() argument
801 if (lowering.empty()) { in classifyExpandedType()
803 } else if (lowering.shouldPassIndirectly(forReturn)) { in classifyExpandedType()
806 auto types = lowering.getCoerceAndExpandTypes(); in classifyExpandedType()
820 SwiftAggLowering lowering(CGM); in classifyType() local
821 lowering.addTypedData(recordType->getDecl(), CharUnits::Zero(), layout); in classifyType()
822 lowering.finish(); in classifyType()
824 return classifyExpandedType(lowering, forReturn, layout.getAlignment()); in classifyType()
835 SwiftAggLowering lowering(CGM); in classifyType() local
836 lowering.addTypedData(type, CharUnits::Zero()); in classifyType()
837 lowering.finish(); in classifyType()
840 return classifyExpandedType(lowering, forReturn, alignment); in classifyType()