Home
last modified time | relevance | path

Searched refs:CaseStmt (Results 1 – 25 of 34) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmt.cpp1218 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 DJSONNodeDumper.cpp1539 void JSONNodeDumper::VisitCaseStmt(const CaseStmt *CS) { in VisitCaseStmt()
H A DStmtProfile.cpp249 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
H A DTextNodeDumper.cpp991 void TextNodeDumper::VisitCaseStmt(const CaseStmt *Node) { in VisitCaseStmt()
H A DStmtPrinter.cpp271 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmt.h277 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 DTextNodeDumper.h248 void VisitCaseStmt(const CaseStmt *Node);
H A DJSONNodeDumper.h321 void VisitCaseStmt(const CaseStmt *CS);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp528 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 DJumpDiagnostics.cpp685 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
H A DSemaAvailability.cpp687 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
H A DAnalysisBasedWarnings.cpp955 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h561 const CaseStmt *getCase() const { in getCase()
562 return cast<CaseStmt>((*I)->getLabel()); in getCase()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmt.cpp466 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 DCodeGenPGO.cpp100 CaseStmt, enumerator
291 return PGOHash::CaseStmt; in DEFINE_NESTABLE_TRAVERSAL()
H A DCoverageMappingGen.cpp1368 if (const auto *CS = dyn_cast<CaseStmt>(S)) { in VisitSwitchCase()
H A DCodeGenFunction.h3255 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 DProgramPoint.cpp154 if (const auto *C = dyn_cast<CaseStmt>(Label)) { in printJson()
H A DCFG.cpp552 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 DStmtNodes.td24 def CaseStmt : StmtNode<SwitchCase>;
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTargetInstrPredicate.td216 MCStatement CaseStmt = caseStmt;
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp910 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2285 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 DBuildTree.cpp1443 bool WalkUpFromCaseStmt(CaseStmt *S) { in WalkUpFromCaseStmt()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp175 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
2828 S = CaseStmt::CreateEmpty( in ReadStmtFromStream()

12