Searched refs:BaseCost (Results 1 – 6 of 6) sorted by relevance
338 InstructionCost BaseCost = 2; in getMinMaxReductionCost() local340 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getMinMaxReductionCost()367 InstructionCost BaseCost = 2; in getArithmeticReductionCost() local370 return (LT.first - 1) + BaseCost + VL; in getArithmeticReductionCost()371 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getArithmeticReductionCost()
1041 return LT.first * BaseCost + in getCmpSelInstrCost()1043 return BaseCost; in getCmpSelInstrCost()1049 int BaseCost = 1; in getCmpSelInstrCost() local1051 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()1053 return BaseCost * in getCmpSelInstrCost()1426 int BaseCost = 1; in getArithmeticInstrCost() local1428 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 …]
765 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local766 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
6520 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local6526 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()
893 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local895 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
2670 InstructionCost BaseCost = in getArithmeticReductionCost() local2674 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()