Searched refs:SrcGV (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 367 GlobalValue *getLinkedToGlobal(GlobalValue *SrcGV) { in getLinkedToGlobal() argument 370 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal() 374 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName()); in getLinkedToGlobal() 388 bool linkAppendingVarProto(GlobalVariable *DstGV, GlobalVariable *SrcGV); 389 bool linkGlobalProto(GlobalVariable *SrcGV); 426 static void CopyGVAttributes(GlobalValue *DestGV, const GlobalValue *SrcGV) { in CopyGVAttributes() argument 428 unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment()); in CopyGVAttributes() 429 DestGV->copyAttributesFrom(SrcGV); in CopyGVAttributes() 432 forceRenaming(DestGV, SrcGV->getName()); in CopyGVAttributes() 553 GlobalVariable *SrcGV) { in linkAppendingVarProto() argument [all …]
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 433 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 …]
|
D | LinkModules.cpp | 83 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/ |
D | IRMover.cpp | 452 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 …]
|
D | LinkModules.cpp | 81 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()
|