Searched refs:ArithCost (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 2114 auto ArithCost = [&](unsigned Opcode, unsigned NumRequired, in costAndCollectOperands() local 2154 Cost = ArithCost(Opcode, 1); in costAndCollectOperands() 2158 Cost = ArithCost(Instruction::Add, S->getNumOperands() - 1); in costAndCollectOperands() 2164 Cost = ArithCost(Instruction::Mul, S->getNumOperands() - 1); in costAndCollectOperands() 2180 Cost += ArithCost(Instruction::Or, in costAndCollectOperands() 2212 InstructionCost AddCost = ArithCost(Instruction::Add, NumTerms - 1, in costAndCollectOperands() 2216 ArithCost(Instruction::Mul, NumNonZeroDegreeNonOneTerms); in costAndCollectOperands()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 2178 InstructionCost ArithCost = 0; in getTreeReductionCost() local 2190 ArithCost += thisT()->getArithmeticInstrCost(Opcode, SubTy, CostKind); in getTreeReductionCost() 2205 ArithCost += in getTreeReductionCost() 2207 return ShuffleCost + ArithCost + in getTreeReductionCost() 2237 InstructionCost ArithCost = thisT()->getArithmeticInstrCost( in getOrderedReductionCost() local 2239 ArithCost *= VTy->getNumElements(); in getOrderedReductionCost() 2241 return ExtractCost + ArithCost; in getOrderedReductionCost()
|