Searched refs:NumCmps (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | SwitchLoweringUtils.cpp | 198 unsigned NumCmps = 0; in buildJumpTable() local 211 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable() 227 if (TLI->isSuitableForBitTests(NumDests, NumCmps, in buildJumpTable() 373 unsigned NumCmps = 0; in buildBitTests() local 377 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests() 385 if (!TLI->isSuitableForBitTests(NumDests, NumCmps, Low, High, *DL)) in buildBitTests()
|
| H A D | PeepholeOptimizer.cpp | 139 STATISTIC(NumCmps, "Number of compares eliminated"); 637 ++NumCmps; in optimizeCmpInstr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 62 STATISTIC(NumCmps, "Number of comparisons propagated"); 352 ++NumCmps; in constantFoldCmp()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 1259 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument 1277 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests() 1278 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 927 unsigned NumCmps = 0; in foldAllocaCmp() local 946 if (NumCmps++) in foldAllocaCmp()
|