Home
last modified time | relevance | path

Searched refs:FirstCase (Results 1 – 6 of 6) sorted by relevance

/external/clang/include/clang/AST/
DStmt.h965 llvm::PointerIntPair<SwitchCase *, 1, bool> FirstCase; variable
996 const SwitchCase *getSwitchCaseList() const { return FirstCase.getPointer(); } in getSwitchCaseList()
1002 SwitchCase *getSwitchCaseList() { return FirstCase.getPointer(); } in getSwitchCaseList()
1005 void setSwitchCaseList(SwitchCase *SC) { FirstCase.setPointer(SC); } in setSwitchCaseList()
1017 SC->setNextSwitchCase(FirstCase.getPointer()); in addSwitchCase()
1018 FirstCase.setPointer(SC); in addSwitchCase()
1023 void setAllEnumCasesCovered() { FirstCase.setInt(true); } in setAllEnumCasesCovered()
1027 bool isAllEnumCasesCovered() const { return FirstCase.getInt(); } in isAllEnumCasesCovered()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp212 SwitchInst::CaseIt FirstCase = SI->case_begin(); in ConstantFoldTerminator() local
214 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
218 FirstCase.getCaseSuccessor(), in ConstantFoldTerminator()
DSimplifyCFG.cpp4364 ConstantInt *const FirstCase = ResultVector[0].second[0]; in ConvertTwoCaseSwitch() local
4376 Builder.CreateICmpEQ(Condition, FirstCase, "switch.selectcmp"); in ConvertTwoCaseSwitch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp260 auto FirstCase = *SI->case_begin(); in ConstantFoldTerminator() local
262 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
266 FirstCase.getCaseSuccessor(), in ConstantFoldTerminator()
DSimplifyCFG.cpp4788 ConstantInt *const FirstCase = ResultVector[0].second[0]; in ConvertTwoCaseSwitch() local
4800 Builder.CreateICmpEQ(Condition, FirstCase, "switch.selectcmp"); in ConvertTwoCaseSwitch()
/external/clang/lib/AST/
DStmt.cpp830 : Stmt(SwitchStmtClass), FirstCase(nullptr, false) { in SwitchStmt()