Lines Matching refs:GlobalObject
41 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()
212 void GlobalObject::setSection(StringRef S) { in setSection()
242 bool GlobalObject::canIncreaseAlignment() const { in canIncreaseAlignment()
283 const GlobalObject *GlobalValue::getBaseObject() const { in getBaseObject()
284 if (auto *GO = dyn_cast<GlobalObject>(this)) in getBaseObject()
292 auto *GO = dyn_cast<GlobalObject>(this); in isAbsoluteSymbolRef()
300 auto *GO = dyn_cast<GlobalObject>(this); in getAbsoluteSymbolRange()
337 : GlobalObject(Ty, Value::GlobalVariableVal, in GlobalVariable()
358 : GlobalObject(Ty, Value::GlobalVariableVal, in GlobalVariable()
413 GlobalObject::copyAttributesFrom(Src); in copyAttributesFrom()
434 static const GlobalObject *
436 if (auto *GO = dyn_cast<GlobalObject>(C)) in findBaseObject()
467 const GlobalObject *GlobalIndirectSymbol::getBaseObject() const { in getBaseObject()