Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DBranchFolding.cpp503 unsigned NumTerms = 0; in CountTerminators() local
511 ++NumTerms; in CountTerminators()
513 return NumTerms; in CountTerminators()
589 unsigned NumTerms = CountTerminators(MBB1 == PredBB ? MBB2 : MBB1, I); in ProfitableToMerge() local
590 if (CommonTailLen > NumTerms) in ProfitableToMerge()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2186 int NumTerms = llvm::count_if(S->operands(), [](const SCEV *Op) { in costAndCollectOperands() local
2190 assert(NumTerms >= 1 && "Polynominal should have at least one term."); in costAndCollectOperands()
2203 InstructionCost AddCost = ArithCost(Instruction::Add, NumTerms - 1, in costAndCollectOperands()