Home
last modified time | relevance | path

Searched refs:NumCmps (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp200 unsigned NumCmps = 0; in buildJumpTable() local
213 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
229 if (TLI->isSuitableForBitTests(NumDests, NumCmps, in buildJumpTable()
375 unsigned NumCmps = 0; in buildBitTests() local
379 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
387 if (!TLI->isSuitableForBitTests(NumDests, NumCmps, Low, High, *DL)) in buildBitTests()
H A DPeepholeOptimizer.cpp139 STATISTIC(NumCmps, "Number of compares eliminated");
681 ++NumCmps; in optimizeCmpInstr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp58 STATISTIC(NumCmps, "Number of comparisons propagated");
333 ++NumCmps; in constantFoldCmp()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1354 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument
1372 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
1373 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()