Lines Matching refs:Src
51 /// create a GlobalValue) from the GlobalValue Src to this one.
52 void GlobalValue::copyAttributesFrom(const GlobalValue *Src) {
53 setVisibility(Src->getVisibility());
54 setUnnamedAddr(Src->hasUnnamedAddr());
55 setDLLStorageClass(Src->getDLLStorageClass());
94 void GlobalObject::copyAttributesFrom(const GlobalValue *Src) {
95 GlobalValue::copyAttributesFrom(Src);
96 if (const auto *GV = dyn_cast<GlobalObject>(Src)) {
257 /// from the GlobalVariable Src to this one.
258 void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) {
259 GlobalObject::copyAttributesFrom(Src);
260 if (const GlobalVariable *SrcVar = dyn_cast<GlobalVariable>(Src)) {