| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Stmt.cpp | 1218 CaseStmt *CaseStmt::Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs, in Create() 1225 alignof(CaseStmt)); in Create() 1226 return new (Mem) CaseStmt(lhs, rhs, caseLoc, ellipsisLoc, colonLoc); in Create() 1229 CaseStmt *CaseStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 1234 alignof(CaseStmt)); in CreateEmpty() 1235 return new (Mem) CaseStmt(EmptyShell(), CaseStmtIsGNURange); in CreateEmpty()
|
| H A D | JSONNodeDumper.cpp | 1539 void JSONNodeDumper::VisitCaseStmt(const CaseStmt *CS) { in VisitCaseStmt()
|
| H A D | StmtProfile.cpp | 249 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
|
| H A D | TextNodeDumper.cpp | 991 void TextNodeDumper::VisitCaseStmt(const CaseStmt *Node) { in VisitCaseStmt()
|
| H A D | StmtPrinter.cpp | 271 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Stmt.h | 277 friend class CaseStmt; variable 1611 class CaseStmt final 1613 private llvm::TrailingObjects<CaseStmt, Stmt *, SourceLocation> { 1648 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function 1663 explicit CaseStmt(EmptyShell Empty, bool CaseStmtIsGNURange) in CaseStmt() function 1670 static CaseStmt *Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs, 1675 static CaseStmt *CreateEmpty(const ASTContext &Ctx, bool CaseStmtIsGNURange); 1742 const CaseStmt *CS = this; in getEndLoc() 1743 while (const auto *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getEndLoc() 1803 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 | 321 void VisitCaseStmt(const CaseStmt *CS);
|
| /openbsd-src/gnu/llvm/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() 988 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals() 1261 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt() 1265 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy; in ActOnFinishSwitchStmt() [all …]
|
| H A D | JumpDiagnostics.cpp | 685 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
|
| H A D | SemaAvailability.cpp | 687 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
|
| H A D | AnalysisBasedWarnings.cpp | 955 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CoreEngine.h | 561 const CaseStmt *getCase() const { in getCase() 562 return cast<CaseStmt>((*I)->getLabel()); in getCase()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 466 EmitCaseStmt(cast<CaseStmt>(*S), Attrs); in EmitSimpleStmt() 1418 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S, in EmitCaseStmtRange() 1503 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S, in EmitCaseStmt() 1584 const CaseStmt *CurCase = &S; in EmitCaseStmt() 1585 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt() 1605 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt() 1838 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
|
| H A D | CodeGenPGO.cpp | 100 CaseStmt, enumerator 291 return PGOHash::CaseStmt; in DEFINE_NESTABLE_TRAVERSAL()
|
| H A D | CoverageMappingGen.cpp | 1368 if (const auto *CS = dyn_cast<CaseStmt>(S)) { in VisitSwitchCase()
|
| H A D | CodeGenFunction.h | 3255 void EmitCaseStmt(const CaseStmt &S, ArrayRef<const Attr *> Attrs); 3256 void EmitCaseStmtRange(const CaseStmt &S, ArrayRef<const Attr *> Attrs);
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 154 if (const auto *C = dyn_cast<CaseStmt>(Label)) { in printJson()
|
| H A D | CFG.cpp | 552 CFGBlock *VisitCaseStmt(CaseStmt *C); 2230 return VisitCaseStmt(cast<CaseStmt>(S)); in Visit() 4434 const CaseStmt *CS, in shouldAddCase() 4468 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt() 4477 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt() 4492 CS = cast<CaseStmt>(Sub); in VisitCaseStmt() 5392 if (!L || !isa<CaseStmt>(L)) in FilterEdge() 5939 else if (CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in print_block()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 24 def CaseStmt : StmtNode<SwitchCase>;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Target/ |
| H A D | TargetInstrPredicate.td | 216 MCStatement CaseStmt = caseStmt;
|
| /openbsd-src/gnu/llvm/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 910 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2285 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt; 7846 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, in AST_MATCHER_P() argument
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 1443 bool WalkUpFromCaseStmt(CaseStmt *S) { in WalkUpFromCaseStmt()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 175 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt() 2828 S = CaseStmt::CreateEmpty( in ReadStmtFromStream()
|