Lines Matching refs:VMap
145 ValueToValueMapTy VMap; in TestGlobalVariables() local
146 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestGlobalVariables()
152 GlobalVariable* CMGV = cast<GlobalVariable>(VMap[GVs[i]]); in TestGlobalVariables()
241 ValueToValueMapTy VMap; in TestFuncs() local
242 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
247 Function *CMF = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
348 ValueToValueMapTy VMap; in TestBlocks() local
349 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestBlocks()
354 Blocks.insert(cast<BasicBlock>(VMap[BBs[i]])); in TestBlocks()
458 ValueToValueMapTy VMap; in TestInsts() local
459 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestInsts()
465 Instructions.insert(cast<Instruction>(VMap[Insts[i]])); in TestInsts()
534 ValueToValueMapTy VMap; in TestNamedMDs() local
535 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestNamedMDs()
614 ValueToValueMapTy VMap; in TestNamedMDOps() local
615 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestNamedMDOps()
626 NewNamedMDNode->addOperand(cast<MDNode>(MapMetadata(op, VMap))); in TestNamedMDOps()
640 NamedMDOps.push_back(cast<MDNode>(VMap.MD()[Node].get())); in TestNamedMDOps()