Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp197 unsigned PPCTTIImpl::getUserCost(const User *U, in getUserCost() function in PPCTTIImpl
202 return LT.first * BaseT::getUserCost(U, Operands); in getUserCost()
205 return BaseT::getUserCost(U, Operands); in getUserCost()
H A DPPCTargetTransformInfo.h54 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands);
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h143 return getUserCost(I); in getInstructionCost()
272 int getUserCost(const User *U, ArrayRef<const Value *> Operands) const;
276 int getUserCost(const User *U) const { in getUserCost() function
279 return getUserCost(U, Operands); in getUserCost()
1050 getUserCost(const User *U, ArrayRef<const Value *> Operands) = 0;
1259 int getUserCost(const User *U, ArrayRef<const Value *> Operands) override { in getUserCost() function
1260 return Impl.getUserCost(U, Operands); in getUserCost()
H A DTargetTransformInfoImpl.h790 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands) { in getUserCost() function
836 if (getUserCost(I, Operands) == TTI::TCC_Free) in getInstructionLatency()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp283 int HexagonTTIImpl::getUserCost(const User *U, in getUserCost() function in HexagonTTIImpl
306 return BaseT::getUserCost(U, Operands); in getUserCost()
H A DHexagonTargetTransformInfo.h146 int getUserCost(const User *U, ArrayRef<const Value *> Operands);
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCodeMetrics.cpp178 NumInsts += TTI.getUserCost(&I); in analyzeBasicBlock()
H A DInlineCost.cpp419 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&GEP, Operands); in isGEPFree()
674 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); in visitPtrToInt()
700 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); in visitIntToPtr()
730 return TargetTransformInfo::TCC_Free == TTI.getUserCost(&I); in visitCastInst()
1529 if (TargetTransformInfo::TCC_Free == TTI.getUserCost(&I)) in visitInstruction()
H A DTargetTransformInfo.cpp104 int TargetTransformInfo::getUserCost(const User *U, in getUserCost() function in TargetTransformInfo
106 int Cost = TTIImpl->getUserCost(U, Operands); in getUserCost()
993 return getUserCost(I); in getInstructionThroughput()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h122 unsigned getUserCost(const User *U, ArrayRef<const Value *> Operands);
H A DX86TargetTransformInfo.cpp2700 unsigned X86TTIImpl::getUserCost(const User *U, in getUserCost() function in X86TTIImpl
2712 return BaseT::getUserCost(U, Operands); in getUserCost()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp246 return TTI.getUserCost(I); in ComputeSpeculationCost()
H A DLoopUnrollPass.cpp410 UnrolledCost += TTI.getUserCost(I); in analyzeLoopUnrollCost()
503 RolledDynamicCost += TTI.getUserCost(&I); in analyzeLoopUnrollCost()
H A DSpeculateAroundPHIs.cpp461 Cost += TTI.getUserCost(I); in findProfitablePHIs()
H A DLICM.cpp1171 if (TTI->getUserCost(GEP) != TargetTransformInfo::TCC_Free) in isFreeInLoop()
1186 return TTI->getUserCost(&I) == TargetTransformInfo::TCC_Free; in isFreeInLoop()
H A DSimpleLoopUnswitch.cpp2616 Cost += TTI.getUserCost(&I); in unswitchBestCondition()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp640 Cost += getUserCost(&I, Operands); in getUnrollingPreferences()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp308 return TTI.getUserCost(I); in ComputeSpeculationCost()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5667 TTI->getUserCost(I) >= TargetTransformInfo::TCC_Expensive; in sinkSelectOperand()