/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetObjectFile.cpp | 24 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { 25 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && 29 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); 33 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { 35 StringRef SectionName = GO->getSection(); 39 return TargetLoweringObjectFileELF::getExplicitSectionGlobal(GO, SK, TM); 23 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 32 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const argument
|
H A D | AMDGPUTargetObjectFile.h | 26 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRTargetObjectFile.cpp | 28 AVRTargetObjectFile::SelectSectionForGlobal(const GlobalObject *GO, argument 33 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection()) 37 return Base::SelectSectionForGlobal(GO, Kind, TM);
|
H A D | AVRTargetObjectFile.h | 23 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.h | 21 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 24 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, 28 bool isGlobalInSmallSection(const GlobalObject *GO, 38 const Function *getLutUsedFunction(const GlobalObject *GO) const; 47 MCSection *selectSmallSectionForGlobal(const GlobalObject *GO, 51 MCSection *selectSectionForLookupTable(const GlobalObject *GO,
|
H A D | HexagonTargetObjectFile.cpp | 128 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { 129 TRACE("[SelectSectionForGlobal] GO(" << GO->getName() << ") "); 130 TRACE("input section(" << GO->getSection() << ") "); 132 TRACE((GO->hasPrivateLinkage() ? "private_linkage " : "") 133 << (GO->hasLocalLinkage() ? "local_linkage " : "") 134 << (GO->hasInternalLinkage() ? "internal " : "") 135 << (GO->hasExternalLinkage() ? "external " : "") 136 << (GO->hasCommonLinkage() ? "common_linkage " : "") 137 << (GO 127 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 165 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 199 isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM) const argument 339 selectSmallSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 447 selectSectionForLookupTable( const GlobalObject *GO, const TargetMachine &TM, const Function *Fn) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetObjectFile.cpp | 51 const GlobalObject *GO, const TargetMachine &TM) const { 52 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; 57 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) 58 return isGlobalInSmallSectionImpl(GO, TM); 60 return isGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); 65 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, argument 68 return isGlobalInSmallSectionImpl(GO, TM); 75 const GlobalObject *GO, cons 50 isGlobalInSmallSection( const GlobalObject *GO, const TargetMachine &TM) const argument 74 isGlobalInSmallSectionImpl( const GlobalObject *GO, const TargetMachine &TM) const argument 102 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument [all...] |
H A D | LanaiTargetObjectFile.h | 20 bool isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, 22 bool isGlobalInSmallSectionImpl(const GlobalObject *GO, 30 bool isGlobalInSmallSection(const GlobalObject *GO, 33 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.h | 21 bool IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, 23 bool IsGlobalInSmallSectionImpl(const GlobalObject *GO, 31 bool IsGlobalInSmallSection(const GlobalObject *GO, 34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
H A D | MipsTargetObjectFile.cpp | 71 const GlobalObject *GO, const TargetMachine &TM) const { 75 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) 76 return IsGlobalInSmallSectionImpl(GO, TM); 78 return IsGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); 84 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, argument 86 return IsGlobalInSmallSectionImpl(GO, TM) && 95 IsGlobalInSmallSectionImpl(const GlobalObject *GO, argument 105 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); 70 IsGlobalInSmallSection( const GlobalObject *GO, const TargetMachine &TM) const argument 150 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetObjectFile.cpp | 75 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, argument 77 if (const Function *F = dyn_cast<Function>(GO)) 84 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { 86 if (isExecuteOnlyFunction(GO, SK, TM)) 89 return TargetLoweringObjectFileELF::getExplicitSectionGlobal(GO, SK, TM); 93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { 95 if (isExecuteOnlyFunction(GO, SK, TM)) 98 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, SK, TM); 83 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const argument 92 SelectSectionForGlobal( const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const argument
|
H A D | ARMTargetObjectFile.h | 35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetObjectFile.cpp | 25 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { 41 const auto *GVar = dyn_cast<GlobalVariable>(GO); 47 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); 24 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument
|
H A D | PPCTargetObjectFile.h | 24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetObjectFile.cpp | 40 const GlobalObject *GO, const TargetMachine &TM) const { 42 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); 76 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { 78 if (Kind.isBSS() && isGlobalInSmallSection(GO, TM)) 80 if (Kind.isData() && isGlobalInSmallSection(GO, TM)) 84 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); 39 isGlobalInSmallSection( const GlobalObject *GO, const TargetMachine &TM) const argument 75 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument
|
H A D | RISCVTargetObjectFile.h | 28 bool isGlobalInSmallSection(const GlobalObject *GO, 31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetObjectFile.h | 34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreTargetObjectFile.h | 27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 143 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, argument 145 assert(!GO->isDeclaration() && !GO->hasAvailableExternallyLinkage() && 149 if (isa<Function>(GO)) 153 const auto *GVar = cast<GlobalVariable>(GO); 247 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { 249 if (GO->hasSection()) 250 return getExplicitSectionGlobal(GO, Kind, TM); 252 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { 258 return getExplicitSectionGlobal(GO, Kin 246 SectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.h | 59 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 62 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 107 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 110 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 147 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 150 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 191 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 194 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 221 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 233 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKin [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetLoweringObjectFile.h | 95 static SectionKind getKindForGlobal(const GlobalObject *GO, 101 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 107 MCSection *SectionForGlobal(const GlobalObject *GO, argument 109 return SectionForGlobal(GO, getKindForGlobal(GO, TM), TM); 124 /// assume that GO->hasSection() is true. 126 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 216 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 515 static const MCSymbolELF *getAssociatedSymbol(const GlobalObject *GO, argument 517 MDNode *MD = GO->getMetadata(LLVMContext::MD_associated); 558 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { 559 StringRef SectionName = GO->getSection(); 564 const GlobalVariable *GV = dyn_cast<GlobalVariable>(GO); 577 const Function *F = dyn_cast<Function>(GO); 587 if (const Comdat *C = getELFComdat(GO)) { 595 const MCSymbolELF *AssociatedSymbol = getAssociatedSymbol(GO, TM); 631 MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, 636 if (const Comdat *C = getELFComdat(GO)) { 557 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 630 selectELFSectionForGlobal( MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool EmitUniqueSection, unsigned Flags, unsigned *NextUniqueID, const MCSymbolELF *AssociatedSymbol) argument 684 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 937 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 978 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1299 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1338 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1704 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1728 selectWasmSectionForGlobal( MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool EmitUniqueSection, unsigned *NextUniqueID) argument 1758 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1830 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1835 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const argument 1938 getStorageClassForGlobal( const GlobalObject *GO) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Globals.cpp | 100 if (const GlobalObject *GO = GA->getBaseObject()) 101 return GO->getAlignment(); 168 if (const GlobalObject *GO = GA->getBaseObject()) 169 return GO->getSection(); 178 if (const GlobalObject *GO = GA->getBaseObject()) 179 return const_cast<GlobalObject *>(GO)->getComdat(); 287 if (auto *GO = dyn_cast<GlobalObject>(this)) 288 return GO; 295 auto *GO = dyn_cast<GlobalObject>(this); local 296 if (!GO) 303 auto *GO = dyn_cast<GlobalObject>(this); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 286 auto *GO = dyn_cast<GlobalObject>(&GV); local 287 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { 291 assert(GO->hasAvailableExternallyLinkage() && 293 GO->setComdat(nullptr); 308 for (auto &GO : M.global_objects()) 309 if (auto *C = GO.getComdat()) { 312 GO.setComdat(Replacement->second);
|
H A D | NameAnonGlobals.cpp | 75 for (auto &GO : M.global_objects()) 76 RenameIfNeed(GO);
|