Searched refs:AliasAttr (Results 1 – 8 of 8) sorted by relevance
21 using AliasAttr = unsigned; typedef22 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()
20 using AliasAttr = unsigned; typedef21 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()
382 return hasAttr<AliasAttr>() || hasAttr<IFuncAttr>(); in hasDefiningAttr()386 if (AliasAttr *AA = getAttr<AliasAttr>()) in getDefiningAttr()
8591 if (D->hasAttr<AliasAttr>() || D->hasAttr<UsedAttr>()) in DeclMustBeEmitted()
1492 const AliasAttr *AA = VD->getAttr<AliasAttr>(); in GetWeakRefReference()1532 if (Global->hasAttr<AliasAttr>()) in EmitGlobal()2915 const AliasAttr *AA = D->getAttr<AliasAttr>(); in EmitAliasDefinition()
1544 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()
2356 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()
1650 // A WeakRef that has an argument is treated as being an AliasAttr