| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CostModel.cpp | 33 cl::init(TargetTransformInfo::TCK_RecipThroughput), 34 cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput, 65 return TTI->getInstructionCost(I, TargetTransformInfo::TCK_RecipThroughput); in getInstructionCost()
|
| H A D | TargetTransformInfo.cpp | 228 assert((CostKind == TTI::TCK_RecipThroughput || Cost >= 0) && in getUserCost() 1135 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getInstructionThroughput()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 167 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost() 256 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 271 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 301 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 405 TTI::TCK_RecipThroughput); in tryToFPToSat() 408 TTI::TCK_RecipThroughput); in tryToFPToSat() 412 TTI::TCK_RecipThroughput); in tryToFPToSat() 415 TTI::TCK_RecipThroughput); in tryToFPToSat() 418 TTI::TCK_RecipThroughput); in tryToFPToSat()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 215 TCK_RecipThroughput, ///< Reciprocal throughput. enumerator 232 case TCK_RecipThroughput: in getInstructionCost() 1072 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1181 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1194 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const; 1223 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1258 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const; 1262 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const; 1272 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const; 1778 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) = 0; [all …]
|
| H A D | TargetTransformInfoImpl.h | 559 if (Opcode == Instruction::PHI && CostKind != TTI::TCK_RecipThroughput) 1185 return CostKind == TTI::TCK_RecipThroughput ? -1 : 1; in getUserCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFTargetTransformInfo.h | 67 if (ISD == ISD::ADD && CostKind == TTI::TCK_RecipThroughput)
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 994 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 1029 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost() 1050 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 1068 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 1165 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost() 1419 if (CostKind != TTI::TCK_RecipThroughput) in getVPMemoryOpCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 304 TTI::TCK_RecipThroughput); in getUnrollingPreferences() 428 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 919 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 1116 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1591 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 1902 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getExtractWithExtendCost() 1941 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost() 1943 assert(CostKind == TTI::TCK_RecipThroughput && "unexpected CostKind"); in getCFInstrCost() 1983 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 2120 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 2288 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost() 2346 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getCostOfKeepingLiveOverCall() 2783 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getSpliceCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 460 if (CostKind == TTI::TCK_RecipThroughput && in getCFInstrCost() 481 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 1290 ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput); in getShuffleCost() 1299 return ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput) * LT.first; in getShuffleCost() 1304 ? ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput) in getShuffleCost() 1457 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 225 if (CostKind != TTI::TCK_RecipThroughput) in getGatherScatterOpCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 184 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 1665 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 2628 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 3690 TTI::TargetCostKind::TCK_RecipThroughput); in getVectorInstrCost() 4047 if (CostKind != TTI::TCK_RecipThroughput) { in getMemoryOpCost() 4650 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getMinMaxCost() 4817 Instruction::LShr, ShiftTy, TTI::TCK_RecipThroughput, in getMinMaxReductionCost() 5019 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost() 5112 TTI::TCK_RecipThroughput); in getGSVectorCost() 5130 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getGSScalarCost() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 798 if (CostKind != TTI::TCK_RecipThroughput) 1090 TTI::TCK_RecipThroughput); in getExtractWithExtendCost() 1107 if (CostKind != TTI::TCK_RecipThroughput) 1203 if (CostKind != TTI::TCK_RecipThroughput)
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1983 TTI->getInstructionCost(&I, TTI::TCK_RecipThroughput); in getCost() 1992 TTI->getInstructionCost(&I, TTI::TCK_RecipThroughput); in getCost() 3460 TTI.getCallInstrCost(nullptr, RetTy, Tys, TTI::TCK_RecipThroughput); in getVectorCallCost() 6182 TTI.getCFInstrCost(Instruction::PHI, TTI::TCK_RecipThroughput); in computePredInstDiscount() 6330 AS, TTI::TCK_RecipThroughput); in getMemInstScalarizationCost() 6367 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getConsecutiveMemOpCost() 6396 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getUniformMemOpCost() 6426 TargetTransformInfo::TCK_RecipThroughput, I); in getGatherScatterCost() 6660 TTI::TCK_RecipThroughput, I); in getMemoryInstructionCost() 6924 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getInstructionCost() [all …]
|
| H A D | SLPVectorizer.cpp | 5672 TTI->getIntrinsicInstrCost(CostAttrs, TTI::TCK_RecipThroughput); in getVectorCallCosts() 5683 TTI::TCK_RecipThroughput); in getVectorCallCosts() 5823 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getEntryCost() 11410 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 2266 : TargetTransformInfo::TCK_RecipThroughput; in isHighCostExpansionHelper()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7262 TargetTransformInfo::TCK_RecipThroughput; in isProfitableToPromote()
|