| /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, 703 LabelDecl *LD = L->getLabel(); in VerifyJumps() 714 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 792 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 793 for (LabelDecl *TheLabel : IndirectJumpTargets) { in VerifyIndirectJumps() 890 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectOrAsmJumpStmt() 912 LabelDecl *Target, in DiagnoseIndirectOrAsmJump()
|
| H A D | SemaStmtAsm.cpp | 1010 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 1013 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
| H A D | SemaLookup.cpp | 4457 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 4464 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 4467 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 4479 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 4484 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1052 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 1053 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 6854 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 6860 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 42 class LabelDecl; variable 476 explicit GotoLabel(const LabelDecl *Label) : Loc(GotoLabelKind, Label) { in GotoLabel() 480 const LabelDecl *getLabel() const { return castDataAs<LabelDecl>(); } in getLabel()
|
| H A D | CoreEngine.h | 40 class LabelDecl; variable 491 const LabelDecl *getLabel() const { in getLabel()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 62 class LabelDecl; variable 2158 LabelDecl *TheDecl; 2164 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) 2175 LabelDecl *getDecl() const { return TheDecl; } 2176 void setDecl(LabelDecl *D) { TheDecl = D; } 2973 LabelDecl *Label; 2977 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) 2985 LabelDecl *getLabel() const { return Label; } 2986 void setLabel(LabelDecl *D) { Label = D; } 3039 LabelDecl *getConstantTarget(); [all …]
|
| H A D | TextNodeDumper.h | 354 void VisitLabelDecl(const LabelDecl *D);
|
| H A D | Decl.h | 523 class LabelDecl : public NamedDecl { 533 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 540 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 542 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 545 static LabelDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
|
| H A D | Expr.h | 4480 LabelDecl *Label; 4482 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 4501 LabelDecl *getLabel() const { return Label; } in getLabel() 4502 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5436 void LabelDecl::anchor() {} in anchor() 5438 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5440 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 5443 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5447 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 5450 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized() 5451 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 5455 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
| H A D | DeclPrinter.cpp | 74 void VisitLabelDecl(LabelDecl *D); 953 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 295 LabelDecl *L1 = S1->getLabel(); in IsStmtEquivalent() 296 LabelDecl *L2 = S2->getLabel(); in IsStmtEquivalent()
|
| H A D | Stmt.cpp | 1227 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 130 LabelDecl *Label = in LookupInlineAsmLabel() 794 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseAsmStatement()
|
| H A D | ParseStmt.cpp | 740 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 2268 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.h | 65 class LabelDecl; variable 1088 SmallVector<const LabelDecl *, 4> Labels; 1098 void addLabel(const LabelDecl *label) { 1552 llvm::DenseMap<const LabelDecl *, JumpDest> LabelMap; 2621 JumpDest getJumpDestForLabel(const LabelDecl *S); 3051 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 3591 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
| H A D | CGStmt.cpp | 706 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 717 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 760 for (const LabelDecl *Label : Labels) { in rescopeLabels() 856 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
| H A D | CGDebugInfo.h | 537 void EmitLabel(const LabelDecl *D, CGBuilderTy &Builder);
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 536 using LabelMapTy = llvm::DenseMap<LabelDecl *, JumpTarget>; 545 using LabelSetTy = llvm::SmallSetVector<LabelDecl *, 8>; 1756 for (LabelDecl *LD : AddressTakenLabels) { in buildCFG() 3018 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 766 const internal::VariadicDynCastAllOfMatcher<Decl, LabelDecl> labelDecl;
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 321 void VisitLabelDecl(LabelDecl *LD); 1841 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 3957 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTReaderStmt.cpp | 191 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt() 311 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt() 1351 E->setLabel(readDeclAs<LabelDecl>()); in VisitAddrLabelExpr()
|
| H A D | ASTWriterDecl.cpp | 78 void VisitLabelDecl(LabelDecl *LD); 1533 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 7486 LabelDecl *TheDecl); 9479 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 10914 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, 11019 LabelDecl *TheDecl); 11197 LabelDecl *GetOrCreateMSAsmLabel(StringRef ExternalLabelName,
|