Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DBranchFolding.cpp499 unsigned NumTerms = 0; in CountTerminators() local
507 ++NumTerms; in CountTerminators()
509 return NumTerms; in CountTerminators()
585 unsigned NumTerms = CountTerminators(MBB1 == PredBB ? MBB2 : MBB1, I); in ProfitableToMerge() local
586 if (CommonTailLen > NumTerms) in ProfitableToMerge()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2315 int NumTerms = llvm::count_if(S->operands(), [](const SCEV *Op) { in costAndCollectOperands() local
2319 assert(NumTerms >= 1 && "Polynominal should have at least one term."); in costAndCollectOperands()
2332 InstructionCost AddCost = ArithCost(Instruction::Add, NumTerms - 1, in costAndCollectOperands()