Home
last modified time | relevance | path

Searched defs:GO (Results 1 – 25 of 60) sorted by relevance

123

/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceGlobalObjects.cpp14 static bool shouldReduceSection(GlobalObject &GO) { return GO.hasSection(); } in shouldReduceSection()
16 static bool shouldReduceAlign(GlobalObject &GO) { in shouldReduceAlign()
20 static bool shouldReduceComdat(GlobalObject &GO) { return GO.hasComdat(); } in shouldReduceComdat()
23 for (auto &GO : Program.getModule().global_objects()) { in reduceGOs() local
/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp64 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection() argument
50 isGlobalInSmallSection(const GlobalObject * GO,const TargetMachine & TM) const isGlobalInSmallSection() argument
74 isGlobalInSmallSectionImpl(const GlobalObject * GO,const TargetMachine & TM) const isGlobalInSmallSectionImpl() argument
102 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp21 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
30 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp70 IsGlobalInSmallSection(const GlobalObject * GO,const TargetMachine & TM) const IsGlobalInSmallSection() argument
83 IsGlobalInSmallSection(const GlobalObject * GO,const TargetMachine & TM,SectionKind Kind) const IsGlobalInSmallSection() argument
94 IsGlobalInSmallSectionImpl(const GlobalObject * GO,const TargetMachine & TM) const IsGlobalInSmallSectionImpl() argument
150 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
[all...]
/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVTargetObjectFile.h33 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
37 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, in SelectSectionForGlobal()
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp127 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
165 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
198 isGlobalInSmallSection(const GlobalObject * GO,const TargetMachine & TM) const isGlobalInSmallSection() argument
344 selectSmallSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const selectSmallSectionForGlobal() argument
452 selectSectionForLookupTable(const GlobalObject * GO,const TargetMachine & TM,const Function * Fn) const selectSectionForLookupTable() argument
[all...]
/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp95 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction()
104 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
113 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
/llvm-project/llvm/lib/IR/
H A DComdat.cpp30 void Comdat::addUser(GlobalObject *GO) { Users.insert(GO); } in addUser()
32 void Comdat::removeUser(GlobalObject *GO) { Users.erase(GO); } in removeUser()
H A DGlobals.cpp186 if (const GlobalObject *GO = GA->getAliaseeObject()) getSection() local
196 if (const GlobalObject *GO = GA->getAliaseeObject()) getComdat() local
359 if (auto *GO = dyn_cast<GlobalObject>(C)) { findBaseObject() local
400 auto *GO = dyn_cast<GlobalObject>(this); isAbsoluteSymbolRef() local
408 auto *GO = dyn_cast<GlobalObject>(this); getAbsoluteSymbolRange() local
[all...]
/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp98 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
109 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp301 if (auto *GO = dyn_cast<GlobalObject>(GV)) getModuleMetadata() local
580 getLinkedToSymbol(const GlobalObject * GO,const TargetMachine & TM) getLinkedToSymbol() argument
636 getELFSectionNameForGlobal(const GlobalObject * GO,SectionKind Kind,Mangler & Mang,const TargetMachine & TM,unsigned EntrySize,bool UniqueSectionName) getELFSectionNameForGlobal() argument
690 calcUniqueIDUpdateFlagsAndSize(const GlobalObject * GO,StringRef SectionName,SectionKind Kind,const TargetMachine & TM,MCContext & Ctx,Mangler & Mang,unsigned & Flags,unsigned & EntrySize,unsigned & NextUniqueID,const bool Retain,const bool ForceUnique) calcUniqueIDUpdateFlagsAndSize() argument
770 getGlobalObjectInfo(const GlobalObject * GO,const TargetMachine & TM) getGlobalObjectInfo() argument
785 selectExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM,MCContext & Ctx,Mangler & Mang,unsigned & NextUniqueID,bool Retain,bool ForceUnique) selectExplicitSectionGlobal() argument
849 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
856 selectELFSectionForGlobal(MCContext & Ctx,const GlobalObject * GO,SectionKind Kind,Mangler & Mang,const TargetMachine & TM,bool EmitUniqueSection,unsigned Flags,unsigned * NextUniqueID,const MCSymbolELF * AssociatedSymbol) selectELFSectionForGlobal() argument
888 selectELFSectionForGlobal(MCContext & Ctx,const GlobalObject * GO,SectionKind Kind,Mangler & Mang,const TargetMachine & TM,bool Retain,bool EmitUniqueSection,unsigned Flags,unsigned * NextUniqueID) selectELFSectionForGlobal() argument
915 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
1285 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
1341 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
1573 if (auto *GO = GV->getAliaseeObject()) { getNameWithPrefix() local
1669 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
1717 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
2155 if (auto *GO = dyn_cast<GlobalObject>(GV)) getModuleMetadata() local
2160 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
2190 selectWasmSectionForGlobal(MCContext & Ctx,const GlobalObject * GO,SectionKind Kind,Mangler & Mang,const TargetMachine & TM,bool EmitUniqueSection,unsigned * NextUniqueID,bool Retain) selectWasmSectionForGlobal() argument
2223 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
2343 if (const GlobalObject *GO = dyn_cast<GlobalObject>(GV)) { getTargetSymbol() local
2370 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
2403 getSectionForExternalReference(const GlobalObject * GO,const TargetMachine & TM) const getSectionForExternalReference() argument
2435 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
2722 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
2733 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
[all...]
/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp39 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp70 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection() argument
106 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp320 auto *GO = dyn_cast<GlobalObject>(&GV); processGlobalForThinLTO() local
342 for (auto &GO : M.global_objects()) processGlobalsForThinLTO() local
H A DSymbolRewriter.cpp93 static void rewriteComdat(Module &M, GlobalObject *GO, in rewriteComdat()
135 if (GlobalObject *GO = dyn_cast<GlobalObject>(S)) in performOnModule() local
190 if (GlobalObject *GO = dyn_cast<GlobalObject>(&C)) in performOnModule() local
H A DNameAnonGlobals.cpp74 for (auto &GO : M.global_objects()) in nameUnamedGlobals() local
/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h30 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp25 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXTargetMachine.cpp57 getExplicitSectionGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const getExplicitSectionGlobal() argument
63 SelectSectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SelectSectionForGlobal() argument
/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp200 getKindForGlobal(const GlobalObject * GO,const TargetMachine & TM) getKindForGlobal() argument
322 SectionForGlobal(const GlobalObject * GO,SectionKind Kind,const TargetMachine & TM) const SectionForGlobal() argument
345 SectionForGlobal(const GlobalObject * GO,const TargetMachine & TM) const SectionForGlobal() argument
[all...]
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp80 if (const auto *GO = dyn_cast<GlobalObject>(GV)) { isAddressedViaADA() local
/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp94 for (auto &GO : ExportM.global_objects()) in promoteInternals() local
306 auto HasTypeMetadata = [](const GlobalObject *GO) { in splitAndWriteThinLTOBitcode() argument
524 for (auto &GO : M.global_objects()) { hasTypeMetadata() local
[all...]
H A DInternalize.cpp142 if (auto *GO = dyn_cast<GlobalObject>(&GV)) { in maybeInternalize() local
/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp231 if (const GlobalObject *GO = GV->getAliaseeObject()) getSymbolFlags() local
/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp303 StringRef FileName(GO.getParent()->getSourceFileName()); in getStrippedSourceFileName() argument
323 getIRPGONameForGlobalObject(const GlobalObject & GO,GlobalValue::LinkageTypes Linkage,StringRef FileName) getIRPGONameForGlobalObject() argument
350 getIRPGOObjectName(const GlobalObject & GO,bool InLTO,MDNode * PGONameMetadata) getIRPGOObjectName() argument
1388 createPGONameMetadata(GlobalObject & GO,StringRef MetadataName,StringRef PGOName) createPGONameMetadata() argument
1408 createPGONameMetadata(GlobalObject & GO,StringRef PGOName) createPGONameMetadata() argument
1412 needsComdatForCounter(const GlobalObject & GO,const Module & M) needsComdatForCounter() argument
[all...]

123