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

/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp198 unsigned NumCmps = 0; local
211 NumCmps += (Low == High) ? 1 : 2;
227 if (TLI->isSuitableForBitTests(NumDests, NumCmps,
373 unsigned NumCmps = 0; local
377 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2;
385 if (!TLI->isSuitableForBitTests(NumDests, NumCmps, Low, High, *DL))
H A DPeepholeOptimizer.cpp141 STATISTIC(NumCmps, "Number of compares eliminated");
623 ++NumCmps;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp58 STATISTIC(NumCmps, "Number of comparisons propagated");
314 ++NumCmps;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1179 /// \p High as its lowest and highest case values, and expects \p NumCmps
1182 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, argument
1185 // FIXME: I don't think NumCmps is the correct metric: a single case and a
1200 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) ||
1201 (NumDests == 3 && NumCmps >= 6);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1015 unsigned NumCmps = 0; local
1034 if (NumCmps++)

Completed in 284 milliseconds