/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CostModel.cpp | 33 cl::init(TargetTransformInfo::TCK_RecipThroughput), 34 cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput,
|
H A D | TargetTransformInfo.cpp | 271 assert((CostKind == TTI::TCK_RecipThroughput || Cost >= 0) && in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 172 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost() 263 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost() 279 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 314 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 260 TCK_RecipThroughput, ///< Reciprocal throughput. enumerator 343 TargetCostKind CostKind = TTI::TCK_RecipThroughput 1285 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1302 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const; 1314 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, int Index = 0, 1384 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1421 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1429 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, 1435 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput) const; 1448 Align Alignment, TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, [all …]
|
H A D | TargetTransformInfoImpl.h | 653 if (Opcode == Instruction::PHI && CostKind != TTI::TCK_RecipThroughput) 1475 return CostKind == TTI::TCK_RecipThroughput ? -1 : TTI::TCC_Basic; in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 596 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 632 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost() 653 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 671 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 788 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost() 1053 if (CostKind != TTI::TCK_RecipThroughput) in getVPMemoryOpCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFTargetTransformInfo.h | 65 if (ISD == ISD::ADD && CostKind == TTI::TCK_RecipThroughput)
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 248 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in vectorizeLoadInsert() 365 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getShuffleExtract() 433 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in isExtractExtractCheap() 668 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in foldInsExtFNeg() 758 TargetTransformInfo::TCK_RecipThroughput; in foldBitcastShuffle() 826 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in scalarizeVPIntrinsic() 982 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in scalarizeBinopOrCmp() 1073 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in foldExtractedCmps() 1360 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in scalarizeLoadExtract() 1454 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in foldShuffleOfBinops() [all …]
|
H A D | LoopVectorize.cpp | 1953 TTI->getInstructionCost(&I, TTI::TCK_RecipThroughput); in getCost() 1963 TTI->getInstructionCost(&I, TTI::TCK_RecipThroughput); in getCost() 2896 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getVectorCallCost() 2943 TargetTransformInfo::TCK_RecipThroughput); in getVectorIntrinsicCost() 3397 const TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getDivRemSpeculationCost() 5444 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in computePredInstDiscount() 5587 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getMemInstScalarizationCost() 5628 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getConsecutiveMemOpCost() 5659 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getUniformMemOpCost() 5689 TargetTransformInfo::TCK_RecipThroughput, I); in getGatherScatterCost() [all …]
|
H A D | SLPVectorizer.cpp | 4683 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in canVectorizeLoads() 5149 Instruction::InsertElement, Ty, TTI::TCK_RecipThroughput, 0, in getReorderingData() 5152 Instruction::InsertElement, Ty, TTI::TCK_RecipThroughput, Idx, in getReorderingData() 7611 TTI->getIntrinsicInstrCost(CostAttrs, TTI::TCK_RecipThroughput); in getVectorCallCosts() 7622 TTI->getCallInstrCost(nullptr, VecTy, ArgTys, TTI::TCK_RecipThroughput); in getVectorCallCosts() 8047 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, in getShuffleCost() 8061 TTI::TCK_RecipThroughput, Index, Tp); in getShuffleCost() 8149 constexpr TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in transformNodes() 8232 constexpr static TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; 9264 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getEntryCost() [all …]
|
H A D | VPlan.cpp | 793 Ctx.TTI.getCFInstrCost(Instruction::Br, TTI::TCK_RecipThroughput); in cost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 385 TTI::TCK_RecipThroughput); in tryToFPToSat() 388 TTI::TCK_RecipThroughput); in tryToFPToSat() 392 TTI::TCK_RecipThroughput); in tryToFPToSat() 395 TTI::TCK_RecipThroughput); in tryToFPToSat() 398 TTI::TCK_RecipThroughput); in tryToFPToSat()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 309 std::nullopt, 0, TTI::TCK_RecipThroughput); in getUnrollingPreferences() 432 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 967 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 1167 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 49 if ((CostKind != TTI::TCK_RecipThroughput) && (CostKind != TTI::TCK_Latency)) in getRISCVInstructionCost() 615 CostKind != TTI::TCK_RecipThroughput) in getMaskedMemoryOpCost() 716 if (CostKind != TTI::TCK_RecipThroughput) in getGatherScatterOpCost() 1411 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 1544 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost() 1670 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 467 if (CostKind == TTI::TCK_RecipThroughput && in getCFInstrCost() 488 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 1307 ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput); in getShuffleCost() 1316 return ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput) * LT.first; in getShuffleCost() 1324 ? ST->getMVEVectorCostFactor(TTI::TCK_RecipThroughput) in getShuffleCost() 1478 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 2509 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 2895 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getExtractWithExtendCost() 2941 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost() 2943 assert(CostKind == TTI::TCK_RecipThroughput && "unexpected CostKind"); in getCFInstrCost() 3044 if (CostKind != TTI::TCK_RecipThroughput) in getArithmeticInstrCost() 3235 if (CostKind != TTI::TCK_RecipThroughput) in getCmpSelInstrCost() 3443 if (CostKind != TTI::TCK_RecipThroughput) in getMemoryOpCost() 3546 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getCostOfKeepingLiveOverCall() 4001 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getSpliceCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 909 if (CostKind != TTI::TCK_RecipThroughput) 1215 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; in getExtractWithExtendCost() 1236 if (CostKind != TTI::TCK_RecipThroughput) 1344 if (CostKind != TTI::TCK_RecipThroughput)
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 1383 std::nullopt, TTI::TCK_RecipThroughput); in lowerDotProduct() 1405 std::nullopt, TTI::TCK_RecipThroughput); in lowerDotProduct()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 83 case TargetTransformInfo::TCK_RecipThroughput: in operator []() 1487 if (CostKind == TTI::TCK_RecipThroughput && LT.second.isVector() && in getArithmeticInstrCost() 3153 if (CostKind != TTI::TCK_RecipThroughput) in getCastInstrCost() 4899 if (CostKind != TTI::TCK_RecipThroughput) { in getMemoryOpCost() 5589 Instruction::LShr, ShiftTy, TTI::TCK_RecipThroughput, in getMinMaxReductionCost() 5789 if (CostKind != TTI::TCK_RecipThroughput) in getCFInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 1987 : TargetTransformInfo::TCK_RecipThroughput; in isHighCostExpansionHelper()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 7663 TargetTransformInfo::TCK_RecipThroughput; in isProfitableToPromote()
|