Lines Matching refs:ValueMap
329 ValueToValueMapTy ValueMap; member in __anon2872dd220211::ModuleLinker
603 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
643 ValueMap[SGV] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGV->getType())); in linkGlobalProto()
671 ValueMap[SGV] = NewDGV; in linkGlobalProto()
691 ValueMap[SF] = ConstantExpr::getBitCast(DGV, TypeMap.get(SF->getType())); in linkFunctionProto()
713 ValueMap[SF] = NewDF; in linkFunctionProto()
733 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType())); in linkAliasProto()
755 ValueMap[SGA] = NewDA; in linkAliasProto()
772 Constant *SrcInit = MapValue(AVI.SrcInit, ValueMap, RF_None, &TypeMap); in linkAppendingVarInit()
798 GlobalVariable *DGV = cast<GlobalVariable>(ValueMap[I]); in linkGlobalInits()
800 DGV->setInitializer(MapValue(I->getInitializer(), ValueMap, in linkGlobalInits()
818 ValueMap[I] = DI; in linkFunctionBody()
831 RemapInstruction(I, ValueMap, RF_IgnoreMissingEntries, &TypeMap); in linkFunctionBody()
836 CloneFunctionInto(Dst, Src, ValueMap, false, Returns); in linkFunctionBody()
842 ValueMap.erase(I); in linkFunctionBody()
853 GlobalAlias *DA = cast<GlobalAlias>(ValueMap[I]); in linkAliasBodies()
854 DA->setAliasee(MapValue(Aliasee, ValueMap, RF_None, &TypeMap)); in linkAliasBodies()
867 DestNMD->addOperand(MapValue(I->getOperand(i), ValueMap, in linkNamedMDNodes()
966 linkFunctionBody(cast<Function>(ValueMap[SF]), SF); in run()