Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp35 STATISTIC(NumCmps, "Number of comparisons propagated");
211 ++NumCmps; in processCmp()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp112 STATISTIC(NumCmps, "Number of compares eliminated");
575 ++NumCmps; in optimizeCmpInstr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h328 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps,
DSelectionDAGBuilder.cpp7701 unsigned NumCmps = 0; in buildJumpTable() local
7714 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
7730 if (isSuitableForBitTests(NumDests, NumCmps, in buildJumpTable()
7889 unsigned NumCmps, in isSuitableForBitTests() argument
7906 return (NumDests == 1 && NumCmps >= 3) || in isSuitableForBitTests()
7907 (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
7908 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
7920 unsigned NumCmps = 0; in buildBitTests() local
7924 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
7932 if (!isSuitableForBitTests(NumDests, NumCmps, Low, High)) in buildBitTests()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp760 unsigned NumCmps = 0; in FoldAllocaCmp() local
779 if (NumCmps++) in FoldAllocaCmp()