Lines Matching refs:VMap
11 ValueToValueMapTy &VMap) { in copyGVInitializer() argument
13 New.setInitializer(MapValue(Orig.getInitializer(), VMap)); in copyGVInitializer()
17 ValueToValueMapTy &VMap) { in copyFunctionBody() argument
23 VMap[J] = DestI++; in copyFunctionBody()
27 CloneFunctionInto(&New, &Orig, VMap, /*ModuleLevelChanges=*/true, Returns); in copyFunctionBody()
35 ValueToValueMapTy VMap; in CloneSubModule() local
48 VMap[I] = GV; in CloneSubModule()
57 VMap[I] = NF; in CloneSubModule()
68 VMap[I] = GA; in CloneSubModule()
76 GlobalVariable &GV = *cast<GlobalVariable>(VMap[I]); in CloneSubModule()
77 HandleGlobalVariable(GV, *I, VMap); in CloneSubModule()
83 Function &F = *cast<Function>(VMap[I]); in CloneSubModule()
84 HandleFunction(F, *I, VMap); in CloneSubModule()
90 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneSubModule()
92 GA->setAliasee(MapValue(C, VMap)); in CloneSubModule()
102 NewNMD->addOperand(MapMetadata(NMD.getOperand(i), VMap)); in CloneSubModule()