Home
last modified time | relevance | path

Searched refs:ArithCost (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1861 auto ArithCost = [&](unsigned Opcode, unsigned NumRequired, in costAndCollectOperands() local
1902 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h3034 InstructionCost ArithCost = 0; in getTreeReductionCost() local
3045 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() local
3096 ArithCost *= VTy->getNumElements(); in getOrderedReductionCost()
3098 return ExtractCost + ArithCost; in getOrderedReductionCost()