Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp30 STATISTIC(NumCmps, "Number of comparisons propagated");
164 ++NumCmps; in processCmp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPeepholeOptimizer.cpp70 STATISTIC(NumCmps, "Number of compares eliminated");
345 ++NumCmps; in OptimizeCmpInstr()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp36 STATISTIC(NumCmps, "Number of comparisons propagated");
201 ++NumCmps; in processCmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp58 STATISTIC(NumCmps, "Number of comparisons propagated");
293 ++NumCmps; in processCmp()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h906 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument
924 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
925 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp112 STATISTIC(NumCmps, "Number of compares eliminated");
574 ++NumCmps; in optimizeCmpInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp141 STATISTIC(NumCmps, "Number of compares eliminated");
619 ++NumCmps; in optimizeCmpInstr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h326 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps,
DSelectionDAGBuilder.cpp8250 unsigned NumCmps = 0; in buildJumpTable() local
8263 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
8279 if (isSuitableForBitTests(NumDests, NumCmps, in buildJumpTable()
8442 unsigned NumCmps, in isSuitableForBitTests() argument
8459 return (NumDests == 1 && NumCmps >= 3) || in isSuitableForBitTests()
8460 (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
8461 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
8473 unsigned NumCmps = 0; in buildBitTests() local
8477 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
8485 if (!isSuitableForBitTests(NumDests, NumCmps, Low, High)) in buildBitTests()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp9360 unsigned NumCmps = 0; in buildJumpTable() local
9373 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
9391 NumDests, NumCmps, Clusters[First].Low->getValue(), in buildJumpTable()
9576 unsigned NumCmps = 0; in buildBitTests() local
9580 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
9590 if (!TLI.isSuitableForBitTests(NumDests, NumCmps, Low, High, DL)) in buildBitTests()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1086 unsigned NumCmps = 0; in FoldAllocaCmp() local
1105 if (NumCmps++) in FoldAllocaCmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1033 unsigned NumCmps = 0; in foldAllocaCmp() local
1052 if (NumCmps++) in foldAllocaCmp()