Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
1454 virtual InstructionCost getUserCost(const User *U,
1759 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands, in getUserCost() function
1761 return Impl.getUserCost(U, Operands, CostKind); in getUserCost()
H A DTargetTransformInfoImpl.h920 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands, in getUserCost() function
1143 if (getUserCost(I, Operands, TTI::TCK_Latency) == TTI::TCC_Free) in getInstructionLatency()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCodeMetrics.cpp186 NumInstsProxy += TTI.getUserCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
H A DInlineCost.cpp1036 return TTI.getUserCost(&GEP, Operands, in isGEPFree()
1306 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitPtrToInt()
1331 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitIntToPtr()
1363 return TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitCastInst()
2060 if (TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in visitInstruction()
H A DTargetTransformInfo.cpp223 TargetTransformInfo::getUserCost(const User *U, in getUserCost() function in TargetTransformInfo
226 InstructionCost Cost = TTIImpl->getUserCost(U, Operands, CostKind); in getUserCost()
1392 return getUserCost(I, CostKind); in getInstructionThroughput()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
532 RolledDynamicCost += TTI.getUserCost(&I, CostKind); in analyzeLoopUnrollCost()
H A DSpeculateAroundPHIs.cpp474 Cost += TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in findProfitablePHIs()
H A DLoopFlatten.cpp317 TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in checkOuterLoopInsts()
H A DLICM.cpp1390 if (TTI->getUserCost(GEP, TargetTransformInfo::TCK_SizeAndLatency) != in isFreeInLoop()
1406 return TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in isFreeInLoop()
H A DSimpleLoopUnswitch.cpp2738 Cost += TTI.getUserCost(&I, CostKind); in unswitchBestCondition()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2187 getUserCost(&I, Operands, TargetTransformInfo::TCK_SizeAndLatency); in getUnrollingPreferences()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp346 return TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in computeSpeculationCost()
3428 Cost += TTI.getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in mergeConditionalStoreToAddress()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6568 TTI->getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency) >= in sinkSelectOperand()