| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 345 InstructionCost HexagonTTIImpl::getUserCost(const User *U, in getUserCost() function in HexagonTTIImpl 369 return BaseT::getUserCost(U, Operands, CostKind); in getUserCost()
|
| H A D | HexagonTargetTransformInfo.h | 167 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CodeMetrics.cpp | 180 NumInsts += TTI.getUserCost(&I, TargetTransformInfo::TCK_CodeSize); in analyzeBasicBlock()
|
| H A D | TargetTransformInfo.cpp | 224 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 D | InlineCost.cpp | 1342 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 D | ext-of-icmp-cost.ll | 4 ; Check that getUserCost() does not return TCC_Free for extensions of
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 240 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 D | TargetTransformInfoImpl.h | 982 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 D | PPCTargetTransformInfo.h | 62 InstructionCost getUserCost(const User *U, ArrayRef<const Value *> Operands,
|
| H A D | PPCTargetTransformInfo.cpp | 323 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 D | SpeculativeExecution.cpp | 255 return TTI.getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency); in ComputeSpeculationCost()
|
| H A D | LoopUnrollPass.cpp | 446 UnrolledCost += TTI.getUserCost(I, CostKind); in analyzeLoopUnrollCost() 540 RolledDynamicCost += TTI.getUserCost(&I, CostKind); in analyzeLoopUnrollCost()
|
| H A D | LoopFlatten.cpp | 555 TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency); in checkOuterLoopInsts()
|
| H A D | LICM.cpp | 1321 if (TTI->getUserCost(GEP, TargetTransformInfo::TCK_SizeAndLatency) != in isFreeInLoop() 1337 return TTI->getUserCost(&I, TargetTransformInfo::TCK_SizeAndLatency) == in isFreeInLoop()
|
| H A D | JumpThreading.cpp | 563 if (TTI->getUserCost(&*I, TargetTransformInfo::TCK_SizeAndLatency) in getJumpThreadDuplicationCost()
|
| H A D | SimpleLoopUnswitch.cpp | 2879 Cost += TTI.getUserCost(&I, CostKind); in unswitchBestCondition()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 434 getUserCost(&I, Operands, TargetTransformInfo::TCK_SizeAndLatency); in getUnrollingPreferences()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 576 auto Cost = TTI.getUserCost(U, TargetTransformInfo::TCK_SizeAndLatency); in getUserBonus()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 383 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 D | ARMTargetTransformInfo.cpp | 2315 getUserCost(&I, Operands, TargetTransformInfo::TCK_SizeAndLatency); in getUnrollingPreferences()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6605 TTI->getUserCost(I, TargetTransformInfo::TCK_SizeAndLatency) >= in sinkSelectOperand()
|