Home
last modified time | relevance | path

Searched refs:GlobalObject (Results 1 – 25 of 82) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DGlobals.cpp41 static_assert(sizeof(GlobalObject) == sizeof(GlobalValue) + sizeof(void *),
108 GlobalObject::isExternalLinkage(getLinkage()) && !isDeclaration() && in canBenefitFromLocalAlias()
117 void GlobalObject::setAlignment(MaybeAlign Align) { in setAlignment()
127 void GlobalObject::copyAttributesFrom(const GlobalObject *Src) { in copyAttributesFrom()
165 if (const GlobalObject *GO = GA->getBaseObject()) in getSection()
169 return cast<GlobalObject>(this)->getSection(); in getSection()
175 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat()
176 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
182 return cast<GlobalObject>(this)->getComdat(); in getComdat()
207 StringRef GlobalObject::getSectionImpl() const { in getSectionImpl()
[all …]
H A DComdat.cpp33 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMGetComdat()
38 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMSetComdat()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGlobalIndirectSymbol.h61 const GlobalObject *getBaseObject() const;
62 GlobalObject *getBaseObject() { in getBaseObject()
63 return const_cast<GlobalObject *>( in getBaseObject()
67 const GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) const { in getBaseObject()
68 return dyn_cast<GlobalObject>( in getBaseObject()
72 GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) { in getBaseObject()
73 return const_cast<GlobalObject *>( in getBaseObject()
H A DGlobalObject.h28 class GlobalObject : public GlobalValue {
44 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
68 GlobalObject(const GlobalObject &) = delete;
136 void copyMetadata(const GlobalObject *Src, unsigned Offset);
150 void copyAttributesFrom(const GlobalObject *Src);
H A DGlobalValue.h37 class GlobalObject; variable
551 const GlobalObject *getBaseObject() const;
552 GlobalObject *getBaseObject() { in getBaseObject()
553 return const_cast<GlobalObject *>( in getBaseObject()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
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,
H A DHexagonTargetObjectFile.cpp128 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
166 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
199 bool HexagonTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection()
343 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in selectSmallSectionForGlobal()
431 HexagonTargetObjectFile::getLutUsedFunction(const GlobalObject *GO) const { in getLutUsedFunction()
451 const GlobalObject *GO, const TargetMachine &TM, const Function *Fn) const { in selectSectionForLookupTable()
459 const auto *FuncObj = dyn_cast<GlobalObject>(Fn); in selectSectionForLookupTable()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h36 SmallPtrSet<GlobalObject *, 2> Used;
62 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
65 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
124 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
127 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
165 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
168 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
206 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
209 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
240 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
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,
H A DLanaiTargetObjectFile.cpp50 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
64 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection()
74 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl()
102 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h25 class GlobalObject; variable
111 static SectionKind getKindForGlobal(const GlobalObject *GO,
117 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
123 MCSection *SectionForGlobal(const GlobalObject *GO,
144 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
257 getSectionForExternalReference(const GlobalObject *GO, in getSectionForExternalReference()
278 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
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,
H A DMipsTargetObjectFile.cpp70 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection()
83 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection()
94 IsGlobalInSmallSectionImpl(const GlobalObject *GO, in IsGlobalInSmallSectionImpl()
150 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp76 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction()
85 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
94 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal()
H A DARMTargetObjectFile.h35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.h24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
26 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
H A DAMDGPUTargetObjectFile.cpp21 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
30 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.h27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.h27 bool isGlobalInSmallSection(const GlobalObject *GO,
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
H A DRISCVTargetObjectFile.cpp39 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
75 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp193 if (auto GO = dyn_cast<GlobalObject>(&GV)) { in ScanVTables()
194 GlobalObject::VCallVisibility TypeVis = GO->getVCallVisibility(); in ScanVTables()
195 if (TypeVis == GlobalObject::VCallVisibilityTranslationUnit || in ScanVTables()
197 TypeVis == GlobalObject::VCallVisibilityLinkageUnit)) { in ScanVTables()
319 for (GlobalObject &GO : M.global_objects()) { in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp301 if (auto *GO = dyn_cast<GlobalObject>(GV)) in getModuleMetadata()
543 static const MCSymbolELF *getLinkedToSymbol(const GlobalObject *GO, in getLinkedToSymbol()
606 getELFSectionNameForGlobal(const GlobalObject *GO, SectionKind Kind, in getELFSectionNameForGlobal()
657 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM, in selectExplicitSectionGlobal()
788 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
795 MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, in selectELFSectionForGlobal()
832 MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, in selectELFSectionForGlobal()
854 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
1203 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
1250 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp96 static void rewriteComdat(Module &M, GlobalObject *GO, in rewriteComdat()
138 if (GlobalObject *GO = dyn_cast<GlobalObject>(S)) in performOnModule()
193 if (GlobalObject *GO = dyn_cast<GlobalObject>(&C)) in performOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp202 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal()
317 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SectionForGlobal()
345 TargetLoweringObjectFile::SectionForGlobal(const GlobalObject *GO, in SectionForGlobal()

1234