| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-case.cpp | 43 const auto &stmt{std::get<parser::Statement<parser::CaseStmt>>(c.t)}; in AddCase() 44 const parser::CaseStmt &caseStmt{stmt.statement}; in AddCase() 144 explicit Case(const parser::Statement<parser::CaseStmt> &s) : stmt{s} {} in Case() 167 const parser::Statement<parser::CaseStmt> &stmt;
|
| H A D | resolve-labels.cpp | 635 parser::CaseStmt>("SELECT CASE", caseConstruct); in PopConstructName()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | PopulateSwitch.cpp | 149 const CaseStmt *CS = cast<CaseStmt>(CaseList); in REGISTER_TWEAK()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 1217 CaseStmt *CaseStmt::Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs, in Create() 1224 alignof(CaseStmt)); in Create() 1225 return new (Mem) CaseStmt(lhs, rhs, caseLoc, ellipsisLoc, colonLoc); in Create() 1228 CaseStmt *CaseStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 1233 alignof(CaseStmt)); in CreateEmpty() 1234 return new (Mem) CaseStmt(EmptyShell(), CaseStmtIsGNURange); in CreateEmpty()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 275 friend class CaseStmt; in alignas() local 1599 class CaseStmt final 1601 private llvm::TrailingObjects<CaseStmt, Stmt *, SourceLocation> { 1636 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function 1651 explicit CaseStmt(EmptyShell Empty, bool CaseStmtIsGNURange) in CaseStmt() function 1658 static CaseStmt *Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs, 1663 static CaseStmt *CreateEmpty(const ASTContext &Ctx, bool CaseStmtIsGNURange); 1730 const CaseStmt *CS = this; in getEndLoc() 1731 while (const auto *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getEndLoc() 1791 if (const auto *CS = dyn_cast<CaseStmt>(this)) in getEndLoc() [all …]
|
| H A D | TextNodeDumper.h | 248 void VisitCaseStmt(const CaseStmt *Node);
|
| H A D | JSONNodeDumper.h | 316 void VisitCaseStmt(const CaseStmt *CS);
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 462 EmitCaseStmt(cast<CaseStmt>(*S), Attrs); in EmitSimpleStmt() 1407 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S, in EmitCaseStmtRange() 1492 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S, in EmitCaseStmt() 1573 const CaseStmt *CurCase = &S; in EmitCaseStmt() 1574 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt() 1594 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt() 1827 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
|
| H A D | CodeGenPGO.cpp | 99 CaseStmt, enumerator 290 return PGOHash::CaseStmt; in DEFINE_NESTABLE_TRAVERSAL()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 528 auto *CS = CaseStmt::Create(Context, LHSVal.get(), RHSVal.get(), in ActOnCaseStmt() 536 cast<CaseStmt>(S)->setSubStmt(SubStmt); in ActOnCaseStmtBody() 970 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()() 974 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()() 975 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()() 979 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()() 987 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals() 1289 CaseStmt *CS = cast<CaseStmt>(SC); in ActOnFinishSwitchStmt() 1400 CaseStmt *CR = CaseRanges[i].second; in ActOnFinishSwitchStmt() 1439 CaseStmt *CR = CaseRanges[i].second; in ActOnFinishSwitchStmt() [all …]
|
| H A D | JumpDiagnostics.cpp | 685 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
|
| H A D | SemaAvailability.cpp | 683 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CoreEngine.h | 555 const CaseStmt *getCase() const { in getCase() 556 return cast<CaseStmt>((*I)->getLabel()); in getCase()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | PFTBuilder.h | 116 parser::EndBlockStmt, parser::SelectCaseStmt, parser::CaseStmt, 168 A, std::tuple<parser::CaseStmt, parser::ElseIfStmt, parser::ElseStmt, 173 A, std::tuple<parser::CaseStmt, parser::EndSelectStmt, parser::ElseIfStmt,
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | executable-parsers.cpp | 331 unambiguousStatement(Parser<CaseStmt>{}), block)), 342 construct<CaseStmt>("CASE" >> Parser<CaseSelector>{}, maybe(name)))
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 154 if (const auto *C = dyn_cast<CaseStmt>(Label)) { in printJson()
|
| H A D | CFG.cpp | 548 CFGBlock *VisitCaseStmt(CaseStmt *C); 2170 return VisitCaseStmt(cast<CaseStmt>(S)); in Visit() 4375 const CaseStmt *CS, in shouldAddCase() 4409 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt() 4418 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt() 4433 CS = cast<CaseStmt>(Sub); in VisitCaseStmt() 5322 if (!L || !isa<CaseStmt>(L)) in FilterEdge() 5869 else if (CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in print_block()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 483 } else if (isa<LabelStmt, CaseStmt, DefaultStmt>(*First)) { in VisitCompoundStmt() 490 : isa<CaseStmt>(*First) ? cast<CaseStmt>(*First)->getSubStmt() in VisitCompoundStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 24 def CaseStmt : StmtNode<SwitchCase>;
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | PFTBuilder.cpp | 690 parser::AssociateStmt, parser::CaseStmt, parser::ChangeTeamStmt, in getConstructName() 828 [&](const parser::CaseStmt &) { in analyzeBranches() argument
|
| /llvm-project-15.0.7/llvm/include/llvm/Target/ |
| H A D | TargetInstrPredicate.td | 216 MCStatement CaseStmt = caseStmt;
|
| /llvm-project-15.0.7/flang/include/flang/Parser/ |
| H A D | parse-tree.h | 2340 struct CaseStmt { struct 2341 TUPLE_CLASS_BOILERPLATE(CaseStmt); 2355 std::tuple<Statement<CaseStmt>, Block> t; argument
|
| H A D | dump-parse-tree.h | 171 NODE(parser, CaseStmt) in NODE()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 909 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2284 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt; 7825 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, in AST_MATCHER_P() argument
|