/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 | 307 unsigned NumInsts = 0; in computeFunctionSummary() local 358 ++NumInsts; in computeFunctionSummary() 674 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), 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 | 305 if (!Metrics.NumInsts.isValid()) in runOnLoop() 308 unsigned LoopSize = *Metrics.NumInsts.getValue(); in runOnLoop()
|
H A D | DFAJumpThreading.cpp | 841 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform() 865 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform() 873 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
H A D | GVN.cpp | 1446 unsigned int NumInsts = MaxNumInsnsPerBlock; in findLoadToHoistIntoPred() local 1450 if (--NumInsts == 0) in findLoadToHoistIntoPred()
|
H A D | LoopUnrollPass.cpp | 692 LoopSize = Metrics.NumInsts; in UnrollCostEstimator()
|
/freebsd/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 | 3595 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in applyExtTsp() local 3596 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
|
/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 | 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/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/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 944 unsigned NumInsts = Seq.size(); in materializeImm() local 947 for (unsigned i = 0; i < NumInsts; i++) { in materializeImm() 948 Register TmpReg = i < NumInsts - 1 in materializeImm()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 915 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags, 926 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.h | 286 unsigned NumInsts) const override;
|
H A D | ARMBaseInstrInfo.cpp | 2187 unsigned NumInsts) const { in extraSizeToPredicateInstructions() 2196 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 357 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetInstrInfo.h | 890 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIInstrInfo.cpp | 3234 int NumInsts = AMDGPU::getRegBitWidth(*RC) / 32; in canInsertSelect() local 3235 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect() 3238 return RI.hasVGPRs(RC) && NumInsts <= 6; in canInsertSelect() 3249 int NumInsts = AMDGPU::getRegBitWidth(*RC) / 32; in canInsertSelect() local 3252 if (NumInsts % 2 == 0) in canInsertSelect() 3253 NumInsts /= 2; in canInsertSelect() 3255 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
|
H A D | SIISelLowering.cpp | 13344 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local 13350 return NumInsts <= 16; in shouldExpandVectorDynExt() 13354 return NumInsts <= 15; in shouldExpandVectorDynExt()
|