Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCostModel.cpp87 return TTI.getInstructionCost(&Inst, CostKind); in getCost()
H A DCodeMetrics.cpp213 NumInsts += TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
H A DInlineSizeEstimatorAnalysis.cpp131 Ret += TTI.getInstructionCost( in getSize()
H A DInlineCost.cpp1570 return TTI.getInstructionCost(&GEP, Operands, in isGEPFree()
1913 return TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitPtrToInt()
1936 return TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitIntToPtr()
1966 return TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitCastInst()
2711 if (TTI.getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitInstruction()
H A DTargetTransformInfo.cpp273 TargetTransformInfo::getInstructionCost(const User *U, in getInstructionCost() function in TargetTransformInfo
276 InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind); in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp323 PPCTTIImpl::getInstructionCost(const User *U, ArrayRef<const Value *> Operands, in getInstructionCost() function in PPCTTIImpl
328 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
333 return LT.first * BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
336 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
H A DPPCTargetTransformInfo.h62 getInstructionCost(const User *U, ArrayRef<const Value *> Operands,
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp367 HexagonTTIImpl::getInstructionCost(const User *U, in getInstructionCost() function in HexagonTTIImpl
391 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
H A DHexagonTargetTransformInfo.h175 getInstructionCost(const User *U, ArrayRef<const Value *> Operands,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.h103 getInstructionCost(const User *U, ArrayRef<const Value *> Operands,
H A DNVPTXTargetTransformInfo.cpp485 NVPTXTTIImpl::getInstructionCost(const User *U, in getInstructionCost() function in NVPTXTTIImpl
510 return BaseT::getInstructionCost(U, Operands, CostKind); in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp255 return TTI.getInstructionCost(I, TargetTransformInfo::TCK_SizeAndLatency); in ComputeSpeculationCost()
H A DCallSiteSplitting.cpp212 Cost += TTI.getInstructionCost(&InstBeforeCall, in canSplitCallSite()
H A DLoopUnrollPass.cpp464 UnrolledCost += TTI.getInstructionCost(I, Operands, CostKind); in analyzeLoopUnrollCost()
558 RolledDynamicCost += TTI.getInstructionCost(&I, CostKind); in analyzeLoopUnrollCost()
H A DLoopFlatten.cpp592 TTI->getInstructionCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in checkOuterLoopInsts()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DRegion.cpp17 return TTI.getInstructionCost(LLVMI, Operands, CostKind); in getCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h420 LLVM_ABI InstructionCost getInstructionCost(const User *U,
426 InstructionCost getInstructionCost(const User *U, in getInstructionCost() function
429 return getInstructionCost(U, Operands, CostKind); in getInstructionCost()
H A DTargetTransformInfoImpl.h85 getInstructionCost(const User *U, ArrayRef<const Value *> Operands, in getInstructionCost() function
1354 getInstructionCost(const User *U, ArrayRef<const Value *> Operands, in getInstructionCost() function
1669 InstructionCost Cost = TargetTTI->getInstructionCost( in isExpensiveToSpeculativelyExecute()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp127 Cost C = TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in estimateBasicBlocks()
202 Weight * TTI.getInstructionCost(I, TargetTransformInfo::TCK_Latency); in getLatencySavingsForKnownConstants()
239 CodeSize += TTI.getInstructionCost(User, TargetTransformInfo::TCK_CodeSize); in getCodeSizeSavingsForUser()
H A DHotColdSplitting.cpp293 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in getOutliningBenefit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp776 InstructionCost OldCost = TTI.getInstructionCost(&I, CostKind) + in foldInsExtBinop()
777 TTI.getInstructionCost(VecBinOp, CostKind) + in foldInsExtBinop()
778 TTI.getInstructionCost(SclBinOp, CostKind); in foldInsExtBinop()
1452 OldCost = CostOfRed0 + CostOfRed1 + TTI.getInstructionCost(&I, CostKind); in foldBinopOfReductions()
2142 TTI.getInstructionCost(LHS, CostKind) + in foldShuffleOfBinops()
2143 TTI.getInstructionCost(RHS, CostKind) + in foldShuffleOfBinops()
2166 OldCost += TTI.getInstructionCost(cast<Instruction>(Op), CostKind); in foldShuffleOfBinops()
2508 InnerCost0 = TTI.getInstructionCost(cast<User>(OuterV0), CostKind); in foldShuffleOfShuffles()
2512 InnerCost1 = TTI.getInstructionCost(cast<User>(OuterV1), CostKind); in foldShuffleOfShuffles()
2514 InstructionCost OuterCost = TTI.getInstructionCost(&I, CostKind); in foldShuffleOfShuffles()
[all …]
H A DLoopVectorize.cpp1460 InstructionCost getInstructionCost(Instruction *I, ElementCount VF);
1908 InstructionCost C = TTI->getInstructionCost(&I, CostKind); in getCost()
1917 InstructionCost C = TTI->getInstructionCost(&I, CostKind); in getCost()
5015 InstructionCost VectorCost = getInstructionCost(I, VF); in computePredInstDiscount()
5022 VF.getFixedValue() * getInstructionCost(I, ElementCount::getFixed(1)); in computePredInstDiscount()
5094 InstructionCost C = getInstructionCost(&I, VF); in expectedCost()
5936 LoopVectorizationCostModel::getInstructionCost(Instruction *I, in getInstructionCost() function in LoopVectorizationCostModel
5951 return getInstructionCost(I, ElementCount::getFixed(1)) * in getInstructionCost()
6360 return TTI.getInstructionCost(I, CostKind); in getInstructionCost()
6719 return CM.getInstructionCost(UI, VF); in getLegacyCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp1109 SliceCost += TTI->getInstructionCost(ColdSlice.top(), in hasExpensiveColdOperand()
1382 TTI->getInstructionCost(I, TargetTransformInfo::TCK_Latency); in computeInstCost()
H A DInterleavedLoadCombinePass.cpp1164 InstructionCost += TTI.getInstructionCost(I, CostKind); in combine()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp205 TTI.getInstructionCost(&I, TargetTransformInfo::TCK_CodeSize); in calculateFunctionCosts()

12