Searched refs:InstrCost (Results 1 – 3 of 3) sorted by relevance
366 const int CostUpperBound = INT_MAX - InlineConstants::InstrCost - 1;437 addCost(Call.arg_size() * InlineConstants::InstrCost); in onCallArgumentSetup()441 addCost(3 * InlineConstants::InstrCost); in onLoadRelativeIntrinsic()446 addCost(Call.arg_size() * InlineConstants::InstrCost); in onLoweredCall()477 int64_t JTCost = (int64_t)JumpTableSize * InlineConstants::InstrCost + in onFinalizeSwitch()478 4 * InlineConstants::InstrCost; in onFinalizeSwitch()500 addCost(NumCaseCluster * 2 * InlineConstants::InstrCost); in onFinalizeSwitch()506 ExpectedNumberOfCompare * 2 * InlineConstants::InstrCost; in onFinalizeSwitch()511 addCost(InlineConstants::InstrCost); in onCommonInstructionSimplification()525 CostIt->second += InlineConstants::InstrCost; in onAggregateSROAUse()[all …]
43 const int InstrCost = 5; variable
883 InlineCost += (SI->getNumCases() + 1) * InlineConstants::InstrCost; in computeBBInlineCost()886 InlineCost += InlineConstants::InstrCost; in computeBBInlineCost()912 2 * InlineConstants::InstrCost * Cloner.OutlinedFunctions.size(); in computeOutliningCosts()