Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp1205 CaseStmt *CaseStmt::Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs, in Create()
1212 alignof(CaseStmt)); in Create()
1213 return new (Mem) CaseStmt(lhs, rhs, caseLoc, ellipsisLoc, colonLoc); in Create()
1216 CaseStmt *CaseStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
1221 alignof(CaseStmt)); in CreateEmpty()
1222 return new (Mem) CaseStmt(EmptyShell(), CaseStmtIsGNURange); in CreateEmpty()
H A DJSONNodeDumper.cpp1447 void JSONNodeDumper::VisitCaseStmt(const CaseStmt *CS) { in VisitCaseStmt()
H A DTextNodeDumper.cpp935 void TextNodeDumper::VisitCaseStmt(const CaseStmt *Node) { in VisitCaseStmt()
H A DStmtProfile.cpp245 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
H A DStmtPrinter.cpp207 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h272 friend class CaseStmt; variable
1566 class CaseStmt final
1568 private llvm::TrailingObjects<CaseStmt, Stmt *, SourceLocation> {
1603 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function
1618 explicit CaseStmt(EmptyShell Empty, bool CaseStmtIsGNURange) in CaseStmt() function
1625 static CaseStmt *Create(const ASTContext &Ctx, Expr *lhs, Expr *rhs,
1630 static CaseStmt *CreateEmpty(const ASTContext &Ctx, bool CaseStmtIsGNURange);
1697 const CaseStmt *CS = this; in getEndLoc()
1698 while (const auto *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getEndLoc()
1758 if (const auto *CS = dyn_cast<CaseStmt>(this)) in getEndLoc()
[all …]
H A DTextNodeDumper.h245 void VisitCaseStmt(const CaseStmt *Node);
H A DJSONNodeDumper.h311 void VisitCaseStmt(const CaseStmt *CS);
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp424 EmitCaseStmt(cast<CaseStmt>(*S), Attrs); in EmitSimpleStmt()
1308 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S, in EmitCaseStmtRange()
1393 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S, in EmitCaseStmt()
1459 const CaseStmt *CurCase = &S; in EmitCaseStmt()
1460 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1480 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1707 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
H A DCodeGenPGO.cpp99 CaseStmt, enumerator
290 return PGOHash::CaseStmt; in DEFINE_NESTABLE_TRAVERSAL()
H A DCoverageMappingGen.cpp1353 if (const auto *CS = dyn_cast<CaseStmt>(S)) { in VisitSwitchCase()
H A DCodeGenFunction.h3195 void EmitCaseStmt(const CaseStmt &S, ArrayRef<const Attr *> Attrs);
3196 void EmitCaseStmtRange(const CaseStmt &S, ArrayRef<const Attr *> Attrs);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp511 auto *CS = CaseStmt::Create(Context, LHSVal.get(), RHSVal.get(), in ActOnCaseStmt()
519 cast<CaseStmt>(S)->setSubStmt(SubStmt); in ActOnCaseStmtBody()
933 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
937 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
938 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
942 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
950 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals()
951 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals()
1224 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt()
1228 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy; in ActOnFinishSwitchStmt()
[all …]
H A DJumpDiagnostics.cpp680 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
H A DSemaAvailability.cpp693 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
H A DAnalysisBasedWarnings.cpp952 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h548 const CaseStmt *getCase() const { in getCase()
549 return cast<CaseStmt>((*I)->getLabel()); in getCase()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DProgramPoint.cpp154 if (const auto *C = dyn_cast<CaseStmt>(Label)) { in printJson()
H A DCFG.cpp548 CFGBlock *VisitCaseStmt(CaseStmt *C);
2167 return VisitCaseStmt(cast<CaseStmt>(S)); in Visit()
4157 const CaseStmt *CS, in shouldAddCase()
4191 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt()
4200 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt()
4215 CS = cast<CaseStmt>(Sub); in VisitCaseStmt()
5103 if (!L || !isa<CaseStmt>(L)) in FilterEdge()
5647 else if (CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in print_block()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DStmtNodes.td24 def CaseStmt : StmtNode<SwitchCase>;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetInstrPredicate.td216 MCStatement CaseStmt = caseStmt;
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp894 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2259 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
7400 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, in AST_MATCHER_P() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1438 bool WalkUpFromCaseStmt(CaseStmt *S) { in WalkUpFromCaseStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp170 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
2713 S = CaseStmt::CreateEmpty( in ReadStmtFromStream()

12