Lines Matching refs:getAttr
347 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) { in checkAliases()
1064 if (const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>()) { in setTLSMode()
1151 FD->getAttr<CPUSpecificAttr>(), in getMangledNameImpl()
1155 AppendTargetMangling(CGM, FD->getAttr<TargetAttr>(), Out); in getMangledNameImpl()
1559 const OpenCLAccessAttr *A = PDecl->getAttr<OpenCLAccessAttr>(); in GenOpenCLArgMetadata()
1834 const auto *TD = FD ? FD->getAttr<TargetAttr>() : nullptr; in GetCPUAndFeaturesAttributes()
1835 const auto *SD = FD ? FD->getAttr<CPUSpecificAttr>() : nullptr; in GetCPUAndFeaturesAttributes()
1890 if (auto *SA = D->getAttr<PragmaClangBSSSectionAttr>()) in setNonAliasAttributes()
1892 if (auto *SA = D->getAttr<PragmaClangDataSectionAttr>()) in setNonAliasAttributes()
1894 if (auto *SA = D->getAttr<PragmaClangRodataSectionAttr>()) in setNonAliasAttributes()
1896 if (auto *SA = D->getAttr<PragmaClangRelroSectionAttr>()) in setNonAliasAttributes()
1901 if (auto *SA = D->getAttr<PragmaClangTextSectionAttr>()) in setNonAliasAttributes()
1902 if (!D->getAttr<SectionAttr>()) in setNonAliasAttributes()
1919 if (const auto *CSA = D->getAttr<CodeSegAttr>()) in setNonAliasAttributes()
1921 else if (const auto *SA = D->getAttr<SectionAttr>()) in setNonAliasAttributes()
2010 if (const auto *CSA = FD->getAttr<CodeSegAttr>()) in SetFunctionAttributes()
2012 else if (const auto *SA = FD->getAttr<SectionAttr>()) in SetFunctionAttributes()
2051 if (const auto *CB = FD->getAttr<CallbackAttr>()) { in SetFunctionAttributes()
2669 const AliasAttr *AA = VD->getAttr<AliasAttr>(); in GetWeakRefReference()
2867 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in VisitCallExpr()
2961 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()
3018 auto *Spec = FD->getAttr<CPUSpecificAttr>(); in EmitMultiVersionFunctionDefinition()
3114 const auto *TA = CurFD->getAttr<TargetAttr>(); in emitMultiVersionFunctions()
3150 const auto *DD = FD->getAttr<CPUDispatchAttr>(); in emitCPUDispatchDefinition()
3755 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) in GetOrCreateLLVMGlobal()
4311 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) { in EmitGlobalVarDefinition()
4720 if (const ConstructorAttr *CA = D->getAttr<ConstructorAttr>()) in EmitGlobalFunctionDefinition()
4722 if (const DestructorAttr *DA = D->getAttr<DestructorAttr>()) in EmitGlobalFunctionDefinition()
4730 const AliasAttr *AA = D->getAttr<AliasAttr>(); in EmitAliasDefinition()
4814 const IFuncAttr *IFA = D->getAttr<IFuncAttr>(); in emitIFuncDefinition()