Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCodeMetrics.cpp122 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
178 NumInsts += TTI.getUserCost(&I); in analyzeBasicBlock()
198 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
H A DModuleSummaryAnalysis.cpp240 unsigned NumInsts = 0; in computeFunctionSummary() local
263 ++NumInsts; in computeFunctionSummary()
399 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DCodeMetrics.h63 unsigned NumInsts = false; member
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DADCE.cpp220 size_t NumInsts = 0; in initialize() local
225 NumInsts += BB.size(); in initialize()
233 InstInfo.reserve(NumInsts); in initialize()
H A DLoopDataPrefetch.cpp236 unsigned LoopSize = Metrics.NumInsts; in runOnLoop()
H A DLoopUnrollPass.cpp631 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
H A DLoopUnswitch.cpp303 Props.SizeEstimation = Metrics.NumInsts; in countLoop()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h535 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
544 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp255 if (Metrics.NumInsts > MaxHeaderSize) in rotateLoop()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp503 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in convertToCTRLoop()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp1825 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local
1826 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
1829 return !RI.isSGPRClass(RC) && NumInsts <= 6; in canInsertSelect()
1839 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local
1842 if (NumInsts % 2 == 0) in canInsertSelect()
1843 NumInsts /= 2; in canInsertSelect()
1845 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()