Home
last modified time | relevance | path

Searched refs:InstrCost (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp366 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInlineCost.h43 const int InstrCost = 5; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp883 InlineCost += (SI->getNumCases() + 1) * InlineConstants::InstrCost; in computeBBInlineCost()
886 InlineCost += InlineConstants::InstrCost; in computeBBInlineCost()
912 2 * InlineConstants::InstrCost * Cloner.OutlinedFunctions.size(); in computeOutliningCosts()