Home
last modified time | relevance | path

Searched refs:NumInsts (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp59 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
88 NumInsts += CS.arg_size(); in analyzeBasicBlock()
127 ++NumInsts; in analyzeBasicBlock()
142 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
250 --Metrics.NumInsts; in analyzeFunction()
418 InlineCost += CalleeFI->Metrics.NumInsts*InlineConstants::InstrCost; in getInlineSize()
560 Cost += CalleeFI->Metrics.NumInsts * InlineConstants::InstrCost; in getSpecializationCost()
590 if (CalleeFI.Metrics.NumVectorInsts > CalleeFI.Metrics.NumInsts/2) in getInlineFudgeFactor()
592 else if (CalleeFI.Metrics.NumVectorInsts > CalleeFI.Metrics.NumInsts/10) in getInlineFudgeFactor()
604 if (CallerMetrics.NumBlocks < 10 && CallerMetrics.NumInsts < 1000) { in growCachedCostInfo()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DCodeMetrics.h45 unsigned NumInsts, NumBlocks; member
68 NumInsts(0), NumBlocks(0), NumCalls(0), in CodeMetrics()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp109 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
165 NumInsts += TTI.getUserCost(&I); in analyzeBasicBlock()
185 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
DModuleSummaryAnalysis.cpp72 unsigned NumInsts = 0; in computeFunctionSummary() local
82 ++NumInsts; in computeFunctionSummary()
100 llvm::make_unique<FunctionSummary>(Flags, NumInsts); in computeFunctionSummary()
/external/llvm/include/llvm/Analysis/
DCodeMetrics.h63 unsigned NumInsts = false; member
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h246 FunctionSummary(GVFlags Flags, unsigned NumInsts) in FunctionSummary() argument
247 : GlobalValueSummary(FunctionKind, Flags), InstCount(NumInsts) {} in FunctionSummary()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2InstrInfo.cpp583 unsigned NumInsts = 0; in scheduleTwoAddrSource() local
594 if (++NumInsts == 4) in scheduleTwoAddrSource()
599 if (NumInsts) { in scheduleTwoAddrSource()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnrollPass.cpp119 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
DLoopRotation.cpp180 if (Metrics.NumInsts > MAX_HEADER_SIZE) in rotateLoop()
DLoopUnswitch.cpp450 if (Metrics.NumInsts > Threshold || in UnswitchIfProfitable()
/external/llvm/lib/Transforms/Scalar/
DLoopDataPrefetch.cpp202 unsigned LoopSize = Metrics.NumInsts; in runOnLoop()
DLoopRotation.cpp235 if (Metrics.NumInsts > MaxHeaderSize) in rotateLoop()
DLoopUnrollPass.cpp543 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
DLoopUnswitch.cpp292 Props.SizeEstimation = Metrics.NumInsts; in countLoop()