Home
last modified time | relevance | path

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

/external/llvm/lib/Linker/
DIRMover.cpp455 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument
458 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()
462 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
478 const GlobalVariable *SrcGV);
849 const GlobalVariable *SrcGV) { in linkAppendingVarProto() argument
850 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getType()->getElementType())) in linkAppendingVarProto()
853 StringRef Name = SrcGV->getName(); in linkAppendingVarProto()
863 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto()
867 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto()
873 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) { in linkAppendingVarProto()
[all …]
DLinkModules.cpp96 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument
100 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(getLinkage(SrcGV))) in getLinkedToGlobal()
104 GlobalValue *DGV = DstM.getNamedValue(getName(SrcGV)); in getLinkedToGlobal()
402 const GlobalVariable *SrcGV; in computeResultingSelectionKind() local
404 getComdatLeader(SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()
412 SrcDL.getTypeAllocSize(SrcGV->getType()->getPointerElementType()); in computeResultingSelectionKind()
414 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp133 auto *SrcGV = DestModule.getNamedValue(ImportedName); in findExternalCalls() local
134 if (SrcGV) { in findExternalCalls()
135 assert(isa<Function>(SrcGV) && "Name collision during import"); in findExternalCalls()
136 if (!cast<Function>(SrcGV)->isDeclaration()) { in findExternalCalls()