Searched refs:ArithCost (Results 1 – 2 of 2) sorted by relevance
1861 auto ArithCost = [&](unsigned Opcode, unsigned NumRequired, in costAndCollectOperands() local1902 Cost = ArithCost(Opcode, 1); in costAndCollectOperands()1906 Cost = ArithCost(Instruction::Add, S->getNumOperands() - 1); in costAndCollectOperands()1912 Cost = ArithCost(Instruction::Mul, S->getNumOperands() - 1); in costAndCollectOperands()1928 Cost += ArithCost(Instruction::Or, in costAndCollectOperands()
3034 InstructionCost ArithCost = 0; in getTreeReductionCost() local3045 ArithCost += thisT()->getArithmeticInstrCost(Opcode, SubTy, CostKind); in getTreeReductionCost()3061 ArithCost += in getTreeReductionCost()3063 return ShuffleCost + ArithCost + in getTreeReductionCost()3094 InstructionCost ArithCost = thisT()->getArithmeticInstrCost( in getOrderedReductionCost() local3096 ArithCost *= VTy->getNumElements(); in getOrderedReductionCost()3098 return ExtractCost + ArithCost; in getOrderedReductionCost()