| /openbsd-src/gnu/llvm/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 | 263 unsigned NumInsts = 0; in computeFunctionSummary() local 305 ++NumInsts; in computeFunctionSummary() 565 Flags, NumInsts, FunFlags, /*EntryCount=*/0, std::move(Refs), in computeFunctionSummary()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | CodeMetrics.h | 52 InstructionCost NumInsts = 0; member
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 388 << F->getName() << " is " << Metrics.NumInsts in analyzeFunction() 552 if (Metrics.notDuplicatable || !Metrics.NumInsts.isValid() || in getSpecializationCost() 555 Metrics.NumInsts < SmallFunctionThreshold)) in getSpecializationCost() 560 return Metrics.NumInsts * InlineConstants::getInstrCost(); in getSpecializationCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | ADCE.cpp | 222 size_t NumInsts = 0; in initialize() local 227 NumInsts += BB.size(); in initialize() 235 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 | 832 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform() 854 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform() 862 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
|
| H A D | LoopUnrollPass.cpp | 677 InstructionCost LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 313 if (!Metrics.NumInsts.isValid()) { in rotateLoop() 319 if (Metrics.NumInsts > MaxHeaderSize) { in rotateLoop() 321 << Metrics.NumInsts in rotateLoop()
|
| H A D | LoopUnrollAndJam.cpp | 789 size_t NumInsts = CurrentLoadsAndStores.size(); in checkDependencies() local 790 for (size_t I = 0; I < NumInsts; ++I) { in checkDependencies() 791 for (size_t J = I; J < NumInsts; ++J) { in checkDependencies()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ReachingDefAnalysis.cpp | 156 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in reprocessBasicBlock() local 187 if (MBBOutRegsInfos[MBBNumber][Unit] < Def - NumInsts) in reprocessBasicBlock() 188 MBBOutRegsInfos[MBBNumber][Unit] = Def - NumInsts; in reprocessBasicBlock()
|
| H A D | MachineBlockPlacement.cpp | 3518 int NumInsts = std::distance(NonDbgInsts.begin(), NonDbgInsts.end()); in applyExtTsp() local 3519 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 805 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags, 816 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.h | 281 unsigned NumInsts) const override;
|
| H A D | ARMBaseInstrInfo.cpp | 2200 unsigned NumInsts) const { in extraSizeToPredicateInstructions() 2209 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetInstrInfo.h | 857 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 359 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 2861 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local 2862 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect() 2865 return RI.hasVGPRs(RC) && NumInsts <= 6; in canInsertSelect() 2876 int NumInsts = AMDGPU::getRegBitWidth(RC->getID()) / 32; in canInsertSelect() local 2879 if (NumInsts % 2 == 0) in canInsertSelect() 2880 NumInsts /= 2; in canInsertSelect() 2882 CondCycles = TrueCycles = FalseCycles = NumInsts; // ??? in canInsertSelect()
|
| H A D | SIISelLowering.cpp | 10760 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local 10766 return NumInsts <= 16; in shouldExpandVectorDynExt() 10770 return NumInsts <= 15; in shouldExpandVectorDynExt()
|