Lines Matching refs:InstrCost

505   const int CostUpperBound = INT_MAX - InlineConstants::InstrCost - 1;
621 addCost(Call.arg_size() * InlineConstants::InstrCost); in onCallArgumentSetup()
625 addCost(3 * InlineConstants::InstrCost); in onLoadRelativeIntrinsic()
630 addCost(Call.arg_size() * InlineConstants::InstrCost); in onLoweredCall()
662 static_cast<int64_t>(JumpTableSize) * InlineConstants::InstrCost + in onFinalizeSwitch()
663 4 * InlineConstants::InstrCost; in onFinalizeSwitch()
671 addCost(NumCaseCluster * 2 * InlineConstants::InstrCost); in onFinalizeSwitch()
678 ExpectedNumberOfCompare * 2 * InlineConstants::InstrCost; in onFinalizeSwitch()
683 addCost(InlineConstants::InstrCost); in onMissedSimplification()
696 CostIt->second += InlineConstants::InstrCost; in onAggregateSROAUse()
697 SROACostSavings += InlineConstants::InstrCost; in onAggregateSROAUse()
824 CurrentSavings += InlineConstants::InstrCost; in costBenefitAnalysis()
829 CurrentSavings += InlineConstants::InstrCost; in costBenefitAnalysis()
948 LoadEliminationCost += InlineConstants::InstrCost; in onLoadEliminationOpportunity()
1089 Call.arg_size() * InlineConstants::InstrCost); in onCallArgumentSetup()
1094 3 * InlineConstants::InstrCost); in onLoadRelativeIntrinsic()
1100 Call.arg_size() * InlineConstants::InstrCost); in onLoweredCall()
1134 static_cast<int64_t>(JumpTableSize) * InlineConstants::InstrCost + in onFinalizeSwitch()
1135 JTCostMultiplier * InlineConstants::InstrCost; in onFinalizeSwitch()
1143 InlineConstants::InstrCost); in onFinalizeSwitch()
1151 InlineConstants::InstrCost; in onFinalizeSwitch()
1157 InlineConstants::InstrCost); in onMissedSimplification()
1162 SROACosts.find(Arg)->second += InlineConstants::InstrCost; in onAggregateSROAUse()
1163 SROACostSavingOpportunities += InlineConstants::InstrCost; in onAggregateSROAUse()
2769 Cost += 2 * NumStores * InlineConstants::InstrCost; in getCallsiteCost()
2773 Cost += InlineConstants::InstrCost; in getCallsiteCost()
2777 Cost += InlineConstants::InstrCost + CallPenalty; in getCallsiteCost()