Home
last modified time | relevance | path

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

12

/freebsd/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.cpp97 LabelStmt = 1, enumerator
493 return PGOHash::LabelStmt; in DEFINE_NESTABLE_TRAVERSAL()
680 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DCGStmt.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()
H A DCodeGenFunction.h67 class LabelStmt; variable
3549 void EmitLabelStmt(const LabelStmt &S);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.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()
H A DSemaStmt.cpp226 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
593 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/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp90 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
H A DTransforms.cpp289 while (auto *Label = dyn_cast<LabelStmt>(S)) in mark()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td151 class LabelStmt {
H A DTextNodeDumper.h260 void VisitLabelStmt(const LabelStmt *Node);
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 DJSONNodeDumper.h336 void VisitLabelStmt(const LabelStmt *LS);
H A DStmt.h159 friend class LabelStmt;
2036 class LabelStmt : public ValueStmt {
2043 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt)
2049 explicit LabelStmt(EmptyShell Empty) : ValueStmt(LabelStmtClass, Empty) {}
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.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()
H A DJSONNodeDumper.cpp1659 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
H A DStmtProfile.cpp273 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
H A DExpr.cpp2882 if (const LabelStmt *Label = dyn_cast<LabelStmt>(CS->body_back())) in isUnusedResultAWarning()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp352 bool VisitLabelStmt(const LabelStmt *) { return true; } in VisitLabelStmt() argument
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h510 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp152 bool VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td31 def LabelStmt : StmtNode<ValueStmt>;
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.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/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1142 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1213 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp192 void ASTStmtReader::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
2953 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream()

12