Home
last modified time | relevance | path

Searched refs:DstM (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DLinkModules.cpp82 Module &DstM = Mover.getModule(); in getLinkedToGlobal() local
89 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
156 Module &DstM = Mover.getModule(); in computeResultingSelectionKind() local
189 if (getComdatLeader(DstM, ComdatName, DstGV) || in computeResultingSelectionKind()
193 const DataLayout &DstDL = DstM.getDataLayout(); in computeResultingSelectionKind()
222 Module &DstM = Mover.getModule(); in getComdatResult() local
225 Module::ComdatSymTabType &ComdatSymTab = DstM.getComdatSymbolTable(); in getComdatResult()
458 Module &DstM = Mover.getModule(); in run() local
474 Module::ComdatSymTabType &ComdatSymTab = DstM.getComdatSymbolTable(); in run()
486 for (auto I = DstM.alias_begin(), E = DstM.alias_end(); I != E;) { in run()
[all …]
DIRMover.cpp384 Module &DstM; member in __anon0e8d35020211::IRLinker
459 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
505 IRLinker(Module &DstM, MDMapT &SharedMDs, in IRLinker() argument
510 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker()
613 new GlobalVariable(DstM, TypeMap.get(SGVar->getValueType()), in copyGlobalVariableProto()
630 GlobalValue::ExternalLinkage, SF->getName(), &DstM); in copyFunctionProto()
642 GlobalValue::ExternalLinkage, SGA->getName(), &DstM); in copyGlobalAliasProto()
660 GlobalValue::ExternalLinkage, SGV->getName(), &DstM); in copyGlobalValueProto()
663 DstM, TypeMap.get(SGV->getValueType()), in copyGlobalValueProto()
752 StructType *DST = DstM.getTypeByName(STTypePrefix); in computeTypeMapping()
[all …]
/external/llvm/lib/Linker/
DLinkModules.cpp84 Module &DstM = Mover.getModule(); in getLinkedToGlobal() local
91 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
172 Module &DstM = Mover.getModule(); in computeResultingSelectionKind() local
205 if (getComdatLeader(DstM, ComdatName, DstGV) || in computeResultingSelectionKind()
209 const DataLayout &DstDL = DstM.getDataLayout(); in computeResultingSelectionKind()
238 Module &DstM = Mover.getModule(); in getComdatResult() local
241 Module::ComdatSymTabType &ComdatSymTab = DstM.getComdatSymbolTable(); in getComdatResult()
487 Module &DstM = Mover.getModule(); in run() local
503 Module::ComdatSymTabType &ComdatSymTab = DstM.getComdatSymbolTable(); in run()
515 for (auto I = DstM.alias_begin(), E = DstM.alias_end(); I != E;) { in run()
[all …]
DIRMover.cpp372 Module &DstM; member in __anonba36dcca0211::IRLinker
440 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
482 IRLinker(Module &DstM, MDMapT &SharedMDs, in IRLinker() argument
486 : DstM(DstM), SrcM(std::move(SrcM)), AddLazyFor(std::move(AddLazyFor)), in IRLinker()
587 new GlobalVariable(DstM, TypeMap.get(SGVar->getValueType()), in copyGlobalVariableProto()
602 GlobalValue::ExternalLinkage, SF->getName(), &DstM); in copyFunctionProto()
612 &DstM); in copyGlobalAliasProto()
627 DstM, TypeMap.get(SGV->getValueType()), in copyGlobalValueProto()
705 StructType *DST = DstM.getTypeByName(ST->getName().substr(0, DotPos)); in computeTypeMapping()
825 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), in linkAppendingVarProto()
[all …]
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp321 Module *DstM, *SrcM; member in __anon362dfdd90211::ModuleLinker
348 : DstM(dstM), SrcM(srcM), Mode(mode) { } in ModuleLinker()
374 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName()); in getLinkedToGlobal()
657 new GlobalVariable(*DstM, TypeMap.get(SGV->getType()->getElementType()), in linkGlobalProto()
704 SF->getLinkage(), SF->getName(), DstM); in linkFunctionProto()
746 /*aliasee*/0, DstM); in linkAliasProto()
864 NamedMDNode *DestNMD = DstM->getOrInsertNamedMetadata(I->getName()); in linkNamedMDNodes()
873 assert(DstM && "Null Destination module"); in run()
878 if (DstM->getDataLayout().empty() && !SrcM->getDataLayout().empty()) in run()
879 DstM->setDataLayout(SrcM->getDataLayout()); in run()
[all …]