Lines Matching refs:Module

30     M.reset(new Module("MyModule", Ctx));  in SetUp()
65 std::unique_ptr<Module> M;
100 Module *LinkedModule = new Module("MyModuleLinked", Ctx); in TEST_F()
133 static Module *getExternal(LLVMContext &Ctx, StringRef FuncName) { in getExternal()
135 Module *M = new Module("ExternalModule", Ctx); in getExternal()
149 static Module *getInternal(LLVMContext &Ctx) { in getInternal()
150 Module *InternalM = new Module("InternalModule", Ctx); in getInternal()
173 std::unique_ptr<Module> InternalM(getInternal(Ctx)); in TEST_F()
174 std::unique_ptr<Module> EmptyM(new Module("EmptyModule1", Ctx)); in TEST_F()
180 std::unique_ptr<Module> InternalM(getInternal(Ctx)); in TEST_F()
181 std::unique_ptr<Module> EmptyM(new Module("EmptyModule1", Ctx)); in TEST_F()
192 std::unique_ptr<Module> M1 = parseAssemblyString(M1Str, Err, C); in TEST_F()
196 std::unique_ptr<Module> M2 = parseAssemblyString(M2Str, Err, C); in TEST_F()
206 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F()
207 std::unique_ptr<Module> SourceM(getExternal(Ctx, "bar")); in TEST_F()
219 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F()
220 std::unique_ptr<Module> SourceM(getExternal(Ctx, "foo")); in TEST_F()
230 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F()
231 std::unique_ptr<Module> SourceM(getExternal(Ctx, "bar")); in TEST_F()
252 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F()
253 std::unique_ptr<Module> SourceM(getExternal(Ctx, "foo")); in TEST_F()
277 std::unique_ptr<Module> Src = parseAssemblyString(SrcStr, Err, C); in TEST_F()
305 auto Dst = llvm::make_unique<Module>("Linked", C); in TEST_F()