Lines Matching refs:m
52 Module m(&b); in TEST_F() local
53 auto elemType = m.getIntType(32); in TEST_F()
54 VariableInst *buffer = AddBuffer(elemType, 2, b, &m); in TEST_F()
57 GlobalSection *gs = m.getGlobalSection(); in TEST_F()
65 std::unique_ptr<Module> m(Deserialize<Module>(mWordsGreyscale)); in TEST_F() local
67 ASSERT_NE(nullptr, m); in TEST_F()
69 m->resolveIds(); in TEST_F()
72 m->setBuilder(&b); in TEST_F()
77 EXPECT_FALSE(AddWrapper("foo", sig, 1, b, m.get())); in TEST_F()
79 EXPECT_TRUE(AddWrapper("greyscale(vf4;", sig, 1, b, m.get())); in TEST_F()
82 EXPECT_EQ(2, countEntity<EntryPointDefinition>(m.get())); in TEST_F()
86 std::unique_ptr<Module> m(Deserialize<Module>(mWordsInvert)); in TEST_F() local
88 ASSERT_NE(nullptr, m); in TEST_F()
90 m->resolveIds(); in TEST_F()
93 m->setBuilder(&b); in TEST_F()
97 EXPECT_FALSE(AddWrapper("foo", sig, 1, b, m.get())); in TEST_F()
99 ASSERT_TRUE(AddWrapper("invert", sig, 1, b, m.get())); in TEST_F()
101 EXPECT_EQ(1, countEntity<EntryPointDefinition>(m.get())); in TEST_F()
105 std::unique_ptr<Module> m(Deserialize<Module>(mWordsInvert)); in TEST_F() local
107 ASSERT_NE(nullptr, m); in TEST_F()
110 m->setBuilder(&b); in TEST_F()
112 bool success = AddWrapper("root", 0, 1, b, m.get()); in TEST_F()