Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp120 else if (const LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
146 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.cpp519 EmitLabelStmt(cast<LabelStmt>(*S)); in EmitSimpleStmt()
596 if (const auto *LS = dyn_cast<LabelStmt>(ExprResult)) { in EmitCompoundStmtWithoutScope()
775 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
H A DCodeGenFunction.h68 class LabelStmt; variable
3593 void EmitLabelStmt(const LabelStmt &S);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp655 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
1022 assert(isa<LabelStmt>(To)); in CheckJump()
1023 LabelStmt *Label = cast<LabelStmt>(To); in CheckJump()
H A DSemaStmt.cpp416 if (const LabelStmt *Label = dyn_cast_if_present<LabelStmt>(S)) in DiagnoseUnusedExprResult()
628 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
H A DAnalysisBasedWarnings.cpp1281 const LabelStmt *L = dyn_cast_or_null<LabelStmt>(P->getLabel()); in checkFallThroughIntoBlock()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td150 class LabelStmt {
H A DTextNodeDumper.h261 void VisitLabelStmt(const LabelStmt *Node);
H A DJSONNodeDumper.h340 void VisitLabelStmt(const LabelStmt *LS);
H A DDecl.h67 class LabelStmt; variable
524 LabelStmt *TheStmt;
534 LabelStmt *S, SourceLocation StartL) in LabelDecl()
547 LabelStmt *getStmt() const { return TheStmt; } in getStmt()
548 void setStmt(LabelStmt *T) { TheStmt = T; } in setStmt()
H A DStmt.h161 friend class LabelStmt;
2157 class LabelStmt : public ValueStmt {
2164 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt)
2170 explicit LabelStmt(EmptyShell Empty) : ValueStmt(LabelStmtClass, Empty) {}
H A DASTNodeTraverser.h834 void VisitLabelStmt(const LabelStmt *Node) { in VisitLabelStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp230 if (const auto *LS = dyn_cast<LabelStmt>(S)) in stripLabelLikeStatements()
417 if (const auto *LS = dyn_cast<LabelStmt>(S)) in getExprStmt()
428 const char *LabelStmt::getName() const { in getName()
H A DJSONNodeDumper.cpp1673 void JSONNodeDumper::VisitLabelStmt(const LabelStmt *LS) { in VisitLabelStmt()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h492 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp170 bool VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td32 def LabelStmt : StmtNode<ValueStmt>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp618 bool VisitLabelStmt(const LabelStmt *) { return true; } in VisitLabelStmt() argument
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.cpp149 if (isa<LabelStmt>(s)) in containsLabel()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp620 CFGBlock *VisitLabelStmt(LabelStmt *L);
2418 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
3498 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
6064 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1143 bool matchesSpecialized(const LabelStmt &Node, ASTMatchFinder *Finder,
1214 ElaboratedType, InjectedClassNameType, LabelStmt, AddrLabelExpr,
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp943 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc859LabelStmt*, std::pair<clang::LabelStmt* const, unsigned int>, std::_Select1st<std::pair<clang::Lab…
1027 …PKcPKNS_9LabelStmtE", "clang::DocumentXML::addPtrAttribute(char const*, clang::LabelStmt const*)"},
1034LabelStmt const*, unsigned int, llvm::DenseMapInfo<clang::LabelStmt const*>, llvm::DenseMapInfo<un…
1035 …ENS5_IjEEE4growEj", "llvm::DenseMap<clang::LabelStmt const*, unsigned int, llvm::DenseMapInfo<clan…
1036 …ng::LabelStmt const*, unsigned int, llvm::DenseMapInfo<clang::LabelStmt const*>, llvm::DenseMapInf…
2077 …dLabelStmtEPNS_9LabelStmtEj", "clang::ASTReader::RecordLabelStmt(clang::LabelStmt*, unsigned int)"…
2152LabelStmt*>, std::_Select1st<std::pair<unsigned int const, clang::LabelStmt*>>, std::less<unsigned…
2153LabelStmt*>, std::_Select1st<std::pair<unsigned int const, clang::LabelStmt*>>, std::less<unsigned…
2203LabelStmt*>, std::_Select1st<std::pair<unsigned int const, clang::LabelStmt*>>, std::less<unsigned…
2316 …eader14VisitLabelStmtEPNS_9LabelStmtE", "clang::ASTStmtReader::VisitLabelStmt(clang::LabelStmt*)"},
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp188 void ASTStmtReader::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
3072 S = new (Context) LabelStmt(Empty); in ReadStmtFromStream()

12