Home
last modified time | relevance | path

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

12

/freebsd-14.2/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.cpp95 LabelStmt = 1, enumerator
404 return PGOHash::LabelStmt; in DEFINE_NESTABLE_TRAVERSAL()
591 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DCGStmt.cpp455 EmitLabelStmt(cast<LabelStmt>(*S)); in EmitSimpleStmt()
515 if (const auto *LS = dyn_cast<LabelStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
695 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
H A DCodeGenFunction.h65 class LabelStmt; variable
3323 void EmitLabelStmt(const LabelStmt &S);
H A DCoverageMappingGen.cpp1456 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp640 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
974 assert(isa<LabelStmt>(To)); in CheckJump()
975 LabelStmt *Label = cast<LabelStmt>(To); in CheckJump()
H A DSemaStmt.cpp221 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
570 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
H A DAnalysisBasedWarnings.cpp1138 const LabelStmt *L = dyn_cast_or_null<LabelStmt>(P->getLabel()); in checkFallThroughIntoBlock()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td151 class LabelStmt {
H A DTextNodeDumper.h251 void VisitLabelStmt(const LabelStmt *Node);
H A DJSONNodeDumper.h331 void VisitLabelStmt(const LabelStmt *LS);
H A DDecl.h64 class LabelStmt; variable
500 LabelStmt *TheStmt;
510 LabelStmt *S, SourceLocation StartL) in LabelDecl()
523 LabelStmt *getStmt() const { return TheStmt; } in getStmt()
524 void setStmt(LabelStmt *T) { TheStmt = T; } in setStmt()
H A DStmt.h159 friend class LabelStmt; in alignas() local
2029 class LabelStmt : public ValueStmt {
2036 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() function
2042 explicit LabelStmt(EmptyShell Empty) : ValueStmt(LabelStmtClass, Empty) {} in LabelStmt() function
/freebsd-14.2/contrib/llvm-project/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.cpp1616 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
H A DStmtProfile.cpp273 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h510 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp152 bool VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td31 def LabelStmt : StmtNode<ValueStmt>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp598 CFGBlock *VisitLabelStmt(LabelStmt *L);
2332 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
3389 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
5952 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1146 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1217 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp912 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp192 void ASTStmtReader::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
2896 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream()

12