Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmt.h954 llvm::PointerIntPair<SwitchCase *, 1, bool> FirstCase; variable
982 const SwitchCase *getSwitchCaseList() const { return FirstCase.getPointer(); } in getSwitchCaseList()
988 SwitchCase *getSwitchCaseList() { return FirstCase.getPointer(); } in getSwitchCaseList()
991 void setSwitchCaseList(SwitchCase *SC) { FirstCase.setPointer(SC); } in setSwitchCaseList()
1003 SC->setNextSwitchCase(FirstCase.getPointer()); in addSwitchCase()
1004 FirstCase.setPointer(SC); in addSwitchCase()
1009 void setAllEnumCasesCovered() { FirstCase.setInt(true); } in setAllEnumCasesCovered()
1013 bool isAllEnumCasesCovered() const { return FirstCase.getInt(); } in isAllEnumCasesCovered()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp209 SwitchInst::CaseIt FirstCase = SI->case_begin(); in ConstantFoldTerminator() local
211 FirstCase.getCaseValue(), "cond"); in ConstantFoldTerminator()
215 FirstCase.getCaseSuccessor(), in ConstantFoldTerminator()
DSimplifyCFG.cpp3586 ConstantInt *const FirstCase = ResultVector[0].second[0]; in ConvertTwoCaseSwitch() local
3598 Builder.CreateICmpEQ(Condition, FirstCase, "switch.selectcmp"); in ConvertTwoCaseSwitch()
/external/clang/lib/AST/
DStmt.cpp943 : Stmt(SwitchStmtClass), FirstCase(nullptr, false) { in SwitchStmt()