Searched refs:BaseCost (Results 1 – 4 of 4) sorted by relevance
971 return LT.first * BaseCost + in getCmpSelInstrCost()973 return BaseCost; in getCmpSelInstrCost()979 int BaseCost = 1; in getCmpSelInstrCost() local981 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()983 return BaseCost * in getCmpSelInstrCost()1366 int BaseCost = 1; in getArithmeticInstrCost() local1368 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getArithmeticInstrCost()1375 return LT.first * BaseCost; in getArithmeticInstrCost()1388 return BaseCost; in getArithmeticInstrCost()1474 int BaseCost = in getInterleavedMemoryOpCost() local[all …]
727 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local728 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
873 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local875 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
7210 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local7217 return BaseCost; in getReductionPatternCost()7240 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()7261 if (RedCost.isValid() && RedCost < ExtCost * 2 + MulCost + BaseCost) in getReductionPatternCost()7272 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()7277 return I == RetI ? Optional<InstructionCost>(BaseCost) : None; in getReductionPatternCost()