Home
last modified time | relevance | path

Searched refs:getInstructionCost (Results 1 – 25 of 28) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DCostModel.cpp110 Cost = TTI->getInstructionCost(&Inst, CostKind); in print()
139 Cost = TTI.getInstructionCost(&Inst, CostKind); in run()
DCodeMetrics.cpp180 NumInsts += TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
DInlineSizeEstimatorAnalysis.cpp132 Ret += *(TTI.getInstructionCost( in getSize()
DInlineCost.cpp1375 return TTI.getInstructionCost(&GEP, Operands, in isGEPFree()
1667 return TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitPtrToInt()
1690 return TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitIntToPtr()
1720 return TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitCastInst()
2420 if (TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitInstruction()
DTargetTransformInfo.cpp225 TargetTransformInfo::getInstructionCost(const User *U, in getInstructionCost() function in TargetTransformInfo
228 InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind); in getInstructionCost()
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp379 HexagonTTIImpl::getInstructionCost(const User *U, in getInstructionCost() function in HexagonTTIImpl
403 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
DHexagonTargetTransformInfo.h174 InstructionCost getInstructionCost(const User *U,
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp325 InstructionCost PPCTTIImpl::getInstructionCost(const User *U, in getInstructionCost() function in PPCTTIImpl
331 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
336 return LT.first * BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
339 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
DPPCTargetTransformInfo.h63 InstructionCost getInstructionCost(const User *U,
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp255 return TTI.getInstructionCost(I, TargetTransformInfo::TCK_SizeAndLatency); in ComputeSpeculationCost()
DCallSiteSplitting.cpp214 Cost += TTI.getInstructionCost(&InstBeforeCall, in canSplitCallSite()
DLoopUnrollPass.cpp446 UnrolledCost += TTI.getInstructionCost(I, CostKind); in analyzeLoopUnrollCost()
540 RolledDynamicCost += TTI.getInstructionCost(&I, CostKind); in analyzeLoopUnrollCost()
DLoopFlatten.cpp582 TTI->getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in checkOuterLoopInsts()
DLICM.cpp1333 TTI->getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in isFreeInLoop()
DJumpThreading.cpp583 if (TTI->getInstructionCost(&*I, TargetTransformInfo::TCK_SizeAndLatency) == in getJumpThreadDuplicationCost()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DTargetTransformInfo.h302 InstructionCost getInstructionCost(const User *U,
308 InstructionCost getInstructionCost(const User *U, in getInstructionCost() function
311 return getInstructionCost(U, Operands, CostKind); in getInstructionCost()
1583 virtual InstructionCost getInstructionCost(const User *U,
1943 InstructionCost getInstructionCost(const User *U, in getInstructionCost() function
1946 return Impl.getInstructionCost(U, Operands, CostKind); in getInstructionCost()
DTargetTransformInfoImpl.h1023 InstructionCost getInstructionCost(const User *U, in getInstructionCost() function
1293 InstructionCost Cost = TargetTTI->getInstructionCost( in isExpensiveToSpeculativelyExecute()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DSelectOptimize.cpp714 SliceCost += TTI->getInstructionCost(ColdSlice.top(), in hasExpensiveColdOperand()
981 TTI->getInstructionCost(I, TargetTransformInfo::TCK_Latency); in computeInstCost()
DInterleavedLoadCombinePass.cpp1159 InstructionCost += TTI.getInstructionCost(I, CostKind); in combine()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DFunctionSpecialization.cpp573 TTI.getInstructionCost(U, TargetTransformInfo::TCK_SizeAndLatency); in getUserBonus()
DHotColdSplitting.cpp238 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit()
DIROutliner.cpp518 Benefit += TTI.getInstructionCost(I, TargetTransformInfo::TCK_CodeSize); in getBenefit()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1649 VectorizationCostTy getInstructionCost(Instruction *I, ElementCount VF);
1653 InstructionCost getInstructionCost(Instruction *I, ElementCount VF,
2017 TTI->getInstructionCost(&I, TTI::TCK_RecipThroughput); in getCost()
2026 TTI->getInstructionCost(&I, TTI::TCK_RecipThroughput); in getCost()
6237 InstructionCost VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount()
6245 getInstructionCost(I, ElementCount::getFixed(1)).first; in computePredInstDiscount()
6305 VectorizationCostTy C = getInstructionCost(&I, VF); in expectedCost()
6743 LoopVectorizationCostModel::getInstructionCost(Instruction *I, in getInstructionCost() function in LoopVectorizationCostModel
6759 (getInstructionCost(I, ElementCount::getFixed(1)).first * in getInstructionCost()
6765 InstructionCost C = getInstructionCost(I, VF, VectorTy); in getInstructionCost()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVTargetTransformInfo.cpp1431 Cost += getInstructionCost(&I, Operands, in getUnrollingPreferences()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp391 return TTI.getInstructionCost(I, TargetTransformInfo::TCK_SizeAndLatency); in computeSpeculationCost()
3796 if (!TTI || TTI->getInstructionCost(&I, CostKind) != in FoldBranchToCommonDest()
3970 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in mergeConditionalStoreToAddress()

12