| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 77 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 78 SmallVector<LabelDecl*, 4> AsmJumpTargets; 92 void DiagnoseIndirectOrAsmJump(Stmt *IG, unsigned IGScope, LabelDecl *Target, 671 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 719 SmallVector<LabelDecl *, 4> JumpTargets = in VerifyIndirectOrAsmJumps() 756 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectOrAsmJumps() 757 for (SmallVectorImpl<LabelDecl *>::iterator I = JumpTargets.begin(), in VerifyIndirectOrAsmJumps() 760 LabelDecl *TheLabel = *I; in VerifyIndirectOrAsmJumps() 764 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectOrAsmJumps() 777 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectOrAsmJumps() [all …]
|
| H A D | SemaStmtAsm.cpp | 968 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 971 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
| H A D | SemaLookup.cpp | 4414 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 4421 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 4424 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 4435 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 4440 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 914 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 915 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 6113 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 6119 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 38 class LabelDecl; variable 490 explicit GotoLabel(const LabelDecl *Label) : Loc(GotoLabelKind, Label) { in GotoLabel() 494 const LabelDecl *getLabel() const { in getLabel() 495 return static_cast<const LabelDecl *>(Data); in getLabel()
|
| H A D | CoreEngine.h | 39 class LabelDecl; variable 513 const LabelDecl *getLabel() const { in getLabel()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Stmt.h | 56 class LabelDecl; variable 1844 LabelDecl *TheDecl; 1850 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 1861 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 1862 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 2650 LabelDecl *Label; 2654 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 2662 LabelDecl *getLabel() const { return Label; } in getLabel() 2663 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 2716 LabelDecl *getConstantTarget(); [all …]
|
| H A D | TextNodeDumper.h | 331 void VisitLabelDecl(const LabelDecl *D);
|
| H A D | Decl.h | 496 class LabelDecl : public NamedDecl { 506 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 513 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 515 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 518 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
| H A D | Expr.h | 4313 LabelDecl *Label; 4315 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 4334 LabelDecl *getLabel() const { return Label; } in getLabel() 4335 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Decl.cpp | 5017 void LabelDecl::anchor() {} in anchor() 5019 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5021 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 5024 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5028 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 5031 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 5032 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 5036 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
| H A D | DeclPrinter.cpp | 72 void VisitLabelDecl(LabelDecl *D); 851 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| H A D | Stmt.cpp | 1181 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
| H A D | TextNodeDumper.cpp | 1633 void TextNodeDumper::VisitLabelDecl(const LabelDecl *D) { dumpName(D); } in VisitLabelDecl()
|
| /openbsd-src/gnu/llvm/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 | 746 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 2307 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.h | 62 class LabelDecl; variable 934 SmallVector<const LabelDecl*, 4> Labels; 949 void addLabel(const LabelDecl *label) { 1425 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 2437 JumpDest getJumpDestForLabel(const LabelDecl *S); 2741 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 3236 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
| H A D | CGStmt.cpp | 618 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 629 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 672 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 743 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
| H A D | CGDebugInfo.h | 480 void EmitLabel(const LabelDecl *D, CGBuilderTy &Builder);
|
| /openbsd-src/gnu/llvm/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 741 const internal::VariadicDynCastAllOfMatcher<Decl, LabelDecl> labelDecl;
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 323 void VisitLabelDecl(LabelDecl *LD); 1754 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 3687 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTReaderStmt.cpp | 194 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt() 312 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt() 1302 E->setLabel(readDeclAs<LabelDecl>()); in VisitAddrLabelExpr()
|
| H A D | ASTWriterDecl.cpp | 63 void VisitLabelDecl(LabelDecl *LD); 1257 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | CFG.cpp | 498 using LabelMapTy = llvm::DenseMap<LabelDecl *, JumpTarget>; 507 using LabelSetTy = llvm::SmallSetVector<LabelDecl *, 8>; 2905 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CIndex.cpp | 2013 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 2020 const LabelDecl *get() const { in get() 2021 return static_cast<const LabelDecl *>(data[0]); in get() 3380 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 6586 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|