Home
last modified time | relevance | path

Searched refs:BaseCost (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp338 InstructionCost BaseCost = 2; in getMinMaxReductionCost() local
340 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getMinMaxReductionCost()
367 InstructionCost BaseCost = 2; in getArithmeticReductionCost() local
370 return (LT.first - 1) + BaseCost + VL; in getArithmeticReductionCost()
371 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getArithmeticReductionCost()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1041 return LT.first * BaseCost + in getCmpSelInstrCost()
1043 return BaseCost; in getCmpSelInstrCost()
1049 int BaseCost = 1; in getCmpSelInstrCost() local
1051 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()
1053 return BaseCost * in getCmpSelInstrCost()
1426 int BaseCost = 1; in getArithmeticInstrCost() local
1428 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getArithmeticInstrCost()
1435 return LT.first * BaseCost; in getArithmeticInstrCost()
1448 return BaseCost; in getArithmeticInstrCost()
1534 int BaseCost = in getInterleavedMemoryOpCost() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp765 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local
766 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6520 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local
6526 BaseCost += in getReductionPatternCost()
6533 return BaseCost; in getReductionPatternCost()
6575 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost()
6589 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
6629 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost()
6640 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()
6645 return I == RetI ? Optional<InstructionCost>(BaseCost) : None; in getReductionPatternCost()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp893 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local
895 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2670 InstructionCost BaseCost = in getArithmeticReductionCost() local
2674 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()