Searched refs:BaseCost (Results 1 – 6 of 6) sorted by relevance
944 InstructionCost BaseCost = 2; in getMinMaxReductionCost() local947 return (LT.first - 1) + BaseCost; in getMinMaxReductionCost()950 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getMinMaxReductionCost()977 InstructionCost BaseCost = 2; in getArithmeticReductionCost() local980 return (LT.first - 1) + BaseCost; in getArithmeticReductionCost()984 return (LT.first - 1) + BaseCost + VL; in getArithmeticReductionCost()1049 InstructionCost BaseCost = in getMemoryOpCost() local1057 BaseCost *= TLI->getLMULCost(LT.second); in getMemoryOpCost()1058 return Cost + BaseCost; in getMemoryOpCost()1223 unsigned BaseCost = 1; in getVectorInstrCost() local[all …]
1047 return LT.first * BaseCost + in getCmpSelInstrCost()1050 return BaseCost; in getCmpSelInstrCost()1056 int BaseCost = 1; in getCmpSelInstrCost() local1058 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost()1060 return BaseCost * in getCmpSelInstrCost()1314 return BaseCost * in getShuffleCost()1433 int BaseCost = 1; in getArithmeticInstrCost() local1442 return LT.first * BaseCost; in getArithmeticInstrCost()1456 return BaseCost; in getArithmeticInstrCost()1543 int BaseCost = in getInterleavedMemoryOpCost() local[all …]
773 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local774 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
6276 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local6282 BaseCost += in getReductionPatternCost()6289 return BaseCost; in getReductionPatternCost()6330 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost()6344 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()6383 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost()6393 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()6398 return I == RetI ? std::optional<InstructionCost>(BaseCost) : std::nullopt; in getReductionPatternCost()
904 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local906 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
3589 InstructionCost BaseCost = in getArithmeticReductionCost() local3593 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()