Lines Matching refs:GlobalObject
42 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()
126 void GlobalObject::copyAttributesFrom(const GlobalObject *Src) { in copyAttributesFrom()
164 if (const GlobalObject *GO = GA->getBaseObject()) in getSection()
168 return cast<GlobalObject>(this)->getSection(); in getSection()
174 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat()
175 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
181 return cast<GlobalObject>(this)->getComdat(); in getComdat()
184 StringRef GlobalObject::getSectionImpl() const { in getSectionImpl()
189 void GlobalObject::setSection(StringRef S) { in setSection()
261 const GlobalObject *GlobalValue::getBaseObject() const { in getBaseObject()
262 if (auto *GO = dyn_cast<GlobalObject>(this)) in getBaseObject()
270 auto *GO = dyn_cast<GlobalObject>(this); in isAbsoluteSymbolRef()
278 auto *GO = dyn_cast<GlobalObject>(this); in getAbsoluteSymbolRange()
315 : GlobalObject(Ty, Value::GlobalVariableVal, in GlobalVariable()
335 : GlobalObject(Ty, Value::GlobalVariableVal, in GlobalVariable()
387 GlobalObject::copyAttributesFrom(Src); in copyAttributesFrom()