Lines Matching defs:NewM
1006 void CreateNewModule() { NewM = llvm::CloneModule(*OldM).release(); }
1010 Module *NewM;
1018 EXPECT_FALSE(verifyModule(*NewM, &errs()));
1028 Function *NewF = NewM->getFunction("f");
1037 Function *NewF = NewM->getFunction("g");
1042 GlobalVariable *NewGV = NewM->getGlobalVariable("gv");
1047 GlobalVariable *NewGV = NewM->getGlobalVariable("gv");
1064 DISubprogram *SP = NewM->getFunction("f")->getSubprogram();
1071 auto *NMD = NewM->getNamedMetadata("llvm.dbg.cu");
1074 EXPECT_FALSE(haveCompileUnitsInCommon(*OldM, *NewM));
1088 DISubprogram *SP = NewM->getFunction("f")->getSubprogram();
1102 GlobalVariable *NewGV = NewM->getGlobalVariable("gv");
1108 Function *NewF = NewM->getFunction("f");
1113 ASSERT_EQ(1u, NewM->ifunc_size());
1115 const GlobalIFunc &IFunc = *NewM->ifunc_begin();
1160 auto NewM = llvm::CloneModule(*M);
1161 EXPECT_FALSE(verifyModule(*NewM, &errs()));