Home
last modified time | relevance | path

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

/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/include/llvm/Analysis/
DInlineCost.h36 const int InstrCost = 5; variable