Searched refs:AsmLabelAttr (Results 1 – 16 of 16) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | DeclTest.cpp | 70 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 D | NoAssemblerCheck.cpp | 20 AST_MATCHER(VarDecl, isAsm) { return Node.hasAttr<clang::AsmLabelAttr>(); } in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Mangle.cpp | 129 if (D->hasAttr<AsmLabelAttr>()) in shouldMangleDeclName() 145 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangleName()
|
| H A D | Expr.cpp | 4018 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 199 if (AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>()) in extractRegisterName()
|
| H A D | SemaDecl.cpp | 3146 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 D | SemaOpenMP.cpp | 1726 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 D | CGStmt.cpp | 2150 AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>(); in AddVariableConstraints()
|
| H A D | CodeGenModule.cpp | 3306 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in VisitCallExpr() 3400 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()
|
| H A D | CGExpr.cpp | 2685 AsmLabelAttr *Asm = VD->getAttr<AsmLabelAttr>(); in EmitGlobalNamedRegister() 2766 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
|
| H A D | CGDecl.cpp | 254 if (D.hasAttr<AsmLabelAttr>()) in getOrCreateStaticVarDecl()
|
| H A D | CGBuiltin.cpp | 116 if (FD->hasAttr<AsmLabelAttr>()) in getBuiltinLibFunction() 2200 FD->hasAttr<AsmLabelAttr>() ? 0 : BuiltinID; in EmitBuiltinExpr()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 4956 const AsmLabelAttr *AA = cast<AsmLabelAttr>(cxcursor::getCursorAttr(C)); in clang_getCursorSpelling()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Attr.td | 874 bool isEquivalent(AsmLabelAttr *Other) const {
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 7738 cxx_method_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in AddMethodToCXXRecordType()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 1106 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*> ExtnameUndeclaredIdentifiers;
|