Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp1021 accumulateSROACost(CostIt, InlineConstants::InstrCost); in visitCmpInst()
1100 accumulateSROACost(CostIt, InlineConstants::InstrCost); in visitLoad()
1112 LoadEliminationCost += InlineConstants::InstrCost; in visitLoad()
1124 accumulateSROACost(CostIt, InlineConstants::InstrCost); in visitStore()
1228 Cost += 3 * InlineConstants::InstrCost; in visitCallSite()
1258 Cost += CS.arg_size() * InlineConstants::InstrCost; in visitCallSite()
1277 Cost += CS.arg_size() * InlineConstants::InstrCost; in visitCallSite()
1428 int CostUpperBound = INT_MAX - InlineConstants::InstrCost - 1; in visitSwitchInst()
1436 (int64_t)SI.getNumCases() * InlineConstants::InstrCost + Cost); in visitSwitchInst()
1450 int64_t JTCost = (int64_t)JumpTableSize * InlineConstants::InstrCost + in visitSwitchInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp160 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()
/external/llvm/lib/Analysis/
DInlineCost.cpp720 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()
/external/llvm/include/llvm/Analysis/
DInlineCost.h31 const int InstrCost = 5; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInlineCost.h44 const int InstrCost = 5; variable
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DInlineCost.h36 const int InstrCost = 5; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp873 InlineCost += (SI->getNumCases() + 1) * InlineConstants::InstrCost; in computeBBInlineCost()
876 InlineCost += InlineConstants::InstrCost; in computeBBInlineCost()
902 2 * InlineConstants::InstrCost * Cloner.OutlinedFunctions.size(); in computeOutliningCosts()