Searched refs:ReductionCost (Results 1 – 2 of 2) sorted by relevance
3931 InstructionCost ReductionCost = 0; in getArithmeticReductionCost() local3939 ReductionCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()3940 ReductionCost *= LT.first - 1; in getArithmeticReductionCost()3953 ReductionCost += in getArithmeticReductionCost()3965 ReductionCost += in getArithmeticReductionCost()3976 ReductionCost += in getArithmeticReductionCost()3982 ReductionCost += getArithmeticInstrCost( in getArithmeticReductionCost()3990 ReductionCost += getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()3994 return ReductionCost + getVectorInstrCost(Instruction::ExtractElement, Ty, 0); in getArithmeticReductionCost()
7871 InstructionCost ReductionCost = in tryToReduce() local7873 InstructionCost Cost = TreeCost + ReductionCost; in tryToReduce()