| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CodeMetrics.cpp | 120 InstructionCost NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock() 180 NumInsts += TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock() 200 InstructionCost NumInstsThisBB = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
|
| H A D | ModuleSummaryAnalysis.cpp | 276 unsigned NumInsts = 0; in computeFunctionSummary() local 327 ++NumInsts; in computeFunctionSummary() 632 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CodeMetrics.h | 52 InstructionCost NumInsts = 0; member
|
| /freebsd-14.2/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 | 305 if (!Metrics.NumInsts.isValid()) in runOnLoop() 308 unsigned LoopSize = *Metrics.NumInsts.getValue(); in runOnLoop()
|
| H A D | DFAJumpThreading.cpp | 796 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform() 820 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform() 828 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
| H A D | GVN.cpp | 1381 unsigned int NumInsts = MaxNumInsnsPerBlock; in findLoadToHoistIntoPred() local 1385 if (--NumInsts == 0) in findLoadToHoistIntoPred()
|
| H A D | LoopUnrollPass.cpp | 677 LoopSize = Metrics.NumInsts; in UnrollCostEstimator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ReachingDefAnalysis.cpp | 155 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in reprocessBasicBlock() local 186 if (MBBOutRegsInfos[MBBNumber][Unit] < Def - NumInsts) in reprocessBasicBlock() 187 MBBOutRegsInfos[MBBNumber][Unit] = Def - NumInsts; in reprocessBasicBlock()
|
| H A D | MachineBlockPlacement.cpp | 3541 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in applyExtTsp() local 3542 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 459 if (!Metrics.NumInsts.isValid()) { in rotateLoop() 465 if (Metrics.NumInsts > MaxHeaderSize) { in rotateLoop() 467 << Metrics.NumInsts in rotateLoop()
|
| H A D | LoopUnrollAndJam.cpp | 788 size_t NumInsts = CurrentLoadsAndStores.size(); in checkDependencies() local 789 for (size_t I = 0; I < NumInsts; ++I) { in checkDependencies() 790 for (size_t J = I; J < NumInsts; ++J) { in checkDependencies()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 649 if (Metrics.notDuplicatable || !Metrics.NumInsts.isValid() || in run() 651 Metrics.NumInsts < MinFunctionSize)) in run() 660 int64_t Sz = *Metrics.NumInsts.getValue(); in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 916 unsigned NumInsts = Seq.size(); in materializeImm() local 919 for (unsigned i = 0; i < NumInsts; i++) { in materializeImm() 920 Register TmpReg = i < NumInsts - 1 in materializeImm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 873 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags, 884 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.h | 281 unsigned NumInsts) const override;
|
| H A D | ARMBaseInstrInfo.cpp | 2186 unsigned NumInsts) const { in extraSizeToPredicateInstructions() 2195 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 864 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 357 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 3183 int NumInsts = AMDGPU::getRegBitWidth(*RC) / 32; in canInsertSelect() local 3184 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect() 3187 return RI.hasVGPRs(RC) && NumInsts <= 6; in canInsertSelect() 3198 int NumInsts = AMDGPU::getRegBitWidth(*RC) / 32; in canInsertSelect() local 3201 if (NumInsts % 2 == 0) in canInsertSelect() 3202 NumInsts /= 2; in canInsertSelect() 3204 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
|
| H A D | SIISelLowering.cpp | 13046 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local 13052 return NumInsts <= 16; in shouldExpandVectorDynExt() 13056 return NumInsts <= 15; in shouldExpandVectorDynExt()
|