| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CodeMetrics.cpp | 134 InstructionCost NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock() 213 NumInsts += TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock() 233 InstructionCost NumInstsThisBB = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
|
| H A D | ModuleSummaryAnalysis.cpp | 315 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 D | CodeMetrics.h | 55 InstructionCost NumInsts = 0; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ADCE.cpp | 226 size_t NumInsts = 0; in initialize() local 231 NumInsts += BB.size(); in initialize() 239 InstInfo.reserve(NumInsts); in initialize()
|
| H A D | LoopDataPrefetch.cpp | 304 if (!Metrics.NumInsts.isValid()) in runOnLoop() 307 unsigned LoopSize = Metrics.NumInsts.getValue(); in runOnLoop()
|
| H A D | DFAJumpThreading.cpp | 882 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform() 906 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform() 914 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
| H A D | LoopUnrollPass.cpp | 693 LoopSize = Metrics.NumInsts; in UnrollCostEstimator()
|
| H A D | GVN.cpp | 1541 unsigned int NumInsts = MaxNumInsnsPerBlock; in findLoadToHoistIntoPred() local 1545 if (--NumInsts == 0) in findLoadToHoistIntoPred()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 469 if (!Metrics.NumInsts.isValid()) { in rotateLoop() 475 if (Metrics.NumInsts > MaxHeaderSize) { in rotateLoop() 477 << Metrics.NumInsts in rotateLoop()
|
| H A D | LoopUnrollAndJam.cpp | 791 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 D | ReachingDefAnalysis.cpp | 178 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 D | MachineBlockPlacement.cpp | 3709 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 D | FunctionSpecialization.cpp | 705 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 D | RISCVInstructionSelector.cpp | 1059 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 D | ModuleSummaryIndex.h | 917 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags, 928 InstCount(NumInsts), FunFlags(FunFlags),
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.h | 283 unsigned NumInsts) const override;
|
| H A D | ARMBaseInstrInfo.cpp | 2030 unsigned NumInsts) const { in extraSizeToPredicateInstructions() 2039 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 360 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 913 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 3295 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 D | SIISelLowering.cpp | 14153 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local 14159 return NumInsts <= 16; in shouldExpandVectorDynExt() 14164 return NumInsts <= 15; in shouldExpandVectorDynExt()
|