Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCodeMetrics.cpp134 InstructionCost NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
213 NumInsts += TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
233 InstructionCost NumInstsThisBB = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
H A DModuleSummaryAnalysis.cpp315 unsigned NumInsts = 0; in computeFunctionSummary() local
366 ++NumInsts; in computeFunctionSummary()
723 Flags, NumInsts, FunFlags, std::move(Refs), CallGraphEdges.takeVector(), in computeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCodeMetrics.h55 InstructionCost NumInsts = 0; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp226 size_t NumInsts = 0; in initialize() local
231 NumInsts += BB.size(); in initialize()
239 InstInfo.reserve(NumInsts); in initialize()
H A DLoopDataPrefetch.cpp304 if (!Metrics.NumInsts.isValid()) in runOnLoop()
307 unsigned LoopSize = Metrics.NumInsts.getValue(); in runOnLoop()
H A DDFAJumpThreading.cpp882 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform()
906 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform()
914 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
H A DLoopUnrollPass.cpp693 LoopSize = Metrics.NumInsts; in UnrollCostEstimator()
H A DGVN.cpp1541 unsigned int NumInsts = MaxNumInsnsPerBlock; in findLoadToHoistIntoPred() local
1545 if (--NumInsts == 0) in findLoadToHoistIntoPred()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp469 if (!Metrics.NumInsts.isValid()) { in rotateLoop()
475 if (Metrics.NumInsts > MaxHeaderSize) { in rotateLoop()
477 << Metrics.NumInsts in rotateLoop()
H A DLoopUnrollAndJam.cpp791 size_t NumInsts = CurrentLoadsAndStores.size(); in checkDependencies() local
792 for (size_t I = 0; I < NumInsts; ++I) { in checkDependencies()
793 for (size_t J = I; J < NumInsts; ++J) { in checkDependencies()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DReachingDefAnalysis.cpp178 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in reprocessBasicBlock() local
209 if (MBBOutRegsInfos[MBBNumber][Unit] < Def - NumInsts) in reprocessBasicBlock()
210 MBBOutRegsInfos[MBBNumber][Unit] = Def - NumInsts; in reprocessBasicBlock()
H A DMachineBlockPlacement.cpp3709 size_t NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in applyExtTsp() local
3710 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp705 if (Metrics.notDuplicatable || !Metrics.NumInsts.isValid() || in run()
706 (RequireMinSize && Metrics.NumInsts < MinFunctionSize)) in run()
716 int64_t Sz = Metrics.NumInsts.getValue(); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp1059 unsigned NumInsts = Seq.size(); in materializeImm() local
1062 for (unsigned i = 0; i < NumInsts; i++) { in materializeImm()
1063 Register TmpReg = i < NumInsts - 1 in materializeImm()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h917 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
928 InstCount(NumInsts), FunFlags(FunFlags),
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h283 unsigned NumInsts) const override;
H A DARMBaseInstrInfo.cpp2030 unsigned NumInsts) const { in extraSizeToPredicateInstructions()
2039 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp360 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h913 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp3295 int NumInsts = AMDGPU::getRegBitWidth(*RC) / 32; in canInsertSelect() local
3296 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
3299 return RI.hasVGPRs(RC) && NumInsts <= 6; in canInsertSelect()
3310 int NumInsts = AMDGPU::getRegBitWidth(*RC) / 32; in canInsertSelect() local
3313 if (NumInsts % 2 == 0) in canInsertSelect()
3314 NumInsts /= 2; in canInsertSelect()
3316 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
H A DSIISelLowering.cpp14153 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local
14159 return NumInsts <= 16; in shouldExpandVectorDynExt()
14164 return NumInsts <= 15; in shouldExpandVectorDynExt()