Home | History | Annotate | Download | only in IPA

Lines Matching defs:getCost

152   int getCost() { return Cost; }
782 Cost -= std::max(0, InlineConstants::IndirectCallThreshold - CA.getCost());
1207 if (!ShouldInline && CA.getCost() < CA.getThreshold())
1209 if (ShouldInline && CA.getCost() >= CA.getThreshold())
1212 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold());