/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 77 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 78 SmallVector<LabelDecl*, 4> AsmJumpTargets; 666 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 714 SmallVector<LabelDecl *, 4> JumpTargets = in VerifyIndirectOrAsmJumps() 751 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectOrAsmJumps() 752 for (SmallVectorImpl<LabelDecl *>::iterator I = JumpTargets.begin(), in VerifyIndirectOrAsmJumps() 755 LabelDecl *TheLabel = *I; in VerifyIndirectOrAsmJumps() 759 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectOrAsmJumps() 772 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectOrAsmJumps() 775 LabelDecl *TargetLabel = TI->second; in VerifyIndirectOrAsmJumps() [all …]
|
H A D | SemaStmtAsm.cpp | 941 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 944 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
H A D | SemaLookup.cpp | 4091 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 4098 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 4101 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 4112 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 4117 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
H A D | SemaTemplateInstantiateDecl.cpp | 817 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 818 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 5879 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 5885 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
H A D | SemaDecl.cpp | 1502 if (isa<LabelDecl>(D) && !cast<LabelDecl>(D)->isGnuLocal()) { in PushOnScopeChains() 1778 if (isa<LabelDecl>(D)) in ShouldDiagnoseUnusedDecl() 1859 if (isa<LabelDecl>(D)) { in GenerateFixForUnusedDecl() 1901 else if (isa<LabelDecl>(D)) in DiagnoseUnusedDecl() 1909 static void CheckPoppedLabel(LabelDecl *L, Sema &S) { in CheckPoppedLabel() 1946 if (LabelDecl *LD = dyn_cast<LabelDecl>(D)) in ActOnPopScope()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 40 class LabelDecl; variable 571 explicit GotoLabel(const LabelDecl *Label) : Loc(GotoLabelKind, Label) { in GotoLabel() 575 const LabelDecl *getLabel() const { in getLabel() 576 return static_cast<const LabelDecl *>(Data); in getLabel()
|
H A D | CoreEngine.h | 39 class LabelDecl; variable 500 const LabelDecl *getLabel() const { in getLabel()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | Stmt.h | 52 class LabelDecl; variable 1799 LabelDecl *TheDecl; 1805 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 1816 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 1817 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 2577 LabelDecl *Label; 2581 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 2589 LabelDecl *getLabel() const { return Label; } in getLabel() 2590 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 2643 LabelDecl *getConstantTarget(); [all …]
|
H A D | TextNodeDumper.h | 319 void VisitLabelDecl(const LabelDecl *D);
|
H A D | Decl.h | 470 class LabelDecl : public NamedDecl { 480 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 487 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 489 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 492 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
H A D | Expr.h | 4228 LabelDecl *Label; 4230 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 4249 LabelDecl *getLabel() const { return Label; } in getLabel() 4250 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | Decl.cpp | 4792 void LabelDecl::anchor() {} in anchor() 4794 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 4796 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 4799 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 4803 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 4806 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 4807 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 4811 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
H A D | DeclPrinter.cpp | 72 void VisitLabelDecl(LabelDecl *D); 853 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
H A D | Stmt.cpp | 1168 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
/netbsd/external/apache2/llvm/dist/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 | 668 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 2129 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenFunction.h | 63 class LabelDecl; variable 895 SmallVector<const LabelDecl*, 4> Labels; 910 void addLabel(const LabelDecl *label) { 1382 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 2376 JumpDest getJumpDestForLabel(const LabelDecl *S); 2684 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 3176 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
H A D | CGStmt.cpp | 577 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 588 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 631 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 688 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
H A D | CGDebugInfo.h | 465 void EmitLabel(const LabelDecl *D, CGBuilderTy &Builder);
|
/netbsd/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 740 const internal::VariadicDynCastAllOfMatcher<Decl, LabelDecl> labelDecl;
|
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 189 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt() 307 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt() 1301 E->setLabel(readDeclAs<LabelDecl>()); in VisitAddrLabelExpr()
|
H A D | ASTWriterDecl.cpp | 62 void VisitLabelDecl(LabelDecl *LD); 1226 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
H A D | ASTReaderDecl.cpp | 322 void VisitLabelDecl(LabelDecl *LD); 1595 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 3824 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | CFG.cpp | 493 using LabelMapTy = llvm::DenseMap<LabelDecl *, JumpTarget>; 502 using LabelSetTy = llvm::SmallSetVector<LabelDecl *, 8>; 2808 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CIndex.cpp | 1916 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 1923 const LabelDecl *get() const { in get() 1924 return static_cast<const LabelDecl *>(data[0]); in get() 3188 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 6326 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|