Searched refs:ReductionCost (Results 1 – 2 of 2) sorted by relevance
4466 InstructionCost ReductionCost = 0; in getArithmeticReductionCost() local4474 ReductionCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()4475 ReductionCost *= LT.first - 1; in getArithmeticReductionCost()4488 ReductionCost += in getArithmeticReductionCost()4500 ReductionCost += in getArithmeticReductionCost()4511 ReductionCost += in getArithmeticReductionCost()4517 ReductionCost += getArithmeticInstrCost( in getArithmeticReductionCost()4525 ReductionCost += getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()4529 return ReductionCost + getVectorInstrCost(Instruction::ExtractElement, Ty, 0); in getArithmeticReductionCost()
11225 InstructionCost ReductionCost = in tryToReduce() local11227 InstructionCost Cost = TreeCost + ReductionCost; in tryToReduce()