Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp128 InstrCost("inline-instr-cost", cl::Hidden, cl::init(5), variable
184 int getInstrCost() { return InstrCost; } in getInstrCost()
656 addCost(Call.arg_size() * InstrCost); in onCallArgumentSetup()
660 addCost(3 * InstrCost); in onLoadRelativeIntrinsic()
665 addCost(Call.arg_size() * InstrCost); in onLoweredCall()
697 static_cast<int64_t>(JumpTableSize) * InstrCost + 4 * InstrCost; in onFinalizeSwitch()
705 addCost(NumCaseCluster * 2 * InstrCost); in onFinalizeSwitch()
711 int64_t SwitchCost = ExpectedNumberOfCompare * 2 * InstrCost; in onFinalizeSwitch()
715 void onMissedSimplification() override { addCost(InstrCost); } in onMissedSimplification()
727 CostIt->second += InstrCost; in onAggregateSROAUse()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp855 int InstrCost = InlineConstants::getInstrCost(); in computeBBInlineCost() local
902 InlineCost += (SI->getNumCases() + 1) * InstrCost; in computeBBInlineCost()
905 InlineCost += InstrCost; in computeBBInlineCost()