Home
last modified time | relevance | path

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

123456789

/external/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()
/external/llvm-project/llvm/lib/IR/
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 …]
DComdat.cpp33 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMGetComdat()
38 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMSetComdat()
/external/llvm-project/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,
70 GlobalObject(const GlobalObject &) = delete;
138 void copyMetadata(const GlobalObject *Src, unsigned Offset);
152 void copyAttributesFrom(const GlobalObject *Src);
/external/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);
/external/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,
/external/llvm-project/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,
/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 …]
/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-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 …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h58 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
61 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
116 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
119 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
157 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
160 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
198 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
201 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
228 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
240 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
[all …]
/external/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()
/external/llvm-project/llvm/lib/Target/Lanai/
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,
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()
/external/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,
/external/llvm-project/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,
/external/llvm-project/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h25 class GlobalObject; variable
102 static SectionKind getKindForGlobal(const GlobalObject *GO,
108 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
114 MCSection *SectionForGlobal(const GlobalObject *GO,
135 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
248 getSectionForExternalReference(const GlobalObject *GO, in getSectionForExternalReference()
269 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
/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-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,

123456789