Home | History | Annotate | Download | only in Linker

Lines Matching refs:Bar

155       Function::Create(FTy, Function::InternalLinkage, "bar", InternalM);
207 std::unique_ptr<Module> SourceM(getExternal(Ctx, "bar"));
211 // "bar" is present in destination module
212 EXPECT_NE(nullptr, DestM->getFunction("bar"));
314 // "struct.rtx_def" type. In the module loaded the second (Bar) this type will
327 "define void @bar(%struct.rtx_def* %a, i8 %b, i32 %c) {\n"
341 std::unique_ptr<Module> Bar = parseAssemblyString(BarStr, Err, C);
342 assert(Bar);
343 ASSERT_TRUE(Bar.get());
344 // Bar is loaded after Foo, so the type is renamed to struct.rtx_def.0. Check
346 ASSERT_FALSE(Bar->getFunction("llvm.memset.p0struct.rtx_def.i32"));
347 ASSERT_TRUE(Bar->getFunction("llvm.memset.p0struct.rtx_def.0.i32"));
353 bool Failed = Linker::linkModules(*Foo, std::move(Bar));
356 // "struct.rtx_def" from Foo and "struct.rtx_def.0" from Bar are isomorphic