Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp198 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 DPeepholeOptimizer.cpp141 STATISTIC(NumCmps, "Number of compares eliminated");
623 ++NumCmps; in optimizeCmpInstr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp58 STATISTIC(NumCmps, "Number of comparisons propagated");
314 ++NumCmps; in processCmp()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1182 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument
1200 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
1201 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1015 unsigned NumCmps = 0; in foldAllocaCmp() local
1034 if (NumCmps++) in foldAllocaCmp()