Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp41 static_assert(sizeof(GlobalObject) == sizeof(GlobalValue) + sizeof(void *),
100 if (const GlobalObject *GO = GA->getBaseObject()) in getAlignment()
108 return cast<GlobalObject>(this)->getAlignment(); in getAlignment()
116 void GlobalObject::setAlignment(unsigned Align) { in setAlignment()
120 void GlobalObject::setAlignment(MaybeAlign Align) { in setAlignment()
130 void GlobalObject::copyAttributesFrom(const GlobalObject *Src) { in copyAttributesFrom()
168 if (const GlobalObject *GO = GA->getBaseObject()) in getSection()
172 return cast<GlobalObject>(this)->getSection(); in getSection()
178 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat()
179 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
[all …]
DComdat.cpp33 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMGetComdat()
38 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMSetComdat()
DMetadata.cpp1381 void GlobalObject::getMetadata(unsigned KindID, in getMetadata()
1387 void GlobalObject::getMetadata(StringRef Kind, in getMetadata()
1393 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata()
1400 void GlobalObject::addMetadata(StringRef Kind, MDNode &MD) { in addMetadata()
1404 bool GlobalObject::eraseMetadata(unsigned KindID) { in eraseMetadata()
1416 void GlobalObject::getAllMetadata( in getAllMetadata()
1426 void GlobalObject::clearMetadata() { in clearMetadata()
1433 void GlobalObject::setMetadata(unsigned KindID, MDNode *N) { in setMetadata()
1439 void GlobalObject::setMetadata(StringRef Kind, MDNode *N) { in setMetadata()
1443 MDNode *GlobalObject::getMetadata(unsigned KindID) const { in getMetadata()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
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()
DGlobalObject.h30 class GlobalObject : public GlobalValue {
46 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
71 GlobalObject(const GlobalObject &) = delete;
178 void copyMetadata(const GlobalObject *Src, unsigned Offset);
185 void copyAttributesFrom(const GlobalObject *Src);
DGlobalValue.h37 class GlobalObject; variable
554 const GlobalObject *getBaseObject() const;
555 GlobalObject *getBaseObject() { in getBaseObject()
556 return const_cast<GlobalObject *>( in getBaseObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.h21 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,
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()
340 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in selectSmallSectionForGlobal()
428 HexagonTargetObjectFile::getLutUsedFunction(const GlobalObject *GO) const { in getLutUsedFunction()
448 const GlobalObject *GO, const TargetMachine &TM, const Function *Fn) const { in selectSectionForLookupTable()
456 const auto *FuncObj = dyn_cast<GlobalObject>(Fn); in selectSectionForLookupTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h59 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, SectionKind Kind,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.h20 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,
DLanaiTargetObjectFile.cpp51 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
65 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection()
75 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl()
103 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
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,
DMipsTargetObjectFile.cpp71 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection()
84 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection()
95 IsGlobalInSmallSectionImpl(const GlobalObject *GO, in IsGlobalInSmallSectionImpl()
151 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h30 class GlobalObject : public GlobalValue {
32 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
57 GlobalObject(const GlobalObject &) = delete;
122 void copyMetadata(const GlobalObject *Src, unsigned Offset);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h95 static SectionKind getKindForGlobal(const GlobalObject *GO,
101 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
107 MCSection *SectionForGlobal(const GlobalObject *GO, in SectionForGlobal()
126 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
216 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetObjectFile.cpp75 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction()
84 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal()
DARMTargetObjectFile.h35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetObjectFile.h26 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
DAMDGPUTargetObjectFile.cpp24 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
33 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetObjectFile.h28 bool isGlobalInSmallSection(const GlobalObject *GO,
31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
DRISCVTargetObjectFile.cpp40 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
76 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
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()
310 for (GlobalObject &GO : M.global_objects()) { in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp96 static void rewriteComdat(Module &M, GlobalObject *GO, in rewriteComdat()
137 if (GlobalObject *GO = dyn_cast<GlobalObject>(S)) in performOnModule()
191 if (GlobalObject *GO = dyn_cast<GlobalObject>(&C)) in performOnModule()

1234