Home
last modified time | relevance | path

Searched refs:NumInsts (Results 1 – 25 of 25) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCodeMetrics.cpp122 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
178 NumInsts += TTI.getUserCost(&I); in analyzeBasicBlock()
198 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
DModuleSummaryAnalysis.cpp231 unsigned NumInsts = 0; in computeFunctionSummary() local
253 ++NumInsts; in computeFunctionSummary()
368 Flags, NumInsts, FunFlags, RefEdges.takeVector(), in computeFunctionSummary()
/external/llvm/include/llvm/Analysis/
DCodeMetrics.h63 unsigned NumInsts = false; member
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCodeMetrics.h63 unsigned NumInsts = false; member
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DADCE.cpp219 size_t NumInsts = 0; in initialize() local
224 NumInsts += BB.size(); in initialize()
232 InstInfo.reserve(NumInsts); in initialize()
DLoopDataPrefetch.cpp236 unsigned LoopSize = Metrics.NumInsts; in runOnLoop()
DLoopUnrollPass.cpp631 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
DLoopUnswitch.cpp295 Props.SizeEstimation = Metrics.NumInsts; in countLoop()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h506 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
514 InstCount(NumInsts), FunFlags(FunFlags),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp250 if (Metrics.NumInsts > MaxHeaderSize) in rotateLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp503 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in convertToCTRLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp1796 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local
1797 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
1800 return !RI.isSGPRClass(RC) && NumInsts <= 6; in canInsertSelect()
1810 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local
1813 if (NumInsts % 2 == 0) in canInsertSelect()
1814 NumInsts /= 2; in canInsertSelect()
1816 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()