Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/clang/lib/CodeGen/
HDVarBypassDetector.cpp119 else if (const LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
141 if (const LabelStmt *LS = GS->getLabel()->getStmt()) in Detect()
HDCodeGenPGO.cpp97 LabelStmt = 1, enumerator
493 return PGOHash::LabelStmt; in DEFINE_NESTABLE_TRAVERSAL()
680 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
HDCGStmt.cpp472 EmitLabelStmt(cast<LabelStmt>(*S)); in EmitSimpleStmt()
532 if (const auto *LS = dyn_cast<LabelStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
712 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
HDCodeGenFunction.h67 class LabelStmt; variable
3549 void EmitLabelStmt(const LabelStmt &S);
/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDJumpDiagnostics.cpp649 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
988 assert(isa<LabelStmt>(To)); in CheckJump()
989 LabelStmt *Label = cast<LabelStmt>(To); in CheckJump()
HDSemaStmt.cpp226 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
593 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
HDAnalysisBasedWarnings.cpp1138 const LabelStmt *L = dyn_cast_or_null<LabelStmt>(P->getLabel()); in checkFallThroughIntoBlock()
/freebsd-14-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransProtectedScope.cpp90 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
HDTransforms.cpp289 while (auto *Label = dyn_cast<LabelStmt>(S)) in mark()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDStmtDataCollectors.td151 class LabelStmt {
HDTextNodeDumper.h260 void VisitLabelStmt(const LabelStmt *Node);
HDJSONNodeDumper.h336 void VisitLabelStmt(const LabelStmt *LS);
HDDecl.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()
HDStmt.h159 friend class LabelStmt; in alignas() local
2036 class LabelStmt : public ValueStmt {
2043 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() function
2049 explicit LabelStmt(EmptyShell Empty) : ValueStmt(LabelStmtClass, Empty) {} in LabelStmt() function
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDStmt.cpp222 if (const auto *LS = dyn_cast<LabelStmt>(S)) in stripLabelLikeStatements()
410 if (const auto *LS = dyn_cast<LabelStmt>(S)) in getExprStmt()
421 const char *LabelStmt::getName() const { in getName()
HDJSONNodeDumper.cpp1659 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
HDStmtProfile.cpp273 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
HDPtrTypesSemantics.cpp352 bool VisitLabelStmt(const LabelStmt *) { return true; } in VisitLabelStmt() argument
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDCoreEngine.h510 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Index/
HDIndexBody.cpp152 bool VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Basic/
HDStmtNodes.td31 def LabelStmt : StmtNode<ValueStmt>;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Analysis/
HDCFG.cpp598 CFGBlock *VisitLabelStmt(LabelStmt *L);
2329 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
3386 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
5949 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchersInternal.h1142 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1213 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/freebsd-14-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchersInternal.cpp912 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReaderStmt.cpp192 void ASTStmtReader::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
2953 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream()

12