Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp345 InstructionCost HexagonTTIImpl::getUserCost(const User *U, in getUserCost() function in HexagonTTIImpl
369 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
H A DHexagonTargetTransformInfo.h167 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCodeMetrics.cpp180 NumInsts += TTI.getUserCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
H A DTargetTransformInfo.cpp224 TargetTransformInfo::getUserCost(const User *U, in getUserCost() function in TargetTransformInfo
227 InstructionCost Cost = TTIImpl->getUserCost(U, Operands, CostKind); in getUserCost()
1185 return getUserCost(I, CostKind); in getInstructionThroughput()
H A DInlineCost.cpp1342 return TTI.getUserCost(&GEP, Operands, in isGEPFree()
1620 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitPtrToInt()
1643 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitIntToPtr()
1673 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitCastInst()
2368 if (TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitInstruction()
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/SystemZ/
H A Dext-of-icmp-cost.ll4 ; Check that getUserCost() does not return TCC_Free for extensions of
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h240 Cost = getUserCost(I, kind); in getInstructionCost()
324 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
329 InstructionCost getUserCost(const User *U, TargetCostKind CostKind) const { in getUserCost() function
331 return getUserCost(U, Operands, CostKind); in getUserCost()
1533 virtual InstructionCost getUserCost(const User *U,
1877 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands, in getUserCost() function
1879 return Impl.getUserCost(U, Operands, CostKind); in getUserCost()
H A DTargetTransformInfoImpl.h982 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands, in getUserCost() function
1243 if (getUserCost(I, Operands, TTI::TCK_Latency) == TTI::TCC_Free) in getInstructionLatency()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h62 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
H A DPPCTargetTransformInfo.cpp323 InstructionCost PPCTTIImpl::getUserCost(const User *U, in getUserCost() function in PPCTTIImpl
329 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
335 return LT.first * BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
338 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp255 return TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in ComputeSpeculationCost()
H A DLoopUnrollPass.cpp446 UnrolledCost += TTI.getUserCost(I, CostKind); in analyzeLoopUnrollCost()
540 RolledDynamicCost += TTI.getUserCost(&I, CostKind); in analyzeLoopUnrollCost()
H A DLoopFlatten.cpp555 TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in checkOuterLoopInsts()
H A DLICM.cpp1321 if (TTI->getUserCost(GEP, TargetTransformInfo::TCK_SizeAndLatency) != in isFreeInLoop()
1337 return TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in isFreeInLoop()
H A DJumpThreading.cpp563 if (TTI->getUserCost(&*I, TargetTransformInfo::TCK_SizeAndLatency) in getJumpThreadDuplicationCost()
H A DSimpleLoopUnswitch.cpp2879 Cost += TTI.getUserCost(&I, CostKind); in unswitchBestCondition()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp434 getUserCost(&I, Operands, TargetTransformInfo::TCK_SizeAndLatency); in getUnrollingPreferences()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp576 auto Cost = TTI.getUserCost(U, TargetTransformInfo::TCK_SizeAndLatency); in getUserBonus()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp383 return TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in computeSpeculationCost()
3636 TTI->getUserCost(&I, CostKind) != TargetTransformInfo::TCC_Free) { in FoldBranchToCommonDest()
3808 Cost += TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in mergeConditionalStoreToAddress()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2315 getUserCost(&I, Operands, TargetTransformInfo::TCK_SizeAndLatency); in getUnrollingPreferences()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6605 TTI->getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency) >= in sinkSelectOperand()