Searched refs:ReductionCost (Results 1 – 2 of 2) sorted by relevance
3709 InstructionCost ReductionCost = 0; in getArithmeticReductionCost() local3717 ReductionCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()3718 ReductionCost *= LT.first - 1; in getArithmeticReductionCost()3731 ReductionCost += in getArithmeticReductionCost()3743 ReductionCost += in getArithmeticReductionCost()3754 ReductionCost += in getArithmeticReductionCost()3760 ReductionCost += getArithmeticInstrCost( in getArithmeticReductionCost()3768 ReductionCost += getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()3772 return ReductionCost + getVectorInstrCost(Instruction::ExtractElement, Ty, 0); in getArithmeticReductionCost()
7512 InstructionCost ReductionCost = in tryToReduce() local7514 InstructionCost Cost = TreeCost + ReductionCost; in tryToReduce()