Home
last modified time | relevance | path

Searched refs:AsmLabelAttr (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DDeclTest.cpp70 TEST(Decl, AsmLabelAttr) { in TEST() argument
91 DeclF->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "foo", in TEST()
93 DeclG->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "goo", in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/
H A DNoAssemblerCheck.cpp20 AST_MATCHER(VarDecl, isAsm) { return Node.hasAttr<clang::AsmLabelAttr>(); } in AST_MATCHER()
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp129 if (D->hasAttr<AsmLabelAttr>()) in shouldMangleDeclName()
145 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangleName()
H A DExpr.cpp4018 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmtAsm.cpp199 if (AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>()) in extractRegisterName()
H A DSemaDecl.cpp3146 if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
3147 if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
3157 << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange(); in mergeDeclAttributes()
7801 NewVD->addAttr(AsmLabelAttr::Create(Context, Label, in ActOnVariableDeclarator()
7805 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I = in ActOnVariableDeclarator()
9844 NewFD->addAttr(AsmLabelAttr::Create(Context, SE->getString(), in ActOnFunctionDeclarator()
9848 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I = in ActOnFunctionDeclarator()
15353 Var->hasAttr<AsmLabelAttr>() && !Var->hasInit(); in ActOnFinishFunctionBody()
19193 AsmLabelAttr *Attr = AsmLabelAttr::CreateImplicit( in ActOnPragmaRedefineExtname()
H A DSemaOpenMP.cpp1726 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) { in getTopDSA()
3187 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() && in CheckOMPThreadPrivateDecl()
3355 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() && in ActOnOpenMPAllocateDirective()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp2150 AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>(); in AddVariableConstraints()
H A DCodeGenModule.cpp3306 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in VisitCallExpr()
3400 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()
H A DCGExpr.cpp2685 AsmLabelAttr *Asm = VD->getAttr<AsmLabelAttr>(); in EmitGlobalNamedRegister()
2766 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
H A DCGDecl.cpp254 if (D.hasAttr<AsmLabelAttr>()) in getOrCreateStaticVarDecl()
H A DCGBuiltin.cpp116 if (FD->hasAttr<AsmLabelAttr>()) in getBuiltinLibFunction()
2200 FD->hasAttr<AsmLabelAttr>() ? 0 : BuiltinID; in EmitBuiltinExpr()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp4956 const AsmLabelAttr *AA = cast<AsmLabelAttr>(cxcursor::getCursorAttr(C)); in clang_getCursorSpelling()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td874 bool isEquivalent(AsmLabelAttr *Other) const {
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp7738 cxx_method_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in AddMethodToCXXRecordType()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h1106 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*> ExtnameUndeclaredIdentifiers;