Home
last modified time | relevance | path

Searched refs:SrcGV (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Linker/
DIRMover.cpp433 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument
436 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()
440 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
456 const GlobalVariable *SrcGV);
746 const GlobalVariable *SrcGV) { in linkAppendingVarProto() argument
747 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto()
754 StringRef Name = SrcGV->getName(); in linkAppendingVarProto()
764 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto()
768 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto()
776 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto()
[all …]
DLinkModules.cpp83 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument
87 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(SrcGV->getLinkage())) in getLinkedToGlobal()
91 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
204 const GlobalVariable *SrcGV; in computeResultingSelectionKind() local
206 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()
212 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind()
214 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp452 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument
455 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()
459 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
475 const GlobalVariable *SrcGV);
793 const GlobalVariable *SrcGV) { in linkAppendingVarProto() argument
794 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto()
801 StringRef Name = SrcGV->getName(); in linkAppendingVarProto()
811 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto()
815 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto()
823 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto()
[all …]
DLinkModules.cpp81 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument
85 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(SrcGV->getLinkage())) in getLinkedToGlobal()
89 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
188 const GlobalVariable *SrcGV; in computeResultingSelectionKind() local
190 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()
196 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind()
198 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()