Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DGlobals.cpp42 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()
111 void GlobalObject::setAlignment(unsigned Align) { in setAlignment()
121 void GlobalObject::copyAttributesFrom(const GlobalObject *Src) { in copyAttributesFrom()
159 if (const GlobalObject *GO = GA->getBaseObject()) in getSection()
163 return cast<GlobalObject>(this)->getSection(); in getSection()
169 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat()
170 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
176 return cast<GlobalObject>(this)->getComdat(); in getComdat()
[all …]
DComdat.cpp34 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMGetComdat()
39 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMSetComdat()
DMetadata.cpp1382 void GlobalObject::getMetadata(unsigned KindID, in getMetadata()
1388 void GlobalObject::getMetadata(StringRef Kind, in getMetadata()
1394 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata()
1401 void GlobalObject::addMetadata(StringRef Kind, MDNode &MD) { in addMetadata()
1405 bool GlobalObject::eraseMetadata(unsigned KindID) { in eraseMetadata()
1417 void GlobalObject::getAllMetadata( in getAllMetadata()
1427 void GlobalObject::clearMetadata() { in clearMetadata()
1434 void GlobalObject::setMetadata(unsigned KindID, MDNode *N) { in setMetadata()
1440 void GlobalObject::setMetadata(StringRef Kind, MDNode *N) { in setMetadata()
1444 MDNode *GlobalObject::getMetadata(unsigned KindID) const { in getMetadata()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalIndirectSymbol.h58 const GlobalObject *getBaseObject() const { in getBaseObject()
59 return dyn_cast<GlobalObject>(getIndirectSymbol()->stripInBoundsOffsets()); in getBaseObject()
61 GlobalObject *getBaseObject() { in getBaseObject()
62 return const_cast<GlobalObject *>( in getBaseObject()
66 const GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) const { in getBaseObject()
67 return dyn_cast<GlobalObject>( in getBaseObject()
71 GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) { in getBaseObject()
72 return const_cast<GlobalObject *>( in getBaseObject()
DGlobalObject.h30 class GlobalObject : public GlobalValue {
32 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
57 GlobalObject(const GlobalObject &) = delete;
159 void copyMetadata(const GlobalObject *Src, unsigned Offset);
164 void copyAttributesFrom(const GlobalObject *Src);
DGlobalValue.h38 class GlobalObject; variable
544 const GlobalObject *getBaseObject() const;
545 GlobalObject *getBaseObject() { in getBaseObject()
546 return const_cast<GlobalObject *>( in getBaseObject()
/external/llvm/lib/IR/
DGlobals.cpp61 if (const GlobalObject *GO = GA->getBaseObject()) in getAlignment()
69 return cast<GlobalObject>(this)->getAlignment(); in getAlignment()
72 void GlobalObject::setAlignment(unsigned Align) { in setAlignment()
82 unsigned GlobalObject::getGlobalObjectSubClassData() const { in getGlobalObjectSubClassData()
87 void GlobalObject::setGlobalObjectSubClassData(unsigned Val) { in setGlobalObjectSubClassData()
94 void GlobalObject::copyAttributesFrom(const GlobalValue *Src) { in copyAttributesFrom()
96 if (const auto *GV = dyn_cast<GlobalObject>(Src)) { in copyAttributesFrom()
134 if (const GlobalObject *GO = GA->getBaseObject()) in getSection()
138 return cast<GlobalObject>(this)->getSection(); in getSection()
144 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat()
[all …]
DMetadata.cpp1347 void GlobalObject::getMetadata(unsigned KindID, in getMetadata()
1353 void GlobalObject::getMetadata(StringRef Kind, in getMetadata()
1359 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata()
1366 void GlobalObject::addMetadata(StringRef Kind, MDNode &MD) { in addMetadata()
1370 void GlobalObject::eraseMetadata(unsigned KindID) { in eraseMetadata()
1381 void GlobalObject::getAllMetadata( in getAllMetadata()
1391 void GlobalObject::clearMetadata() { in clearMetadata()
1398 void GlobalObject::setMetadata(unsigned KindID, MDNode *N) { in setMetadata()
1404 void GlobalObject::setMetadata(StringRef Kind, MDNode *N) { in setMetadata()
1408 MDNode *GlobalObject::getMetadata(unsigned KindID) const { in getMetadata()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
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,
DHexagonTargetObjectFile.cpp129 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
167 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
200 bool HexagonTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection()
333 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in selectSmallSectionForGlobal()
421 HexagonTargetObjectFile::getLutUsedFunction(const GlobalObject *GO) const { in getLutUsedFunction()
441 const GlobalObject *GO, const TargetMachine &TM, const Function *Fn) const { in selectSectionForLookupTable()
449 const auto *FuncObj = dyn_cast<GlobalObject>(Fn); in selectSectionForLookupTable()
/external/llvm/include/llvm/IR/
DGlobalIndirectSymbol.h52 const GlobalObject *getBaseObject() const { in getBaseObject()
55 GlobalObject *getBaseObject() { in getBaseObject()
56 return dyn_cast<GlobalObject>(getIndirectSymbol()->stripInBoundsOffsets()); in getBaseObject()
59 const GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) const { in getBaseObject()
62 GlobalObject *getBaseObject(const DataLayout &DL, APInt &Offset) { in getBaseObject()
63 return dyn_cast<GlobalObject>( in getBaseObject()
DGlobalObject.h27 class GlobalObject : public GlobalValue {
28 GlobalObject(const GlobalObject &) = delete;
31 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
119 void copyMetadata(const GlobalObject *Src, unsigned Offset);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h59 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
62 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
105 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
108 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
144 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
147 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
188 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
191 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.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,
DLanaiTargetObjectFile.cpp52 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection()
66 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection()
76 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSectionImpl()
104 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsTargetObjectFile.h22 bool IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM,
24 bool IsGlobalInSmallSectionImpl(const GlobalObject *GO,
32 bool IsGlobalInSmallSection(const GlobalObject *GO,
35 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()
/external/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);
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp67 const DenseMap<GlobalObject *, uint64_t> &GlobalLayout, Value *V, in containsValue() argument
69 if (auto GV = dyn_cast<GlobalObject>(V)) { in containsValue()
232 const DenseMap<GlobalObject *, uint64_t> &GlobalLayout);
239 const DenseMap<GlobalObject *, uint64_t> &GlobalLayout);
243 const DenseMap<GlobalObject *, uint64_t> &GlobalLayout);
248 Constant *createJumpTableEntry(GlobalObject *Src, Function *Dest,
250 void verifyTypeMDNode(GlobalObject *GO, MDNode *Type);
254 ArrayRef<GlobalObject *> Globals);
271 const DenseMap<GlobalObject *, uint64_t> &GlobalLayout) { in buildBitSet() argument
426 const DenseMap<GlobalObject *, uint64_t> &GlobalLayout) { in lowerBitSetCall() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h85 static SectionKind getKindForGlobal(const GlobalObject *GO,
91 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
97 MCSection *SectionForGlobal(const GlobalObject *GO, in SectionForGlobal()
116 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
189 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMTargetObjectFile.cpp64 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction()
73 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal()
82 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal()
DARMTargetObjectFile.h36 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
40 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp336 static const MCSymbolELF *getAssociatedSymbol(const GlobalObject *GO, in getAssociatedSymbol()
350 GlobalObject *OtherGO = dyn_cast<GlobalObject>(VM->getValue()); in getAssociatedSymbol()
355 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
450 MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, in selectELFSectionForGlobal()
504 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
743 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
784 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
1088 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal()
1127 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
1360 if (!isa<GlobalObject>(LHS) || !isa<GlobalVariable>(RHS) || in lowerRelativeReference()
[all …]

12345