Searched refs:AddCost (Results 1 – 2 of 2) sorted by relevance
272 InstructionCost AddCost = in getIntrinsicInstrCost() local274 Cost += AddCost * (LT.first - 1); in getIntrinsicInstrCost()1346 InstructionCost AddCost = getArithmeticInstrCost( in getArithmeticInstrCost() local1352 return MulCost * 2 + AddCost * 2 + ShrCost * 2 + 1; in getArithmeticInstrCost()
2348 InstructionCost AddCost = ArithCost(Instruction::Add, NumTerms - 1, in costAndCollectOperands() local2353 Cost = AddCost + MulCost; in costAndCollectOperands()