Searched refs:InstrCost (Results 1 – 4 of 4) sorted by relevance
160 Reduction += InlineConstants::InstrCost*Instrs*(NumSucc-1)/NumSucc; in CountCodeReductionForConstant()186 Reduction += InlineConstants::InstrCost; in CountCodeReductionForConstant()207 Reduction += InlineConstants::InstrCost; in CountCodeReductionForAlloca()409 InlineCost -= (CS.arg_size() * InlineConstants::InstrCost); in getInlineSize()418 InlineCost += CalleeFI->Metrics.NumInsts*InlineConstants::InstrCost; in getInlineSize()560 Cost += CalleeFI->Metrics.NumInsts * InlineConstants::InstrCost; in getSpecializationCost()
720 accumulateSROACost(CostIt, InlineConstants::InstrCost); in visitCmpInst()790 accumulateSROACost(CostIt, InlineConstants::InstrCost); in visitLoad()805 accumulateSROACost(CostIt, InlineConstants::InstrCost); in visitStore()906 Cost += 3 * InlineConstants::InstrCost; in visitCallSite()930 Cost += CS.arg_size() * InlineConstants::InstrCost; in visitCallSite()947 Cost += CS.arg_size() * InlineConstants::InstrCost; in visitCallSite()1012 Cost += (SuccessorBlocks.size() - 1) * InlineConstants::InstrCost; in visitSwitchInst()1124 Cost += InlineConstants::InstrCost; in analyzeBlock()1247 Cost -= 2 * NumStores * InlineConstants::InstrCost; in analyzeCall()1251 Cost -= InlineConstants::InstrCost; in analyzeCall()
31 const int InstrCost = 5; variable
36 const int InstrCost = 5; variable