Home
last modified time | relevance | path

Searched refs:case_begin (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVStructurizer.cpp951 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 DTracker.cpp248 Switch->removeCase(Switch->case_begin()); in revert()
H A DInstruction.cpp1142 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 DInstruction.h1897 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 DSimpleLoopUnswitch.cpp810 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 DCorrelatedValuePropagation.cpp377 for (auto CI = SI->case_begin(), CE = SI->case_end(); CI != CE;) { in processSwitch()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp205 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 DSCCPSolver.cpp362 for (auto CI = SI->case_begin(); CI != SI->case_end();) { in removeNonFeasibleEdges()
H A DSimplifyCFG.cpp987 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 DInstructions.h3414 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 DCGCleanup.cpp629 llvm::BranchInst::Create(si->case_begin()->getCaseSuccessor(), in destroyOptimisticNormalEntry()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h569 APInt MaxCaseVal = SI.case_begin()->getCaseValue()->getValue(); in getEstimatedNumberOfCaseClusters()