Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp59 STATISTIC(NumCmps, "Number of comparisons propagated");
323 ++NumCmps; in processCmp()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1052 unsigned NumCmps = 0; in foldAllocaCmp() local
1071 if (NumCmps++) in foldAllocaCmp()