Lines Matching defs:context
55 std::unique_ptr<IRContext> context =
58 ASSERT_NE(nullptr, context);
60 CFG* cfg = context->cfg();
61 Module* module = context->module();
98 std::unique_ptr<IRContext> context =
101 ASSERT_NE(nullptr, context);
103 CFG* cfg = context->cfg();
104 Module* module = context->module();
141 std::unique_ptr<IRContext> context =
144 ASSERT_NE(nullptr, context);
146 CFG* cfg = context->cfg();
147 Module* module = context->module();
184 std::unique_ptr<IRContext> context =
187 ASSERT_NE(nullptr, context);
189 CFG* cfg = context->cfg();
190 Module* module = context->module();
249 std::unique_ptr<IRContext> context =
252 ASSERT_NE(nullptr, context);
254 BasicBlock* loop_header = context->get_instr_block(8);
257 CFG* cfg = context->cfg();
262 context->module()->ToBinary(&binary, skip_nop);
302 std::unique_ptr<IRContext> context =
305 ASSERT_NE(nullptr, context);
307 CFG* cfg = context->cfg();
308 Module* module = context->module();
311 cfg->ComputeStructuredOrder(function, context->get_instr_block(9),
312 context->get_instr_block(11), &order);
316 std::list<BasicBlock*> expected_result = {context->get_instr_block(9),
317 context->get_instr_block(10),
318 context->get_instr_block(11)};