Home | History | Annotate | Download | only in IPA

Lines Matching refs:CA

781   CallAnalyzer CA(DL, TTI, *F, InlineConstants::IndirectCallThreshold);
782 if (CA.analyzeCall(CS)) {
785 Cost -= std::max(0, InlineConstants::IndirectCallThreshold - CA.getCost());
1293 CallAnalyzer CA(Callee->getDataLayout(), *TTI, *Callee, Threshold);
1294 bool ShouldInline = CA.analyzeCall(CS);
1296 DEBUG(CA.dump());
1299 if (!ShouldInline && CA.getCost() < CA.getThreshold())
1301 if (ShouldInline && CA.getCost() >= CA.getThreshold())
1304 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold());