Home
last modified time | relevance | path

Searched refs:LabelStmt (Results 1 – 25 of 39) sorted by relevance

12

/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DVarBypassDetector.cpp119 else if (const LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
141 if (const LabelStmt *LS = GS->getLabel()->getStmt()) in Detect()
H A DCodeGenPGO.cpp93 LabelStmt = 1, enumerator
277 return PGOHash::LabelStmt; in DEFINE_NESTABLE_TRAVERSAL()
464 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DCGStmt.cpp448 EmitLabelStmt(cast<LabelStmt>(*S)); in EmitSimpleStmt()
508 if (const auto *LS = dyn_cast<LabelStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
688 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
H A DCoverageMappingGen.cpp1048 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXCursor.h31 class LabelStmt; variable
207 CXCursor MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc,
212 std::pair<const LabelStmt *, SourceLocation> getCursorLabelRef(CXCursor C);
H A DCXCursor.cpp1091 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
1100 std::pair<const LabelStmt *, SourceLocation>
1103 return std::make_pair(static_cast<const LabelStmt *>(C.data[0]), in getCursorLabelRef()
H A DCIndex.cpp3381 if (LabelStmt *stmt = LS->getStmt()) { in RunVisitorWorkList()
4901 const LabelStmt *Label = getCursorLabelRef(C).first;
4960 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S))
5019 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) {
6294 std::pair<const LabelStmt *, SourceLocation> P = getCursorLabelRef(C); in clang_getCursorLocation()
6587 if (LabelStmt *labelS = label->getStmt()) in clang_getCursorReferenced()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DJumpDiagnostics.cpp636 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
973 assert(isa<LabelStmt>(To)); in CheckJump()
974 LabelStmt *Label = cast<LabelStmt>(To); in CheckJump()
H A DSemaStmt.cpp220 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
569 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
H A DAnalysisBasedWarnings.cpp1114 const LabelStmt *L = dyn_cast_or_null<LabelStmt>(P->getLabel()); in checkFallThroughIntoBlock()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp90 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
H A DTransforms.cpp288 while (auto *Label = dyn_cast<LabelStmt>(S)) in mark()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DStmtDataCollectors.td151 class LabelStmt {
H A DTextNodeDumper.h246 void VisitLabelStmt(const LabelStmt *Node);
H A DJSONNodeDumper.h322 void VisitLabelStmt(const LabelStmt *LS);
H A DDecl.h63 class LabelStmt; variable
497 LabelStmt *TheStmt;
507 LabelStmt *S, SourceLocation StartL) in LabelDecl()
520 LabelStmt *getStmt() const { return TheStmt; } in getStmt()
521 void setStmt(LabelStmt *T) { TheStmt = T; } in setStmt()
H A DStmt.h142 friend class LabelStmt; in alignas() local
1843 class LabelStmt : public ValueStmt {
1850 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() function
1856 explicit LabelStmt(EmptyShell Empty) : ValueStmt(LabelStmtClass, Empty) {} in LabelStmt() function
/openbsd/gnu/llvm/clang/lib/AST/
H A DStmt.cpp221 if (const auto *LS = dyn_cast<LabelStmt>(S)) in stripLabelLikeStatements()
409 if (const auto *LS = dyn_cast<LabelStmt>(S)) in getExprStmt()
420 const char *LabelStmt::getName() const { in getName()
H A DJSONNodeDumper.cpp1543 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
H A DStmtProfile.cpp257 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h514 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td31 def LabelStmt : StmtNode<ValueStmt>;
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp585 CFGBlock *VisitLabelStmt(LabelStmt *L);
2325 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
3382 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
5937 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1146 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1217 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/openbsd/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp906 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;

12