Searched refs:case_begin (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVStructurizer.cpp | 951 SI->case_begin()->getCaseValue()); in simplifyBranches() 952 Builder.CreateCondBr(Condition, SI->case_begin()->getCaseSuccessor(), in simplifyBranches() 975 auto It = SI->case_begin(); in splitSwitchCases()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Tracker.cpp | 248 Switch->removeCase(Switch->case_begin()); in revert()
|
| H A D | Instruction.cpp | 1142 unsigned CaseNum = It - case_begin(); in removeCase() 1145 unsigned Num = LLVMCaseIt - LLVMSwitch->case_begin(); in removeCase()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 1897 CaseIt case_begin() { return CaseIt(this, 0); } in case_begin() function 1898 ConstCaseIt case_begin() const { return ConstCaseIt(this, 0); } in case_begin() function 1905 return make_range(case_begin(), case_end()); in cases() 1908 return make_range(case_begin(), case_end()); in cases()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 810 auto CaseI = SI.case_begin() + Index; in unswitchTrivialSwitch() 840 auto CaseI = SI.case_begin() + Index; in unswitchTrivialSwitch() 853 return Case.getCaseSuccessor() == SI.case_begin()->getCaseSuccessor(); in unswitchTrivialSwitch() 855 CommonSuccBB = SI.case_begin()->getCaseSuccessor(); in unswitchTrivialSwitch()
|
| H A D | CorrelatedValuePropagation.cpp | 377 for (auto CI = SI->case_begin(), CE = SI->case_end(); CI != CE;) { in processSwitch()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 205 TheOnlyDest = SI->case_begin()->getCaseSuccessor(); in ConstantFoldTerminator() 210 for (auto It = SI->case_begin(), End = SI->case_end(); It != End;) { in ConstantFoldTerminator() 248 It = SI->case_begin(); in ConstantFoldTerminator() 311 auto FirstCase = *SI->case_begin(); in ConstantFoldTerminator()
|
| H A D | SCCPSolver.cpp | 362 for (auto CI = SI->case_begin(); CI != SI->case_end();) { in removeNonFeasibleEdges()
|
| H A D | SimplifyCFG.cpp | 987 for (SwitchInst::CaseIt i = SI->case_end(), e = SI->case_begin(); i != e;) { in simplifyEqualityComparisonWithOnlyPredecessor() 5531 for (auto i = SU->case_begin(), e = SU->case_end(); i != e;) { in simplifyUnreachable() 6848 SwitchInst::CaseIt CI = SI->case_begin(); in switchToLookupTable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 3414 CaseIt case_begin() { 3420 ConstCaseIt case_begin() const { 3438 return make_range(case_begin(), case_end()); 3443 return make_range(case_begin(), case_end());
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 629 llvm::BranchInst::Create(si->case_begin()->getCaseSuccessor(), in destroyOptimisticNormalEntry()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 569 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()
|