Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp59 STATISTIC(NumCmps, "Number of comparisons propagated");
296 ++NumCmps; in processCmp()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLowering.h960 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 DPeepholeOptimizer.cpp141 STATISTIC(NumCmps, "Number of compares eliminated");
619 ++NumCmps; in optimizeCmpInstr()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp9470 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 DInstCombineCompares.cpp1032 unsigned NumCmps = 0; in foldAllocaCmp() local
1051 if (NumCmps++) in foldAllocaCmp()