Searched refs:ArithCost (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 1834 auto ArithCost = [&](unsigned Opcode, unsigned NumRequired, in costAndCollectOperands() local 1875 Cost = ArithCost(Opcode, 1); in costAndCollectOperands() 1879 Cost = ArithCost(Instruction::Add, S->getNumOperands() - 1); in costAndCollectOperands() 1885 Cost = ArithCost(Instruction::Mul, S->getNumOperands() - 1); in costAndCollectOperands() 1901 Cost += ArithCost(Instruction::Or, in costAndCollectOperands() 1933 InstructionCost AddCost = ArithCost(Instruction::Add, NumTerms - 1, in costAndCollectOperands() 1937 ArithCost(Instruction::Mul, NumNonZeroDegreeNonOneTerms); in costAndCollectOperands()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 2486 InstructionCost ArithCost = 0; in getTreeReductionCost() local 2498 ArithCost += thisT()->getArithmeticInstrCost(Opcode, SubTy, CostKind); in getTreeReductionCost() 2514 ArithCost += in getTreeReductionCost() 2516 return ShuffleCost + ArithCost + in getTreeReductionCost() 2547 InstructionCost ArithCost = thisT()->getArithmeticInstrCost( in getOrderedReductionCost() local 2549 ArithCost *= VTy->getNumElements(); in getOrderedReductionCost() 2551 return ExtractCost + ArithCost; in getOrderedReductionCost()
|