| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | FunctionPropertiesAnalysis.cpp | 35 (SI->getNumCases() + (nullptr != SI->getDefaultDest())); in getFunctionPropertiesInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | DAGISelMatcherEmitter.cpp | 286 NumCases = SOM->getNumCases(); in SizeMatcher() 288 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in SizeMatcher() 516 NumCases = SOM->getNumCases(); in EmitMatcher() 519 NumCases = cast<SwitchTypeMatcher>(N)->getNumCases(); in EmitMatcher()
|
| H A D | DAGISelMatcher.h | 484 unsigned getNumCases() const { return Cases.size(); } in getNumCases() function 534 unsigned getNumCases() const { return Cases.size(); } in getNumCases() function
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceBasicBlocks.cpp | 78 for (int I = 0, E = SwInst.getNumCases(); I != E; ++I) { in removeUninterestingBBsFromSwitch()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 94 unsigned n = SI.getNumCases(); // +1 for default case. in handleSwitchExpect()
|
| H A D | SimpleLoopUnswitch.cpp | 699 if (SI.getNumCases() > 0 && in unswitchTrivialSwitch() 708 if (SI.getNumCases() == 0) in unswitchTrivialSwitch() 834 assert(SI.getNumCases() > 0 && in unswitchTrivialSwitch()
|
| H A D | CorrelatedValuePropagation.cpp | 372 NumDeadCases += SI->getNumCases(); in processSwitch()
|
| H A D | LoopUnswitch.cpp | 774 unsigned NumCases = SI->getNumCases(); in processCurrentLoop()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3232 assert((unsigned)Index < SI->getNumCases() && 3239 assert(((unsigned)Index < SI->getNumCases() || 3251 (unsigned)Index < SI->getNumCases()) && 3274 assert((unsigned)Index < SI->getNumCases() && 3323 (unsigned)(Case.Index + N) <= Case.SI->getNumCases() && 3332 (unsigned)(Case.Index - N) <= Case.SI->getNumCases() && 3383 unsigned getNumCases() const { 3402 return CaseIt(this, getNumCases()); 3408 return ConstCaseIt(this, getNumCases());
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 761 Cases.reserve(SI->getNumCases()); in GetValueEqualityComparisonCases() 4026 if (Weights.size() == 1 + SI->getNumCases()) { in SimplifySwitchOnSelect() 4884 assert(SI->getNumCases() > 1 && "Degenerate switch?"); in TurnSwitchRangeIntoICmp() 4958 if (Weights.size() == 1 + SI->getNumCases()) { in TurnSwitchRangeIntoICmp() 4984 unsigned PreviousEdges = SI->getNumCases() - ContiguousCases->size(); in TurnSwitchRangeIntoICmp() 5051 SI->getNumCases() == (1ULL << NumUnknownBits)) { in eliminateDeadSwitchCases() 5756 if (SI->getNumCases() > TableSize || TableSize >= UINT64_MAX / 10) in ShouldBuildLookupTable() 5790 return SI->getNumCases() * 10 >= TableSize * 4; in ShouldBuildLookupTable() 5881 assert(SI->getNumCases() > 1 && "Degenerate switch?"); in SwitchToLookupTable() 5900 if (SI->getNumCases() < 3) in SwitchToLookupTable() [all …]
|
| H A D | LowerSwitch.cpp | 469 const unsigned NumDefaultEdges = SI->getNumCases() + 1 - NumSimpleCases; in ProcessSwitchInst()
|
| H A D | SCCPSolver.cpp | 587 if (!SI->getNumCases()) { in getFeasibleSuccessors() 1539 if (!SI->getNumCases() || in resolvedUndefsIn()
|
| H A D | Local.cpp | 199 SI->getNumCases() > 0) { in ConstantFoldTerminator() 217 unsigned NCases = SI->getNumCases(); in ConstantFoldTerminator() 300 if (SI->getNumCases() == 1) { in ConstantFoldTerminator()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroElide.cpp | 280 if (SWI->getNumCases() == 2) in collectPostSplitCoroIds()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 70 return SI.getNumCases(); in getEstimatedNumberOfCaseClusters()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 799 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1938 assert(SwitchWeights->size() == 1 + SwitchInsn->getNumCases() && in EmitSwitchStmt() 1946 assert(SwitchLikelihood->size() == 1 + SwitchInsn->getNumCases() && in EmitSwitchStmt()
|
| H A D | CGCleanup.cpp | 623 if (si->getNumCases() == 1 && si->getDefaultDest() == unreachableBB) { in destroyOptimisticNormalEntry()
|
| H A D | CGOpenMPRuntime.cpp | 179 CGF.EmitStoreOfScalar(CGF.Builder.getInt32(UntiedSwitch->getNumCases()), in emitUntiedSwitch() 186 UntiedSwitch->addCase(CGF.Builder.getInt32(UntiedSwitch->getNumCases()), in emitUntiedSwitch() 192 unsigned getNumberOfParts() const { return UntiedSwitch->getNumCases(); } in getNumberOfParts()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 678 if (SI->getNumCases() + 1 >= (unsigned)TLI->getMinimumJumpTableEntries()) in mightUseCTR()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 835 return (SI ? (SI->getNumCases() + 1) : 4) * (CBrCost + 1); in getCFInstrCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 908 InlineCost += (SI->getNumCases() + 1) * InlineConstants::InstrCost; in computeBBInlineCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 679 Clusters.reserve(SI.getNumCases()); in translateSwitch() 686 : BranchProbability(1, SI.getNumCases() + 1); in translateSwitch()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 381 unsigned N = SI.getNumCases(); in getEstimatedNumberOfCaseClusters()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 4055 unsigned NewCaseIdx = getNumCases(); in addCase()
|