Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp201 unsigned NumCmps = 0; in buildJumpTable() local
214 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
230 if (TLI->isSuitableForBitTests(NumDests, NumCmps, in buildJumpTable()
376 unsigned NumCmps = 0; in buildBitTests() local
380 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
388 if (!TLI->isSuitableForBitTests(NumDests, NumCmps, Low, High, *DL)) in buildBitTests()
H A DPeepholeOptimizer.cpp138 STATISTIC(NumCmps, "Number of compares eliminated");
954 ++NumCmps; in optimizeCmpInstr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp53 STATISTIC(NumCmps, "Number of comparisons propagated");
334 ++NumCmps; in constantFoldCmp()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1431 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument
1449 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
1450 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc29080 {"_ZL7NumCmps", "NumCmps"},