/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SwitchLoweringUtils.cpp | 195 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()
|
D | PeepholeOptimizer.cpp | 141 STATISTIC(NumCmps, "Number of compares eliminated"); 619 ++NumCmps; in optimizeCmpInstr()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | SwitchLoweringUtils.cpp | 198 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()
|
D | PeepholeOptimizer.cpp | 141 STATISTIC(NumCmps, "Number of compares eliminated"); 623 ++NumCmps; in optimizeCmpInstr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 36 STATISTIC(NumCmps, "Number of comparisons propagated"); 201 ++NumCmps; in processCmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 59 STATISTIC(NumCmps, "Number of comparisons propagated"); 323 ++NumCmps; in processCmp()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 58 STATISTIC(NumCmps, "Number of comparisons propagated"); 313 ++NumCmps; in processCmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 1026 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/ |
D | PeepholeOptimizer.cpp | 112 STATISTIC(NumCmps, "Number of compares eliminated"); 574 ++NumCmps; in optimizeCmpInstr()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 1178 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/ |
D | SelectionDAGBuilder.h | 326 bool isSuitableForBitTests(unsigned NumDests, unsigned NumCmps,
|
D | SelectionDAGBuilder.cpp | 8250 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/ |
D | InstCombineCompares.cpp | 1086 unsigned NumCmps = 0; in FoldAllocaCmp() local 1105 if (NumCmps++) in FoldAllocaCmp()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1054 unsigned NumCmps = 0; in foldAllocaCmp() local 1073 if (NumCmps++) in foldAllocaCmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1052 unsigned NumCmps = 0; in foldAllocaCmp() local 1071 if (NumCmps++) in foldAllocaCmp()
|