Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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.cpp409 EmitLabelStmt(cast<LabelStmt>(*S)); in EmitSimpleStmt()
469 if (const auto *LS = dyn_cast<LabelStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
650 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
H A DCoverageMappingGen.cpp1038 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DCodeGenFunction.h67 class LabelStmt; variable
3178 void EmitLabelStmt(const LabelStmt &S);
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td151 class LabelStmt {
H A DTextNodeDumper.h246 void VisitLabelStmt(const LabelStmt *Node);
H A DDecl.h64 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 DJSONNodeDumper.h317 void VisitLabelStmt(const LabelStmt *LS);
H A DStmt.h137 friend class LabelStmt; in alignas() local
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
/freebsd-13.1/contrib/llvm-project/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.cpp1502 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
H A DStmtProfile.cpp253 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DTextNodeDumper.cpp965 void TextNodeDumper::VisitLabelStmt(const LabelStmt *Node) { in VisitLabelStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h502 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td31 def LabelStmt : StmtNode<ValueStmt>;
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp580 CFGBlock *VisitLabelStmt(LabelStmt *L);
2266 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
3241 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
5652 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1150 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1220 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp891 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp186 void ASTStmtReader::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
2737 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream()

12