Home
last modified time | relevance | path

Searched refs:AliasAttr (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp21 using AliasAttr = unsigned; typedef
22 LLVM_CONSTEXPR AliasAttr AttrNone = 0;
23 LLVM_CONSTEXPR AliasAttr AttrEscaped = 1 << AttrEscapedIndex;
24 LLVM_CONSTEXPR AliasAttr AttrUnknown = 1 << AttrUnknownIndex;
25 LLVM_CONSTEXPR AliasAttr AttrGlobal = 1 << AttrGlobalIndex;
26 LLVM_CONSTEXPR AliasAttr AttrCaller = 1 << AttrCallerIndex;
27 LLVM_CONSTEXPR AliasAttr ExternalAttrMask =
45 static AliasAttr argNumberToAttr(unsigned ArgNum) { in argNumberToAttr()
50 return AliasAttr(1ULL << (ArgNum + AttrFirstArgIndex)); in argNumberToAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp20 using AliasAttr = unsigned; typedef
21 const AliasAttr AttrNone = 0;
22 const AliasAttr AttrEscaped = 1 << AttrEscapedIndex;
23 const AliasAttr AttrUnknown = 1 << AttrUnknownIndex;
24 const AliasAttr AttrGlobal = 1 << AttrGlobalIndex;
25 const AliasAttr AttrCaller = 1 << AttrCallerIndex;
26 const AliasAttr ExternalAttrMask = AttrEscaped | AttrUnknown | AttrGlobal;
43 static AliasAttr argNumberToAttr(unsigned ArgNum) { in argNumberToAttr()
48 return AliasAttr(1ULL << (ArgNum + AttrFirstArgIndex)); in argNumberToAttr()
/external/clang/lib/AST/
DDeclBase.cpp382 return hasAttr<AliasAttr>() || hasAttr<IFuncAttr>(); in hasDefiningAttr()
386 if (AliasAttr *AA = getAttr<AliasAttr>()) in getDefiningAttr()
DASTContext.cpp8591 if (D->hasAttr<AliasAttr>() || D->hasAttr<UsedAttr>()) in DeclMustBeEmitted()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1492 const AliasAttr *AA = VD->getAttr<AliasAttr>(); in GetWeakRefReference()
1532 if (Global->hasAttr<AliasAttr>()) in EmitGlobal()
2915 const AliasAttr *AA = D->getAttr<AliasAttr>(); in EmitAliasDefinition()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1544 D->addAttr(::new (S.Context) AliasAttr(Attr.getRange(), S.Context, Str, in handleWeakRefAttr()
1603 D->addAttr(::new (S.Context) AliasAttr(Attr.getRange(), S.Context, Str, in handleAliasAttr()
5934 if (D->hasAttr<WeakRefAttr>() && !D->hasAttr<AliasAttr>()) { in ProcessDeclAttributeList()
6070 NewD->addAttr(AliasAttr::CreateImplicit(Context, NDId->getName(), in DeclApplyPragmaWeak()
DSemaDecl.cpp2356 if (isa<AliasAttr>(NewAttribute) || isa<IFuncAttr>(NewAttribute)) { in checkNewAttributesAfterDef()
5547 ND.dropAttr<AliasAttr>(); in checkAttributesAfterMerging()
5553 if (const auto *Attr = VD->getAttr<AliasAttr>()) { in checkAttributesAfterMerging()
5557 VD->dropAttr<AliasAttr>(); in checkAttributesAfterMerging()
10146 if (!Var->hasAttr<AliasAttr>()) { in ActOnUninitializedDecl()
15226 if (!PrevDecl->hasAttr<AliasAttr>()) in ActOnPragmaWeakAlias()
/external/clang/include/clang/Basic/
DAttr.td1650 // A WeakRef that has an argument is treated as being an AliasAttr