Home
last modified time | relevance | path

Searched refs:GO (Results 1 – 25 of 110) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp144 if (const Function *Fn = getLutUsedFunction(GO)) in SelectSectionForGlobal()
145 return selectSectionForLookupTable(GO, TM, Fn); in SelectSectionForGlobal()
148 if (isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal()
167 << GO->getSection() << ") "); in getExplicitSectionGlobal()
178 if (GO->hasSection()) { in getExplicitSectionGlobal()
179 StringRef Section = GO->getSection(); in getExplicitSectionGlobal()
188 if (isGlobalInSmallSection(GO, TM)) in getExplicitSectionGlobal()
345 const Type *GTy = GO->getValueType(); in selectSmallSectionForGlobal()
372 Name.append(GO->getName()); in selectSmallSectionForGlobal()
416 Name.append(GO->getName()); in selectSmallSectionForGlobal()
[all …]
H A DHexagonTargetObjectFile.h22 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
25 MCSection *getExplicitSectionGlobal(const GlobalObject *GO,
29 bool isGlobalInSmallSection(const GlobalObject *GO,
39 const Function *getLutUsedFunction(const GlobalObject *GO) const;
48 MCSection *selectSmallSectionForGlobal(const GlobalObject *GO,
52 MCSection *selectSectionForLookupTable(const GlobalObject *GO,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp50 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection() argument
51 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection()
56 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in isGlobalInSmallSection()
57 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection()
59 return isGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in isGlobalInSmallSection()
64 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection() argument
67 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection()
74 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl() argument
75 const auto *GVA = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSectionImpl()
104 if (Kind.isBSS() && isGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
[all …]
H A DLanaiTargetObjectFile.h19 bool isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM,
21 bool isGlobalInSmallSectionImpl(const GlobalObject *GO,
29 bool isGlobalInSmallSection(const GlobalObject *GO,
32 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp70 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument
74 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()
75 return IsGlobalInSmallSectionImpl(GO, TM); in IsGlobalInSmallSection()
77 return IsGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in IsGlobalInSmallSection()
83 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection() argument
85 return IsGlobalInSmallSectionImpl(GO, TM) && in IsGlobalInSmallSection()
94 IsGlobalInSmallSectionImpl(const GlobalObject *GO, in IsGlobalInSmallSectionImpl() argument
104 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in IsGlobalInSmallSectionImpl()
155 if (Kind.isBSS() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
157 if (Kind.isData() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
[all …]
H A DMipsTargetObjectFile.h21 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,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp303 Used.insert(GO); in getModuleMetadata()
834 (GO->getParent() ? GO->getParent()->getSourceFileName() : "unknown") + in selectExplicitSectionGlobal()
1310 checkMachOComdat(GO); in getExplicitSectionGlobal()
1344 checkMachOComdat(GO); in SelectSectionForGlobal()
1685 if (GO->hasComdat()) { in getExplicitSectionGlobal()
1691 ComdatGV = GO; in getExplicitSectionGlobal()
1738 if (GO->hasComdat()) in SelectSectionForGlobal()
1741 ComdatGV = GO; in SelectSectionForGlobal()
2162 if (isa<Function>(GO)) { in getExplicitSectionGlobal()
2354 if ((TM.getDataSections() && !GO->hasSection()) || GO->hasCommonLinkage() || in getTargetSymbol()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp21 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
22 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && in SelectSectionForGlobal()
26 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
30 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
36 return TargetLoweringObjectFileELF::getExplicitSectionGlobal(GO, SK, TM); in getExplicitSectionGlobal()
H A DAMDGPUTargetObjectFile.h24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
26 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp84 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() argument
86 if (const Function *F = dyn_cast<Function>(GO)) in isExecuteOnlyFunction()
93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
95 if (isExecuteOnlyFunction(GO, SK, TM)) in getExplicitSectionGlobal()
98 return TargetLoweringObjectFileELF::getExplicitSectionGlobal(GO, SK, TM); in getExplicitSectionGlobal()
102 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
104 if (isExecuteOnlyFunction(GO, SK, TM)) in SelectSectionForGlobal()
107 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, SK, TM); in SelectSectionForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp39 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
43 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection() && in SelectSectionForGlobal()
51 return Base::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
56 AVR::getAddressSpace(GO) != AVR::ProgramMemory) { in SelectSectionForGlobal()
63 switch (AVR::getAddressSpace(GO)) { in SelectSectionForGlobal()
82 return Base::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp202 assert(!GO->isDeclarationForLinker() && in getKindForGlobal()
206 if (isa<Function>(GO)) in getKindForGlobal()
210 if (isa<BasicBlock>(GO)) in getKindForGlobal()
214 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal()
324 if (GO->hasSection()) in SectionForGlobal()
325 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
327 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal()
337 if (auto *F = dyn_cast<Function>(GO)) { in SectionForGlobal()
339 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal()
343 return SelectSectionForGlobal(GO, Kind, TM); in SectionForGlobal()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h63 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
66 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
128 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
131 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
171 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
174 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
215 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
218 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
262 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
285 getSectionForExternalReference(const GlobalObject *GO,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp59 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection() argument
61 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSection()
95 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
97 if (Kind.isBSS() && isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal()
99 if (Kind.isData() && isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal()
103 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp80 if (const auto *GO = dyn_cast<GlobalObject>(GV)) { in isAddressedViaADA() local
85 if (GO->getAlignment() & 0x1) { in isAddressedViaADA()
90 if (GO->isDeclaration()) { in isAddressedViaADA()
95 if (GO->hasAvailableExternallyLinkage()) { in isAddressedViaADA()
100 GO, TLInfo.getTargetMachine()); in isAddressedViaADA()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp320 auto *GO = dyn_cast<GlobalObject>(&GV); in processGlobalForThinLTO() local
321 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { in processGlobalForThinLTO()
325 assert(GO->hasAvailableExternallyLinkage() && in processGlobalForThinLTO()
327 GO->setComdat(nullptr); in processGlobalForThinLTO()
342 for (auto &GO : M.global_objects()) in processGlobalsForThinLTO() local
343 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO()
346 GO.setComdat(Replacement->second); in processGlobalsForThinLTO()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp177 if (const GlobalObject *GO = GA->getAliaseeObject()) in getSection() local
178 return GO->getSection(); in getSection()
187 if (const GlobalObject *GO = GA->getAliaseeObject()) in getComdat() local
188 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
333 if (auto *GO = dyn_cast<GlobalObject>(C)) { in findBaseObject() local
334 Op(*GO); in findBaseObject()
335 return GO; in findBaseObject()
374 auto *GO = dyn_cast<GlobalObject>(this); in isAbsoluteSymbolRef() local
375 if (!GO) in isAbsoluteSymbolRef()
382 auto *GO = dyn_cast<GlobalObject>(this); in getAbsoluteSymbolRange() local
[all …]
H A DComdat.cpp30 void Comdat::addUser(GlobalObject *GO) { Users.insert(GO); } in addUser() argument
32 void Comdat::removeUser(GlobalObject *GO) { Users.erase(GO); } in removeUser() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp98 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
99 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
109 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
111 bool UseCPRel = GO->hasLocalLinkage(); in SelectSectionForGlobal()
120 Type *ObjType = GO->getValueType(); in SelectSectionForGlobal()
121 auto &DL = GO->getParent()->getDataLayout(); in SelectSectionForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h113 static SectionKind getKindForGlobal(const GlobalObject *GO,
119 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
125 MCSection *SectionForGlobal(const GlobalObject *GO,
146 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
267 getSectionForExternalReference(const GlobalObject *GO, in getSectionForExternalReference() argument
288 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp94 for (auto &GO : ExportM.global_objects()) in promoteInternals() local
95 if (auto *C = GO.getComdat()) { in promoteInternals()
98 GO.setComdat(Replacement->second); in promoteInternals()
157 for (GlobalObject &GO : M.global_objects()) { in promoteTypeIds()
159 GO.getMetadata(LLVMContext::MD_type, MDs); in promoteTypeIds()
161 GO.eraseMetadata(LLVMContext::MD_type); in promoteTypeIds()
165 GO.addMetadata(LLVMContext::MD_type, *MD); in promoteTypeIds()
168 GO.addMetadata( in promoteTypeIds()
312 return GO->hasMetadata(LLVMContext::MD_type); in splitAndWriteThinLTOBitcode()
524 for (auto &GO : M.global_objects()) { in hasTypeMetadata() local
[all …]
H A DGlobalDCE.cpp146 if (auto GO = dyn_cast<GlobalObject>(&GV)) { in ScanVTables() local
147 GlobalObject::VCallVisibility TypeVis = GO->getVCallVisibility(); in ScanVTables()
280 for (GlobalObject &GO : M.global_objects()) { in run()
281 GO.removeDeadConstantUsers(); in run()
285 if (!GO.isDeclaration()) in run()
286 if (!GO.isDiscardableIfUnused()) in run()
287 MarkLive(GO); in run()
289 UpdateGVDependencies(GO); in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp25 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
41 const auto *GVar = dyn_cast<GlobalVariable>(GO); in SelectSectionForGlobal()
48 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A DREADME-P2P148 out whether the peer device is operating as a GO and if so, use
149 join-a-group style PD instead of GO Negotiation style PD.
171 then be used if the local end becomes the GO in GO Negotiation (which
184 "go_intent" can be used to override the default GO Intent for this GO
196 out whether the peer device is operating as a GO and if so, use
197 join-a-group operation rather than GO Negotiation.
326 4 == auto-accept GO role)
584 the AP/GO. This is used on the GO when a P2P client joins an existing
593 Enrollee to connect to the AP/GO. This is used on the GO when a P2P
608 immediately and the response from the GO is indicated in a
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp507 if (GlobalObject *GO = GA.getAliaseeObject(); GO && GO->getComdat()) in run() local
508 AliasedGlobals.insert(GO); in run()
511 for (GlobalObject *GO : C->getUsers()) in run()
512 if (GO->hasPrivateLinkage() && !AliasedGlobals.contains(GO)) in run()
513 ToUpdate.push_back(GO); in run()
514 for (GlobalObject *GO : ToUpdate) { in run()
515 GO->setLinkage(GlobalValue::AvailableExternallyLinkage); in run()
516 GO->setComdat(nullptr); in run()

12345