Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DCodeMetrics.cpp120 InstructionCost NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
180 NumInsts += TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
200 InstructionCost NumInstsThisBB = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
H A DModuleSummaryAnalysis.cpp263 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 DCodeMetrics.h52 InstructionCost NumInsts = 0; member
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp388 << 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 DADCE.cpp222 size_t NumInsts = 0; in initialize() local
227 NumInsts += BB.size(); in initialize()
235 InstInfo.reserve(NumInsts); in initialize()
H A DLoopDataPrefetch.cpp305 if (!Metrics.NumInsts.isValid()) in runOnLoop()
308 unsigned LoopSize = *Metrics.NumInsts.getValue(); in runOnLoop()
H A DDFAJumpThreading.cpp832 if (!Metrics.NumInsts.isValid()) { in isLegalAndProfitableToTransform()
854 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform()
862 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
H A DLoopUnrollPass.cpp677 InstructionCost LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp313 if (!Metrics.NumInsts.isValid()) { in rotateLoop()
319 if (Metrics.NumInsts > MaxHeaderSize) { in rotateLoop()
321 << Metrics.NumInsts in rotateLoop()
H A DLoopUnrollAndJam.cpp789 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 DReachingDefAnalysis.cpp156 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 DMachineBlockPlacement.cpp3518 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 DModuleSummaryIndex.h805 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
816 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h281 unsigned NumInsts) const override;
H A DARMBaseInstrInfo.cpp2200 unsigned NumInsts) const { in extraSizeToPredicateInstructions()
2209 return divideCeil(NumInsts, MaxInsts) * 2; in extraSizeToPredicateInstructions()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h857 unsigned NumInsts) const { in extraSizeToPredicateInstructions() argument
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp359 if (Metrics.NumInsts <= (6 * SchedModel.getIssueWidth())) in isHardwareLoopProfitable()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2861 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 DSIISelLowering.cpp10760 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() local
10766 return NumInsts <= 16; in shouldExpandVectorDynExt()
10770 return NumInsts <= 15; in shouldExpandVectorDynExt()