| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 118 if (const SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() 149 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC; in Detect()
|
| H A D | CGStmt.cpp | 2011 const SwitchCase *Case, in CollectStatementsForCase() 2020 if (const SwitchCase *SC = dyn_cast<SwitchCase>(S)) { in CollectStatementsForCase() 2169 const SwitchCase *&ResultCase) { in FindCaseStatementsForValue() 2172 const SwitchCase *Case = S.getSwitchCaseList(); in FindCaseStatementsForValue() 2286 const SwitchCase *Case = nullptr; in EmitSwitchStmt() 2358 for (const SwitchCase *Case = S.getSwitchCaseList(); in EmitSwitchStmt()
|
| H A D | CoverageMappingGen.cpp | 1191 Counter createSwitchCaseRegion(const SwitchCase *SC, Counter ParentCount) { in createSwitchCaseRegion() 1919 const SwitchCase *Case = S->getSwitchCaseList(); in VisitSwitchStmt() 1941 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
|
| H A D | CodeGenPGO.cpp | 853 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 315 friend class SwitchCase; 1884 class SwitchCase : public Stmt { 1894 SwitchCase *NextSwitchCase = nullptr; 1896 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) 1901 SwitchCase(StmtClass SC, EmptyShell) : Stmt(SC) {} 1904 const SwitchCase *getNextSwitchCase() const { return NextSwitchCase; } 1905 SwitchCase *getNextSwitchCase() { return NextSwitchCase; } 1906 void setNextSwitchCase(SwitchCase *SC) { NextSwitchCase = SC; } 1915 return const_cast<SwitchCase *>(this)->getSubStmt(); 1930 : public SwitchCase, [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTRecordReader.h | 358 void recordSwitchCaseID(SwitchCase *SC, unsigned ID) { in recordSwitchCaseID() 363 SwitchCase *getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
|
| H A D | ASTWriter.h | 75 class SwitchCase; variable 487 llvm::DenseMap<SwitchCase *, unsigned> SwitchCaseIDs; 840 unsigned RecordSwitchCaseID(SwitchCase *S); 843 unsigned getSwitchCaseID(SwitchCase *S);
|
| H A D | ASTReader.h | 103 class SwitchCase; variable 1120 using SwitchCaseMapTy = llvm::DenseMap<unsigned, SwitchCase *>; 2598 void RecordSwitchCaseID(SwitchCase *SC, unsigned ID); 2601 SwitchCase *getSwitchCaseWithID(unsigned ID);
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 46 if(const auto *Case = dyn_cast<SwitchCase>(S)) in isSemicolonRequiredAfter()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 23 def SwitchCase : StmtNode<Stmt, 1>; 24 def CaseStmt : StmtNode<SwitchCase>; 25 def DefaultStmt : StmtNode<SwitchCase>;
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenStmt.cpp | 261 return emitSwitchCase(cast<SwitchCase>(*s), in emitSimpleStmt() 552 mlir::LogicalResult CIRGenFunction::emitSwitchCase(const SwitchCase &s, in emitSwitchCase() 841 if (auto *switchCase = dyn_cast<SwitchCase>(c)) { in emitSwitchBody()
|
| H A D | CIRGenFunction.cpp | 154 if (isa<SwitchCase>(s) && !ignoreCaseStmts) in containsLabel()
|
| H A D | CIRGenFunction.h | 1064 mlir::LogicalResult emitSwitchCase(const clang::SwitchCase &s,
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 653 if (SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() 725 for (SwitchCase *SC = SS->getSwitchCaseList(); SC; in VerifyJumps()
|
| H A D | AnalysisBasedWarnings.cpp | 1245 if (isa_and_nonnull<SwitchCase>(L) && ReachableBlocks.insert(B).second) in fillReachableBlocks() 1277 const SwitchCase *SW = dyn_cast_or_null<SwitchCase>(P->getLabel()); in checkFallThroughIntoBlock() 1374 if (const SwitchCase *SW = dyn_cast_or_null<SwitchCase>(B.getLabel())) in getLastStmt() 1375 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt() 1443 if (!isa_and_nonnull<SwitchCase>(Label)) in DiagnoseSwitchLabelsFallthrough()
|
| H A D | SemaStmtAttr.cpp | 27 if (isa<SwitchCase>(St)) { in handleFallThroughAttr()
|
| H A D | SemaAvailability.cpp | 756 return cast<SwitchCase>(Parent)->getSubStmt() == S; in isBodyLikeChildStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.h | 116 using CaseMap = llvm::DenseMap<const SwitchCase *, LabelTy>;
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 640 if (!Label || !isa<SwitchCase>(Label)) in getUninitUse()
|
| H A D | CalledOnceCheck.cpp | 534 for (const SwitchCase *Case = Switch->getSwitchCaseList(); Case; in VisitSwitchStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 157 void ASTStmtWriter::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase() 251 for (SwitchCase *SC = S->getSwitchCaseList(); SC; in VisitSwitchStmt() 3050 unsigned ASTWriter::RecordSwitchCaseID(SwitchCase *S) { in RecordSwitchCaseID() 3057 unsigned ASTWriter::getSwitchCaseID(SwitchCase *S) { in getSwitchCaseID()
|
| H A D | ASTReaderStmt.cpp | 165 void ASTStmtReader::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase() 261 SwitchCase *PrevSC = nullptr; in VisitSwitchStmt() 263 SwitchCase *SC = Record.getSwitchCaseWithID(Record.readInt()); in VisitSwitchStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2387 extern const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase; 7955 AST_MATCHER_P(SwitchStmt, forEachSwitchCase, internal::Matcher<SwitchCase>, in AST_MATCHER_P() argument 7963 for (const SwitchCase *SC = Node.getSwitchCaseList(); SC; in AST_MATCHER_P()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 946 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase;
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 232 else if (const auto *SC = dyn_cast<SwitchCase>(S)) in stripLabelLikeStatements()
|