Lines Matching refs:CA
643 InlineCostCallAnalyzer CA(*F, Call, IndirectCallParams, TTI, in onLoweredCall() local
645 if (CA.analyze().isSuccess()) { in onLoweredCall()
648 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall()
1116 InlineCostCallAnalyzer CA(*F, Call, IndirectCallParams, TTI, in onLoweredCall() local
1119 if (CA.analyze().isSuccess()) { in onLoweredCall()
1121 CA.getCost()); in onLoweredCall()
2807 InlineCostCallAnalyzer CA(*Call.getCalledFunction(), Call, Params, CalleeTTI, in getInliningCostEstimate() local
2810 auto R = CA.analyze(); in getInliningCostEstimate()
2813 return CA.getCost(); in getInliningCostEstimate()
2921 InlineCostCallAnalyzer CA(*Callee, Call, Params, CalleeTTI, in getInlineCost() local
2923 InlineResult ShouldInline = CA.analyze(); in getInlineCost()
2925 LLVM_DEBUG(CA.dump()); in getInlineCost()
2930 if (CA.wasDecidedByCostBenefit()) { in getInlineCost()
2933 CA.getCostBenefitPair()); in getInlineCost()
2935 return InlineCost::getNever("cost over benefit", CA.getCostBenefitPair()); in getInlineCost()
2938 if (CA.wasDecidedByCostThreshold()) in getInlineCost()
2939 return InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()