Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.cpp92 LabelStmt = 1, enumerator
276 return PGOHash::LabelStmt; in DEFINE_NESTABLE_TRAVERSAL()
463 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DCGStmt.cpp406 EmitLabelStmt(cast<LabelStmt>(*S)); in EmitSimpleStmt()
466 if (const auto *LS = dyn_cast<LabelStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
647 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
H A DCoverageMappingGen.cpp1038 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/netbsd-src/external/apache2/llvm/dist/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.cpp1041 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
1050 std::pair<const LabelStmt *, SourceLocation>
1053 return std::make_pair(static_cast<const LabelStmt *>(C.data[0]), in getCursorLabelRef()
H A DCIndex.cpp3189 if (LabelStmt *stmt = LS->getStmt()) { in RunVisitorWorkList()
4675 const LabelStmt *Label = getCursorLabelRef(C).first; in clang_getCursorSpelling()
4734 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in clang_getCursorSpelling()
4793 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) { in clang_Cursor_getSpellingNameRange()
6034 std::pair<const LabelStmt *, SourceLocation> P = getCursorLabelRef(C); in clang_getCursorLocation()
6327 if (LabelStmt *labelS = label->getStmt()) in clang_getCursorReferenced()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DJumpDiagnostics.cpp631 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
968 assert(isa<LabelStmt>(To)); in CheckJump()
969 LabelStmt *Label = cast<LabelStmt>(To); in CheckJump()
H A DSemaStmt.cpp220 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
552 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
H A DAnalysisBasedWarnings.cpp1113 const LabelStmt *L = dyn_cast_or_null<LabelStmt>(P->getLabel()); in checkFallThroughIntoBlock()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp90 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
H A DTransforms.cpp290 while (auto *Label = dyn_cast<LabelStmt>(S)) in mark()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtDataCollectors.td151 class LabelStmt {
H A DTextNodeDumper.h243 void VisitLabelStmt(const LabelStmt *Node);
H A DDecl.h64 class LabelStmt; variable
471 LabelStmt *TheStmt;
481 LabelStmt *S, SourceLocation StartL) in LabelDecl()
494 LabelStmt *getStmt() const { return TheStmt; } in getStmt()
495 void setStmt(LabelStmt *T) { TheStmt = T; } in setStmt()
H A DJSONNodeDumper.h312 void VisitLabelStmt(const LabelStmt *LS);
H A DStmt.h137 friend class LabelStmt; variable
1798 class LabelStmt : public ValueStmt {
1805 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() function
1811 explicit LabelStmt(EmptyShell Empty) : ValueStmt(LabelStmtClass, Empty) {} in LabelStmt() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp220 if (const auto *LS = dyn_cast<LabelStmt>(S)) in stripLabelLikeStatements()
401 if (const auto *LS = dyn_cast<LabelStmt>(S)) in getExprStmt()
412 const char *LabelStmt::getName() const { in getName()
H A DJSONNodeDumper.cpp1451 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
H A DTextNodeDumper.cpp924 void TextNodeDumper::VisitLabelStmt(const LabelStmt *Node) { in VisitLabelStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h501 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DStmtNodes.td31 def LabelStmt : StmtNode<ValueStmt>;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp580 CFGBlock *VisitLabelStmt(LabelStmt *L);
2259 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
3234 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
5645 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1150 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1220 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp890 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;

12