Searched refs:DstGV (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 388 bool linkAppendingVarProto(GlobalVariable *DstGV, GlobalVariable *SrcGV); 552 bool ModuleLinker::linkAppendingVarProto(GlobalVariable *DstGV, in linkAppendingVarProto() argument 555 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto() 559 ArrayType *DstTy = cast<ArrayType>(DstGV->getType()->getElementType()); in linkAppendingVarProto() 567 if (DstGV->isConstant() != SrcGV->isConstant()) in linkAppendingVarProto() 570 if (DstGV->getAlignment() != SrcGV->getAlignment()) in linkAppendingVarProto() 574 if (DstGV->getVisibility() != SrcGV->getVisibility()) in linkAppendingVarProto() 578 if (DstGV->getSection() != SrcGV->getSection()) in linkAppendingVarProto() 587 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto() 588 DstGV->getLinkage(), /*init*/0, /*name*/"", DstGV, in linkAppendingVarProto() [all …]
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 455 Expected<Constant *> linkAppendingVarProto(GlobalVariable *DstGV, 745 IRLinker::linkAppendingVarProto(GlobalVariable *DstGV, in linkAppendingVarProto() argument 772 if (DstGV) { in linkAppendingVarProto() 773 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto() 776 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto() 785 if (DstGV->isConstant() != SrcGV->isConstant()) in linkAppendingVarProto() 788 if (DstGV->getAlignment() != SrcGV->getAlignment()) in linkAppendingVarProto() 792 if (DstGV->getVisibility() != SrcGV->getVisibility()) in linkAppendingVarProto() 796 if (DstGV->hasGlobalUnnamedAddr() != SrcGV->hasGlobalUnnamedAddr()) in linkAppendingVarProto() 800 if (DstGV->getSection() != SrcGV->getSection()) in linkAppendingVarProto() [all …]
|
D | LinkModules.cpp | 203 const GlobalVariable *DstGV; in computeResultingSelectionKind() local 205 if (getComdatLeader(DstM, ComdatName, DstGV) || in computeResultingSelectionKind() 211 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() 214 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/ |
D | IRMover.cpp | 474 Expected<Constant *> linkAppendingVarProto(GlobalVariable *DstGV, 792 IRLinker::linkAppendingVarProto(GlobalVariable *DstGV, in linkAppendingVarProto() argument 819 if (DstGV) { in linkAppendingVarProto() 820 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto() 823 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto() 832 if (DstGV->isConstant() != SrcGV->isConstant()) in linkAppendingVarProto() 835 if (DstGV->getAlignment() != SrcGV->getAlignment()) in linkAppendingVarProto() 839 if (DstGV->getVisibility() != SrcGV->getVisibility()) in linkAppendingVarProto() 843 if (DstGV->hasGlobalUnnamedAddr() != SrcGV->hasGlobalUnnamedAddr()) in linkAppendingVarProto() 847 if (DstGV->getSection() != SrcGV->getSection()) in linkAppendingVarProto() [all …]
|
D | LinkModules.cpp | 187 const GlobalVariable *DstGV; in computeResultingSelectionKind() local 189 if (getComdatLeader(DstM, ComdatName, DstGV) || in computeResultingSelectionKind() 195 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() 198 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()
|