Home
last modified time | relevance | path

Searched refs:NumCases (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/lib/GenXCodeGen/
H A DGenXLowerJmpTableSwitch.cpp123 unsigned NumCases = SI->getNumCases(); in collectBlockAddresses() local
124 std::vector<BlockAddress *> BAs(NumCases); in collectBlockAddresses()
127 IGC_ASSERT(Idx.getZExtValue() < NumCases); in collectBlockAddresses()
133 static bool canLower(unsigned NumCases) { in canLower() argument
138 if (NumCases > MaxNumCases) in canLower()
141 if (NumCases < MinNumCases) in canLower()
162 unsigned NumCases = SI->getNumCases(); in processSwitchCandidates() local
163 if (!canLower(NumCases)) in processSwitchCandidates()
171 if (MaxSE - MinSE != NumCases - 1) in processSwitchCandidates()
199 std::vector<Type *> InTys(NumCases + 2, BAs[0]->getType()); in processSwitchCandidates()
[all …]
/dports/math/cocoalib/CoCoALib-0.99712/examples/
H A Dex-RandomSource1.C44 const long NumCases = hi-lo+1; in HistogramRandomLong() local
45 const long TotTrials = NumTrials*NumCases; in HistogramRandomLong()
46 vector<long> hist(NumCases); in HistogramRandomLong()
49 cout << "Histogram after " << NumTrials << "*" << NumCases << " trials:\n"; in HistogramRandomLong()
50 for (int k=0; k < NumCases; ++k) in HistogramRandomLong()
/dports/math/giacxcas/CoCoALib-0.99700/examples/
H A Dex-RandomSource1.C44 const long NumCases = hi-lo+1; in HistogramRandomLong() local
45 const long TotTrials = NumTrials*NumCases; in HistogramRandomLong()
46 vector<long> hist(NumCases); in HistogramRandomLong()
49 cout << "Histogram after " << NumTrials << "*" << NumCases << " trials:\n"; in HistogramRandomLong()
50 for (int k=0; k < NumCases; ++k) in HistogramRandomLong()
/dports/math/cocoalib/CoCoALib-0.99712/src/tests/
H A Dtest-RandomSource2.C78 const long NumCases = 10; in program() local
80 const long NumTrials = ExpectedFreq*NumCases; in program()
83 vector<long> hist(NumCases); in program()
85 ++hist[RandomLong(RndSrc, lwb, lwb+NumCases-1) - lwb]; in program()
89 for (int i=0; i < NumCases; ++i) in program()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/subzero/src/
H A DIceSwitchLowering.cpp26 const SizeT NumCases = Instr->getNumCases(); in clusterizeSwitch() local
28 CaseClusters.reserve(NumCases); in clusterizeSwitch()
31 CaseClusters.reserve(NumCases); in clusterizeSwitch()
32 for (SizeT I = 0; I < NumCases; ++I) in clusterizeSwitch()
70 if (NumCases * 2 <= Range) in clusterizeSwitch()
/dports/math/giacxcas/CoCoALib-0.99700/src/tests/
H A Dtest-RandomSource2.C78 const long NumCases = 10; in program() local
80 const long NumTrials = ExpectedFreq*NumCases; in program()
83 vector<long> hist(NumCases); in program()
85 ++hist[RandomLong(RndSrc, lwb, lwb+NumCases-1) - lwb]; in program()
89 for (int i=0; i < NumCases; ++i) in program()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm11/llvm-11.0.1.src/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm90/llvm-9.0.1.src/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm10/llvm-10.0.1.src/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm80/llvm-8.0.1.src/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp71 unsigned NumCases = 4096; in TEST_F() local
74 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
75 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm70/llvm-7.0.1.src/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp71 unsigned NumCases = 4096; in TEST_F() local
74 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
75 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/unittests/Analysis/
H A DBranchProbabilityInfoTest.cpp70 unsigned NumCases = 4096; in TEST_F() local
73 auto *Switch = SwitchInst::Create(Undef, ExitBB, NumCases, EntryBB); in TEST_F()
74 for (unsigned I = 0; I < NumCases; ++I) in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp41 uint64_t NumCases = in getJumpTableNumCases() local
43 return NumCases; in getJumpTableNumCases()
83 uint64_t NumCases = getJumpTableNumCases(TotalCases, 0, N - 1); in findJumpTables() local
84 assert(NumCases < UINT64_MAX / 100); in findJumpTables()
85 assert(Range >= NumCases); in findJumpTables()
88 if (TLI->isSuitableForJumpTable(SI, NumCases, Range, PSI, BFI)) { in findJumpTables()
142 NumCases = getJumpTableNumCases(TotalCases, i, j); in findJumpTables()
143 assert(NumCases < UINT64_MAX / 100); in findJumpTables()
144 assert(Range >= NumCases); in findJumpTables()
146 if (TLI->isSuitableForJumpTable(SI, NumCases, Range, PSI, BFI)) { in findJumpTables()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp39 uint64_t NumCases = in getJumpTableNumCases() local
41 return NumCases; in getJumpTableNumCases()
81 uint64_t NumCases = getJumpTableNumCases(TotalCases, 0, N - 1); in findJumpTables() local
82 assert(NumCases < UINT64_MAX / 100); in findJumpTables()
83 assert(Range >= NumCases); in findJumpTables()
86 if (TLI->isSuitableForJumpTable(SI, NumCases, Range, PSI, BFI)) { in findJumpTables()
140 NumCases = getJumpTableNumCases(TotalCases, i, j); in findJumpTables()
141 assert(NumCases < UINT64_MAX / 100); in findJumpTables()
142 assert(Range >= NumCases); in findJumpTables()
144 if (TLI->isSuitableForJumpTable(SI, NumCases, Range, PSI, BFI)) { in findJumpTables()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp41 uint64_t NumCases = in getJumpTableNumCases() local
43 return NumCases; in getJumpTableNumCases()
83 uint64_t NumCases = getJumpTableNumCases(TotalCases, 0, N - 1); in findJumpTables() local
84 assert(NumCases < UINT64_MAX / 100); in findJumpTables()
85 assert(Range >= NumCases); in findJumpTables()
88 if (TLI->isSuitableForJumpTable(SI, NumCases, Range, PSI, BFI)) { in findJumpTables()
142 NumCases = getJumpTableNumCases(TotalCases, i, j); in findJumpTables()
143 assert(NumCases < UINT64_MAX / 100); in findJumpTables()
144 assert(Range >= NumCases); in findJumpTables()
146 if (TLI->isSuitableForJumpTable(SI, NumCases, Range, PSI, BFI)) { in findJumpTables()

12345678910>>...13