Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/unittests/AST/
DDeclTest.cpp67 TEST(Decl, AsmLabelAttr) { in TEST() argument
88 DeclF->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "foo", in TEST()
90 DeclG->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "goo", in TEST()
/external/clang/lib/AST/
DMangle.cpp111 if (D->hasAttr<AsmLabelAttr>()) in shouldMangleDeclName()
120 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangleName()
DExpr.cpp3355 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DNoAssemblerCheck.cpp20 AST_MATCHER(VarDecl, isAsm) { return Node.hasAttr<clang::AsmLabelAttr>(); } in AST_MATCHER()
/external/llvm-project/clang/lib/AST/
DMangle.cpp125 if (D->hasAttr<AsmLabelAttr>()) in shouldMangleDeclName()
139 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangleName()
DExpr.cpp3841 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp199 if (AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>()) in extractRegisterName()
DSemaDecl.cpp2874 if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2875 if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2885 << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange(); in mergeDeclAttributes()
7319 NewVD->addAttr(AsmLabelAttr::Create(Context, Label, in ActOnVariableDeclarator()
7323 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I = in ActOnVariableDeclarator()
9255 NewFD->addAttr(AsmLabelAttr::Create(Context, SE->getString(), in ActOnFunctionDeclarator()
9259 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I = in ActOnFunctionDeclarator()
14605 Var->hasAttr<AsmLabelAttr>() && !Var->hasInit(); in ActOnFinishFunctionBody()
18255 AsmLabelAttr *Attr = AsmLabelAttr::CreateImplicit( in ActOnPragmaRedefineExtname()
DSemaOpenMP.cpp1626 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) { in getTopDSA()
2986 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() && in CheckOMPThreadPrivateDecl()
3140 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() && in ActOnOpenMPAllocateDirective()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc888 if (AsmLabelAttr *A = Decl->getAttr<AsmLabelAttr>()) { in VisitCallExpr()
/external/clang/lib/CodeGen/
DCGStmt.cpp1690 AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>(); in AddVariableConstraints()
DCodeGenModule.cpp1662 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in TraverseCallExpr()
1718 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()
DCGExpr.cpp2052 AsmLabelAttr *Asm = VD->getAttr<AsmLabelAttr>(); in EmitGlobalNamedRegister()
2079 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
DCGDecl.cpp200 if (D.hasAttr<AsmLabelAttr>()) in getOrCreateStaticVarDecl()
/external/clang/lib/Sema/
DSemaDecl.cpp2441 if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2442 if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) { in mergeDeclAttributes()
2452 << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange(); in mergeDeclAttributes()
6348 NewVD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), in ActOnVariableDeclarator()
6351 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I = in ActOnVariableDeclarator()
8093 NewFD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), Context, in ActOnFunctionDeclarator()
8096 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I = in ActOnFunctionDeclarator()
15184 AsmLabelAttr *Attr = in ActOnPragmaRedefineExtname()
15185 AsmLabelAttr::CreateImplicit(Context, AliasName->getName(), AliasNameLoc); in ActOnPragmaRedefineExtname()
DSemaOpenMP.cpp657 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) { in getTopDSA()
1361 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() && in CheckOMPThreadPrivateDecl()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp2002 AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>(); in AddVariableConstraints()
DCodeGenModule.cpp2867 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in VisitCallExpr()
2961 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()
DCGExpr.cpp2602 AsmLabelAttr *Asm = VD->getAttr<AsmLabelAttr>(); in EmitGlobalNamedRegister()
2683 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
DCGDecl.cpp248 if (D.hasAttr<AsmLabelAttr>()) in getOrCreateStaticVarDecl()
/external/clang/tools/libclang/
DCIndex.cpp4254 const AsmLabelAttr *AA = cast<AsmLabelAttr>(cxcursor::getCursorAttr(C)); in clang_getCursorSpelling()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp4719 const AsmLabelAttr *AA = cast<AsmLabelAttr>(cxcursor::getCursorAttr(C)); in clang_getCursorSpelling()
/external/llvm-project/clang/include/clang/Basic/
DAttr.td803 bool isEquivalent(AsmLabelAttr *Other) const {
/external/clang/include/clang/Sema/
DSema.h694 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*> ExtnameUndeclaredIdentifiers;
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp7516 cxx_method_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in AddMethodToCXXRecordType()

12