Searched refs:LabelDecl (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp70 SmallVector<LabelDecl*, 4> IndirectJumpTargets;
71 SmallVector<LabelDecl*, 4> AsmJumpTargets;
84 void DiagnoseIndirectOrAsmJump(Stmt *IG, unsigned IGScope, LabelDecl *Target,
636 LabelDecl *Target = IGS->getConstantTarget();
684 SmallVector<LabelDecl *, 4> JumpTargets =
721 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes;
722 for (SmallVectorImpl<LabelDecl *>::iterator I = JumpTargets.begin(),
725 LabelDecl *TheLabel = *I;
729 LabelDecl *&Target = TargetScopes[LabelScope];
742 for (llvm::DenseMap<unsigned,LabelDecl*>
[all...]
H A DSemaStmtAsm.cpp926 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName,
929 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName),
H A DSemaLookup.cpp3998 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc,
4005 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc);
4008 return cast<LabelDecl>(Res);
4019 Res = LabelDecl::Create(Context, CurContext, Loc, II);
4024 return cast<LabelDecl>(Res);
H A DSemaTemplateInstantiateDecl.cpp706 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) {
707 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
5839 assert(isa<LabelDecl>(D));
5845 return cast<LabelDecl>(Inst);
H A DSemaDecl.cpp1486 if (isa<LabelDecl>(D) && !cast<LabelDecl>(D)->isGnuLocal()) {
1766 if (isa<LabelDecl>(D))
1847 if (isa<LabelDecl>(D)) {
1889 else if (isa<LabelDecl>(D))
1897 static void CheckPoppedLabel(LabelDecl *L, Sema &S) {
1934 if (LabelDecl *LD = dyn_cast<LabelDecl>(D))
H A DSemaStmt.cpp532 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
2909 LabelDecl *TheDecl) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h40 class LabelDecl;
576 explicit GotoLabel(const LabelDecl *Label) : Loc(GotoLabelKind, Label) {
580 const LabelDecl *getLabel() const {
581 return static_cast<const LabelDecl *>(Data);
H A DCoreEngine.h39 class LabelDecl;
500 const LabelDecl *getLabel() const {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h52 class LabelDecl;
1765 LabelDecl *TheDecl;
1770 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt)
1781 LabelDecl *getDecl() const { return TheDecl; }
1782 void setDecl(LabelDecl *D) { TheDecl = D; }
2523 LabelDecl *Label;
2527 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL)
2535 LabelDecl *getLabel() const { return Label; }
2536 void setLabel(LabelDecl *D) { Label = D; }
2589 LabelDecl *getConstantTarge
[all...]
H A DTextNodeDumper.h318 void VisitLabelDecl(const LabelDecl *D);
H A DDecl.h451 class LabelDecl : public NamedDecl { class in namespace:clang
461 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, function in class:clang::LabelDecl
468 static LabelDecl *Create(ASTContext &C, DeclContext *DC,
470 static LabelDecl *Create(ASTContext &C, DeclContext *DC,
473 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DExpr.h4143 LabelDecl *Label;
4145 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L,
4164 LabelDecl *getLabel() const { return Label; }
4165 void setLabel(LabelDecl *L) { Label = L; }
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4659 void LabelDecl::anchor() {}
4661 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC,
4663 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL);
4666 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC,
4670 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL);
4673 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
4674 return new (C, ID) LabelDecl(nullpt
[all...]
H A DDeclPrinter.cpp72 void VisitLabelDecl(LabelDecl *D);
837 void DeclPrinter::VisitLabelDecl(LabelDecl *D) {
H A DStmt.cpp1076 LabelDecl *IndirectGotoStmt::getConstantTarget() {
H A DTextNodeDumper.cpp1495 void TextNodeDumper::VisitLabelDecl(const LabelDecl *D) { dumpName(D); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp132 LabelDecl *Label =
841 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
H A DParseStmt.cpp659 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(),
2095 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp537 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) {
548 void CodeGenFunction::EmitLabel(const LabelDecl *D) {
591 for (SmallVectorImpl<const LabelDecl*>::const_iterator
635 if (const LabelDecl *Target = S.getConstantTarget()) {
H A DCodeGenFunction.h62 class LabelDecl;
822 SmallVector<const LabelDecl*, 4> Labels;
837 void addLabel(const LabelDecl *label) {
1309 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap;
2293 JumpDest getJumpDestForLabel(const LabelDecl *S);
2601 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L);
3088 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
H A DCGDebugInfo.h458 void EmitLabel(const LabelDecl *D, CGBuilderTy &Builder);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp716 const internal::VariadicDynCastAllOfMatcher<Decl, LabelDecl> labelDecl;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp188 auto *LD = readDeclAs<LabelDecl>();
301 S->setLabel(readDeclAs<LabelDecl>());
1285 E->setLabel(readDeclAs<LabelDecl>());
H A DASTReaderDecl.cpp319 void VisitLabelDecl(LabelDecl *LD);
1577 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) {
3815 D = LabelDecl::CreateDeserialized(Context, ID);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp493 using LabelMapTy = llvm::DenseMap<LabelDecl *, JumpTarget>;
502 using LabelSetTy = llvm::SmallSetVector<LabelDecl *, 8>;
2808 if (isa<LabelDecl>(*DS->decl_begin()))

Completed in 543 milliseconds

12