| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 75 SmallVector<LabelDecl *, 4> IndirectJumpTargets; 91 void DiagnoseIndirectOrAsmJump(Stmt *IG, unsigned IGScope, LabelDecl *Target, 680 LabelDecl *LD = L->getLabel(); in VerifyJumps() 691 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 766 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 767 for (LabelDecl *TheLabel : IndirectJumpTargets) { in VerifyIndirectJumps() 858 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectOrAsmJumpStmt() 880 LabelDecl *Target, in DiagnoseIndirectOrAsmJump()
|
| H A D | SemaStmtAsm.cpp | 970 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 973 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
| H A D | SemaLookup.cpp | 4432 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 4439 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 4442 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 4453 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 4458 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 954 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 955 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 6215 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 6221 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
| H A D | SemaDecl.cpp | 1600 if (isa<LabelDecl>(D) && !cast<LabelDecl>(D)->isGnuLocal()) { in PushOnScopeChains() 2033 if (isa<LabelDecl>(D)) in ShouldDiagnoseUnusedDecl() 2128 if (isa<LabelDecl>(D)) { in GenerateFixForUnusedDecl() 2181 else if (isa<LabelDecl>(D)) in DiagnoseUnusedDecl() 2242 static void CheckPoppedLabel(LabelDecl *L, Sema &S, in CheckPoppedLabel() 2303 if (LabelDecl *LD = dyn_cast<LabelDecl>(D)) in ActOnPopScope()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 41 class LabelDecl; variable 432 explicit GotoLabel(const LabelDecl *Label) : Loc(GotoLabelKind, Label) { in GotoLabel() 436 const LabelDecl *getLabel() const { return castDataAs<LabelDecl>(); } in getLabel()
|
| H A D | CoreEngine.h | 40 class LabelDecl; variable 509 const LabelDecl *getLabel() const { in getLabel()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 61 class LabelDecl; variable 2030 LabelDecl *TheDecl; 2036 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 2047 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 2048 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 2861 LabelDecl *Label; 2865 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 2873 LabelDecl *getLabel() const { return Label; } in getLabel() 2874 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 2927 LabelDecl *getConstantTarget(); [all …]
|
| H A D | TextNodeDumper.h | 340 void VisitLabelDecl(const LabelDecl *D);
|
| H A D | Decl.h | 499 class LabelDecl : public NamedDecl { 509 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 516 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 518 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 521 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
| H A D | Expr.h | 4311 LabelDecl *Label; 4313 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 4332 LabelDecl *getLabel() const { return Label; } in getLabel() 4333 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5267 void LabelDecl::anchor() {} in anchor() 5269 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5271 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 5274 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5278 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 5281 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 5282 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 5286 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
| H A D | DeclPrinter.cpp | 84 void VisitLabelDecl(LabelDecl *D); 958 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 292 LabelDecl *L1 = S1->getLabel(); in IsStmtEquivalent() 293 LabelDecl *L2 = S2->getLabel(); in IsStmtEquivalent()
|
| H A D | Stmt.cpp | 1182 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 132 LabelDecl *Label = in LookupInlineAsmLabel() 844 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseAsmStatement()
|
| H A D | ParseStmt.cpp | 789 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 2371 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.h | 62 class LabelDecl; variable 942 SmallVector<const LabelDecl*, 4> Labels; 957 void addLabel(const LabelDecl *label) { 1433 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 2505 JumpDest getJumpDestForLabel(const LabelDecl *S); 2806 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 3321 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
| H A D | CGStmt.cpp | 625 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 636 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 679 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 750 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
| H A D | CGDebugInfo.h | 502 void EmitLabel(const LabelDecl *D, CGBuilderTy &Builder);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 741 const internal::VariadicDynCastAllOfMatcher<Decl, LabelDecl> labelDecl;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 195 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt() 315 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt() 1330 E->setLabel(readDeclAs<LabelDecl>()); in VisitAddrLabelExpr()
|
| H A D | ASTReaderDecl.cpp | 335 void VisitLabelDecl(LabelDecl *LD); 1829 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 3855 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 63 void VisitLabelDecl(LabelDecl *LD); 1321 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 514 using LabelMapTy = llvm::DenseMap<LabelDecl *, JumpTarget>; 523 using LabelSetTy = llvm::SmallSetVector<LabelDecl *, 8>; 2912 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|