Lines Matching refs:DstGV
477 Constant *linkAppendingVarProto(GlobalVariable *DstGV,
848 Constant *IRLinker::linkAppendingVarProto(GlobalVariable *DstGV,
870 if (DstGV) {
871 ArrayType *DstTy = cast<ArrayType>(DstGV->getType()->getElementType());
873 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) {
885 if (DstGV->isConstant() != SrcGV->isConstant()) {
890 if (DstGV->getAlignment() != SrcGV->getAlignment()) {
896 if (DstGV->getVisibility() != SrcGV->getVisibility()) {
902 if (DstGV->hasUnnamedAddr() != SrcGV->hasUnnamedAddr()) {
908 if (StringRef(DstGV->getSection()) != SrcGV->getSection()) {
916 if (DstGV)
917 getArrayElements(DstGV->getInitializer(), DstElements);
940 /*init*/ nullptr, /*name*/ "", DstGV, SrcGV->getThreadLocalMode(),
973 if (DstGV) {
974 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType()));
975 DstGV->eraseFromParent();