/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 76 SmallVector<LabelDecl *, 4> IndirectJumpTargets; 92 void DiagnoseIndirectOrAsmJump(Stmt *IG, unsigned IGScope, LabelDecl *Target, 689 LabelDecl *LD = L->getLabel(); in VerifyJumps() 700 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 775 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 776 for (LabelDecl *TheLabel : IndirectJumpTargets) { in VerifyIndirectJumps() 867 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectOrAsmJumpStmt() 889 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 | 4362 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 4369 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 4372 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 4384 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 4389 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
H A D | SemaTemplateInstantiateDecl.cpp | 979 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 980 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 6167 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 6173 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
H A D | SemaDecl.cpp | 1537 if (isa<LabelDecl>(D) && !cast<LabelDecl>(D)->isGnuLocal()) { in PushOnScopeChains() 1941 if (isa<LabelDecl>(D)) in ShouldDiagnoseUnusedDecl() 2037 if (isa<LabelDecl>(D)) { in GenerateFixForUnusedDecl() 2088 else if (isa<LabelDecl>(D)) in DiagnoseUnusedDecl() 2162 static void CheckPoppedLabel(LabelDecl *L, Sema &S, in CheckPoppedLabel() 2223 if (LabelDecl *LD = dyn_cast<LabelDecl>(D)) in ActOnPopScope()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 41 class LabelDecl; variable 424 explicit GotoLabel(const LabelDecl *Label) : Loc(GotoLabelKind, Label) { in GotoLabel() 428 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/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 61 class LabelDecl; variable 2037 LabelDecl *TheDecl; 2043 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) 2054 LabelDecl *getDecl() const { return TheDecl; } 2055 void setDecl(LabelDecl *D) { TheDecl = D; } 2868 LabelDecl *Label; 2872 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) 2880 LabelDecl *getLabel() const { return Label; } 2881 void setLabel(LabelDecl *D) { Label = D; } 2934 LabelDecl *getConstantTarget(); [all …]
|
H A D | TextNodeDumper.h | 353 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, GlobalDeclID ID);
|
H A D | Expr.h | 4364 LabelDecl *Label; 4366 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 4385 LabelDecl *getLabel() const { return Label; } in getLabel() 4386 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 5329 void LabelDecl::anchor() {} in anchor() 5331 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5333 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 5336 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5340 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 5343 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized() 5344 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 5348 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
H A D | DeclPrinter.cpp | 73 void VisitLabelDecl(LabelDecl *D); 917 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
H A D | ASTStructuralEquivalence.cpp | 293 LabelDecl *L1 = S1->getLabel(); in IsStmtEquivalent() 294 LabelDecl *L2 = S2->getLabel(); in IsStmtEquivalent()
|
H A D | Stmt.cpp | 1183 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
/freebsd/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 | 801 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 2386 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.h | 64 class LabelDecl; variable 1028 SmallVector<const LabelDecl*, 4> Labels; 1043 void addLabel(const LabelDecl *label) { 1521 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 2612 JumpDest getJumpDestForLabel(const LabelDecl *S); 3004 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 3547 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
H A D | CGStmt.cpp | 642 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 653 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 696 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 775 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
H A D | CGDebugInfo.h | 512 void EmitLabel(const LabelDecl *D, CGBuilderTy &Builder);
|
/freebsd/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() 1337 E->setLabel(readDeclAs<LabelDecl>()); in VisitAddrLabelExpr()
|
H A D | ASTReaderDecl.cpp | 330 void VisitLabelDecl(LabelDecl *LD); 1821 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 3880 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
H A D | ASTWriterDecl.cpp | 66 void VisitLabelDecl(LabelDecl *LD); 1359 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
/freebsd/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>; 2909 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 7061 LabelDecl *TheDecl); 9210 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 10699 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, 10804 LabelDecl *TheDecl); 10979 LabelDecl *GetOrCreateMSAsmLabel(StringRef ExternalLabelName,
|