Lines Matching defs:SA
701 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) {
702 StringRef AliasSection = SA->getName();
704 Diags.Report(SA->getLocation(), diag::warn_alias_with_section)
2700 if (auto *SA = D->getAttr<PragmaClangBSSSectionAttr>())
2701 GV->addAttribute("bss-section", SA->getName());
2702 if (auto *SA = D->getAttr<PragmaClangDataSectionAttr>())
2703 GV->addAttribute("data-section", SA->getName());
2704 if (auto *SA = D->getAttr<PragmaClangRodataSectionAttr>())
2705 GV->addAttribute("rodata-section", SA->getName());
2706 if (auto *SA = D->getAttr<PragmaClangRelroSectionAttr>())
2707 GV->addAttribute("relro-section", SA->getName());
2713 if (auto *SA = D->getAttr<PragmaClangTextSectionAttr>())
2715 F->setSection(SA->getName());
2733 else if (const auto *SA = D->getAttr<SectionAttr>())
2734 GO->setSection(SA->getName());
2873 else if (const auto *SA = FD->getAttr<SectionAttr>())
2874 F->setSection(SA->getName());
5014 if (const SectionAttr *SA = D->getAttr<SectionAttr>())
5015 GV->setSection(SA->getName());
5578 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) {
5579 const ASTContext::SectionInfo &SI = Context.SectionInfos[SA->getName()];