Lines Matching defs:context
27 uint32_t count_functions(opt::IRContext* context) {
29 for (auto& function : *context->module()) {
63 const auto context =
66 ASSERT_EQ(3, count_functions(context.get()));
70 context.get(), 0);
76 ASSERT_EQ(2, count_functions(context.get()));
97 CheckEqual(env, after_first, context.get());
100 context.get(), 0);
107 ASSERT_EQ(1, count_functions(context.get()));
124 CheckEqual(env, after_second, context.get());
155 const auto context =
159 context.get(), 0);
189 const auto context =
192 ASSERT_EQ(3, count_functions(context.get()));
196 context.get(), 0);
201 ASSERT_EQ(2, count_functions(context.get()));
204 ASSERT_EQ(1, count_functions(context.get()));
221 CheckEqual(env, after, context.get());
253 const auto context =
257 context.get(), 0);
285 const auto context =
289 context.get(), 0);