| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 70 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 83 LabelDecl *Target, unsigned TargetScope); 506 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 587 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 588 for (SmallVectorImpl<LabelDecl*>::iterator in VerifyIndirectJumps() 591 LabelDecl *TheLabel = *I; in VerifyIndirectJumps() 595 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectJumps() 608 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectJumps() 611 LabelDecl *TargetLabel = TI->second; in VerifyIndirectJumps() 688 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectJumpStmt() [all …]
|
| H A D | SemaStmtAsm.cpp | 614 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 617 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
| H A D | SemaLookup.cpp | 3268 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 3275 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 3278 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 3289 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 3294 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 292 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 293 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 4414 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 4420 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 472 explicit GotoLabel(LabelDecl *Label) : Loc(GotoLabelKind, Label) {} in GotoLabel() 474 const LabelDecl *getLabel() const { in getLabel() 475 return static_cast<const LabelDecl*>(Data); in getLabel()
|
| H A D | CoreEngine.h | 466 const LabelDecl *getLabel() const { in getLabel()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | Stmt.h | 40 class LabelDecl; variable 787 LabelDecl *TheDecl; 791 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 799 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 800 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 1212 LabelDecl *Label; 1216 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 1222 LabelDecl *getLabel() const { return Label; } in getLabel() 1223 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 1268 LabelDecl *getConstantTarget(); [all …]
|
| H A D | Decl.h | 311 class LabelDecl : public NamedDecl { 321 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 329 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 331 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 334 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
| H A D | Expr.h | 3365 LabelDecl *Label; 3367 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 3385 LabelDecl *getLabel() const { return Label; } in getLabel() 3386 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 415 LabelDecl *LD = cast<LabelDecl>(I); in PrintDeclContext()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | Decl.cpp | 3750 void LabelDecl::anchor() { } in anchor() 3752 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3754 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 3757 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3761 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 3764 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3765 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 3769 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
| H A D | DeclPrinter.cpp | 59 void VisitLabelDecl(LabelDecl *D); 661 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| H A D | ASTDumper.cpp | 413 void VisitLabelDecl(const LabelDecl *D); 1012 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.h | 56 class LabelDecl; variable 537 SmallVector<const LabelDecl*, 4> Labels; 552 void addLabel(const LabelDecl *label) { in addLabel() 910 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 1400 JumpDest getJumpDestForLabel(const LabelDecl *S); 1603 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 1954 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
| H A D | CGStmt.cpp | 394 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 405 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 440 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 493 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
| /minix3/external/bsd/llvm/dist/clang/unittests/AST/ |
| H A D | SourceLocationTest.cpp | 68 TEST(LabelDecl, Range) { in TEST() argument
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 38 class LabelDecl; variable
|
| H A D | Sema.h | 2676 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 3136 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, 3200 LabelDecl *TheDecl); 3250 LabelDecl *GetOrCreateMSAsmLabel(StringRef ExternalLabelName, 3784 LabelDecl *TheDecl);
|
| /minix3/external/bsd/llvm/dist/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 100 LabelDecl *Label = in LookupInlineAsmLabel()
|
| H A D | ParseStmt.cpp | 582 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 1737 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 164 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt() 251 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt() 820 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
|
| H A D | ASTReaderDecl.cpp | 249 void VisitLabelDecl(LabelDecl *LD); 1179 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 2933 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 54 void VisitLabelDecl(LabelDecl *LD); 902 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | CFG.cpp | 314 typedef llvm::DenseMap<LabelDecl*, JumpTarget> LabelMapTy; 323 typedef llvm::SmallPtrSet<LabelDecl*, 5> LabelSetTy; 1973 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
| /minix3/external/bsd/llvm/dist/clang/tools/libclang/ |
| H A D | CIndex.cpp | 1742 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 1749 const LabelDecl *get() const { in get() 1750 return static_cast<const LabelDecl *>(data[0]); in get() 2491 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 4821 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|