Searched refs:NumCmps (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 59 STATISTIC(NumCmps, "Number of comparisons propagated"); 296 ++NumCmps; in processCmp()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 960 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument 978 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests() 979 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | PeepholeOptimizer.cpp | 141 STATISTIC(NumCmps, "Number of compares eliminated"); 619 ++NumCmps; in optimizeCmpInstr()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 9470 unsigned NumCmps = 0; in buildJumpTable() local 9483 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable() 9501 NumDests, NumCmps, Clusters[First].Low->getValue(), in buildJumpTable() 9686 unsigned NumCmps = 0; in buildBitTests() local 9690 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests() 9700 if (!TLI.isSuitableForBitTests(NumDests, NumCmps, Low, High, DL)) in buildBitTests()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1032 unsigned NumCmps = 0; in foldAllocaCmp() local 1051 if (NumCmps++) in foldAllocaCmp()
|