Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSwitchLoweringUtils.cpp195 unsigned NumCmps = 0; in buildJumpTable() local
208 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
224 if (TLI->isSuitableForBitTests(NumDests, NumCmps, in buildJumpTable()
370 unsigned NumCmps = 0; in buildBitTests() local
374 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
382 if (!TLI->isSuitableForBitTests(NumDests, NumCmps, Low, High, *DL)) in buildBitTests()
DPeepholeOptimizer.cpp141 STATISTIC(NumCmps, "Number of compares eliminated");
619 ++NumCmps; in optimizeCmpInstr()
/external/llvm-project/llvm/lib/CodeGen/
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()
DPeepholeOptimizer.cpp141 STATISTIC(NumCmps, "Number of compares eliminated");
623 ++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-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp59 STATISTIC(NumCmps, "Number of comparisons propagated");
323 ++NumCmps; in processCmp()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp58 STATISTIC(NumCmps, "Number of comparisons propagated");
313 ++NumCmps; in processCmp()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1026 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument
1044 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
1045 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp112 STATISTIC(NumCmps, "Number of compares eliminated");
574 ++NumCmps; in optimizeCmpInstr()
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h1178 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps, in isSuitableForBitTests() argument
1196 return (NumDests == 1 && NumCmps >= 3) || (NumDests == 2 && NumCmps >= 5) || in isSuitableForBitTests()
1197 (NumDests == 3 && NumCmps >= 6); in isSuitableForBitTests()
/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/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1086 unsigned NumCmps = 0; in FoldAllocaCmp() local
1105 if (NumCmps++) in FoldAllocaCmp()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1054 unsigned NumCmps = 0; in foldAllocaCmp() local
1073 if (NumCmps++) in foldAllocaCmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1052 unsigned NumCmps = 0; in foldAllocaCmp() local
1071 if (NumCmps++) in foldAllocaCmp()