Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DCodeMetrics.cpp126 InstructionCost NumInstsProxy = NumInsts; in analyzeBasicBlock()
127 InstructionCost NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
187 NumInsts = *NumInstsProxy.getValue(); in analyzeBasicBlock()
DModuleSummaryAnalysis.cpp247 unsigned NumInsts = 0; in computeFunctionSummary() local
271 ++NumInsts; in computeFunctionSummary()
473 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DCodeMetrics.h51 unsigned NumInsts = false; member
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DADCE.cpp222 size_t NumInsts = 0; in initialize() local
227 NumInsts += BB.size(); in initialize()
235 InstInfo.reserve(NumInsts); in initialize()
DLoopDataPrefetch.cpp302 unsigned LoopSize = Metrics.NumInsts; in runOnLoop()
DDFAJumpThreading.cpp791 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform()
799 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
DLoopUnrollPass.cpp667 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
DLoopUnswitch.cpp316 Props.SizeEstimation = Metrics.NumInsts; in countLoop()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DReachingDefAnalysis.cpp150 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in reprocessBasicBlock() local
181 if (MBBOutRegsInfos[MBBNumber][Unit] < Def - NumInsts) in reprocessBasicBlock()
182 MBBOutRegsInfos[MBBNumber][Unit] = Def - NumInsts; in reprocessBasicBlock()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp796 size_t NumInsts = CurrentLoadsAndStores.size(); in checkDependencies() local
797 for (size_t I = 0; I < NumInsts; ++I) { in checkDependencies()
798 for (size_t J = I; J < NumInsts; ++J) { in checkDependencies()
DLoopRotationUtils.cpp323 if (Metrics.NumInsts > MaxHeaderSize) { in rotateLoop()
325 << Metrics.NumInsts in rotateLoop()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DFunctionSpecialization.cpp265 return Metrics.NumInsts * InlineConstants::InstrCost * Penalty; in getSpecializationCost()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DModuleSummaryIndex.h657 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
667 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h281 unsigned NumInsts) const override;
DARMBaseInstrInfo.cpp2164 unsigned NumInsts) const { in extraSizeToPredicateInstructions()
2173 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h830 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp2558 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local
2559 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
2562 return RI.hasVGPRs(RC) && NumInsts <= 6; in canInsertSelect()
2573 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local
2576 if (NumInsts % 2 == 0) in canInsertSelect()
2577 NumInsts /= 2; in canInsertSelect()
2579 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
DSIISelLowering.cpp10086 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local
10088 return NumInsts <= 16; in shouldExpandVectorDynExt()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp731 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()