Home
last modified time | relevance | path

Searched refs:CaseIt (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h1892 using CaseIt = llvm::SwitchInst::CaseIteratorImpl<CaseHandle>; variable
1897 CaseIt case_begin() { return CaseIt(this, 0); } in case_begin()
1901 CaseIt case_end() { return CaseIt(this, getNumCases()); } in case_end()
1904 iterator_range<CaseIt> cases() { in cases()
1910 CaseIt case_default() { return CaseIt(this, DefaultPseudoIndex); } in case_default()
1914 CaseIt findCaseValue(const ConstantInt *C) { in findCaseValue()
1915 return CaseIt( in findCaseValue()
1937 LLVM_ABI CaseIt removeCase(CaseIt It);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h3376 using CaseIt = CaseIteratorImpl<CaseHandle>;
3414 CaseIt case_begin() {
3415 return CaseIt(this, 0);
3426 CaseIt case_end() {
3427 return CaseIt(this, getNumCases());
3437 iterator_range<CaseIt> cases() {
3451 CaseIt case_default() {
3452 return CaseIt(this, DefaultPseudoIndex);
3462 CaseIt findCaseValue(const ConstantInt *C) {
3463 return CaseIt(
[all …]
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp1138 SwitchInst::CaseIt SwitchInst::removeCase(CaseIt It) { in removeCase()
1143 llvm::SwitchInst::CaseIt LLVMIt(LLVMSwitch, CaseNum); in removeCase()
1146 return CaseIt(this, Num); in removeCase()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp4089 SwitchInst::CaseIt SwitchInst::removeCase(CaseIt I) { in removeCase()
4108 return CaseIt(this, idx); in removeCase()
4155 SwitchInst::CaseIt
4156 SwitchInstProfUpdateWrapper::removeCase(SwitchInst::CaseIt I) { in removeCase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp987 for (SwitchInst::CaseIt i = SI->case_end(), e = SI->case_begin(); i != e;) { in simplifyEqualityComparisonWithOnlyPredecessor()
5875 SwitchInst::CaseIt CaseI = SI->findCaseValue(DeadCase); in eliminateDeadSwitchCases()
6848 SwitchInst::CaseIt CI = SI->case_begin(); in switchToLookupTable()
6861 for (SwitchInst::CaseIt E = SI->case_end(); CI != E; ++CI) { in switchToLookupTable()
H A DCodeExtractor.cpp2011 SwitchInst::CaseIt(TheSwitch, ExtractedFuncRetVals.size() - 1)); in emitReplacerCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp4776 for (const auto &CaseIt : SI.cases()) { in identifyAliveSuccessors() local
4777 if (Constants.count(CaseIt.getCaseValue())) { in identifyAliveSuccessors()
4779 AliveSuccessors.push_back(&CaseIt.getCaseSuccessor()->front()); in identifyAliveSuccessors()