Home
last modified time | relevance | path

Searched refs:getUserCost (Results 1 – 18 of 18) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp343 InstructionCost HexagonTTIImpl::getUserCost(const User *U, in getUserCost() function in HexagonTTIImpl
367 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
H A DHexagonTargetTransformInfo.h169 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCodeMetrics.cpp186 NumInstsProxy += TTI.getUserCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
H A DTargetTransformInfo.cpp219 TargetTransformInfo::getUserCost(const User *U, in getUserCost() function in TargetTransformInfo
222 InstructionCost Cost = TTIImpl->getUserCost(U, Operands, CostKind); in getUserCost()
1108 return getUserCost(I, CostKind); in getInstructionThroughput()
H A DInlineCost.cpp1254 return TTI.getUserCost(&GEP, Operands, in isGEPFree()
1524 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitPtrToInt()
1549 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitIntToPtr()
1581 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitCastInst()
2278 if (TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h236 Cost = getUserCost(I, kind); in getInstructionCost()
320 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
325 InstructionCost getUserCost(const User *U, TargetCostKind CostKind) const { in getUserCost() function
327 return getUserCost(U, Operands, CostKind); in getUserCost()
1443 virtual InstructionCost getUserCost(const User *U,
1748 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands, in getUserCost() function
1750 return Impl.getUserCost(U, Operands, CostKind); in getUserCost()
H A DTargetTransformInfoImpl.h923 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands, in getUserCost() function
1126 if (getUserCost(I, Operands, TTI::TCK_Latency) == TTI::TCC_Free) in getInstructionLatency()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h62 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
H A DPPCTargetTransformInfo.cpp321 InstructionCost PPCTTIImpl::getUserCost(const User *U, in getUserCost() function in PPCTTIImpl
327 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
333 return LT.first * BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
336 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp255 return TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in ComputeSpeculationCost()
H A DLoopUnrollPass.cpp436 UnrolledCost += TTI.getUserCost(I, CostKind); in analyzeLoopUnrollCost()
530 RolledDynamicCost += TTI.getUserCost(&I, CostKind); in analyzeLoopUnrollCost()
H A DLoopFlatten.cpp319 TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in checkOuterLoopInsts()
H A DLICM.cpp1418 if (TTI->getUserCost(GEP, TargetTransformInfo::TCK_SizeAndLatency) != in isFreeInLoop()
1434 return TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in isFreeInLoop()
H A DSimpleLoopUnswitch.cpp2833 Cost += TTI.getUserCost(&I, CostKind); in unswitchBestCondition()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp277 auto Cost = TTI.getUserCost(U, TargetTransformInfo::TCK_SizeAndLatency); in getUserBonus()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2193 getUserCost(&I, Operands, TargetTransformInfo::TCK_SizeAndLatency); in getUnrollingPreferences()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp340 return TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in computeSpeculationCost()
3375 Cost += TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in mergeConditionalStoreToAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6590 TTI->getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency) >= in sinkSelectOperand()