Lines Matching refs:Cost
63 int Cost; member in __anonb653f77d0111::CallAnalyzer
167 Cost(0), IsCallerRecursive(false), IsRecursiveCall(false), in CallAnalyzer()
180 int getCost() { return Cost; } in getCost()
226 Cost += CostIt->second; in disableSROA()
804 Cost += CS.arg_size() * InlineConstants::InstrCost; in visitCallSite()
809 Cost += InlineConstants::CallPenalty; in visitCallSite()
821 Cost += CS.arg_size() * InlineConstants::InstrCost; in visitCallSite()
838 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in visitCallSite()
885 Cost += (SuccessorBlocks.size() - 1) * InlineConstants::InstrCost; in visitSwitchInst()
987 Cost += InlineConstants::CallPenalty; in analyzeBlock()
998 Cost += InlineConstants::InstrCost; in analyzeBlock()
1014 if (Cost > Threshold) in analyzeBlock()
1117 Cost -= 2 * NumStores * InlineConstants::InstrCost; in analyzeCall()
1121 Cost -= InlineConstants::InstrCost; in analyzeCall()
1130 Cost += InlineConstants::LastCallToStaticBonus; in analyzeCall()
1146 Cost += InlineConstants::ColdccPenalty; in analyzeCall()
1149 if (Cost > Threshold) in analyzeCall()
1213 if (Cost > Threshold) in analyzeCall()
1299 return Cost <= std::max(0, Threshold); in analyzeCall()
1316 DEBUG_PRINT_STAT(Cost); in dump()