Lines Matching defs:context

43 void Match(const std::string& checks, IRContext* context) {
48 context->module()->ToBinary(&bin, true);
117 std::unique_ptr<IRContext> context =
120 Module* module = context->module();
124 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
130 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id);
132 InstructionBuilder builder(context.get(), &*f.begin());
483 std::unique_ptr<IRContext> context =
486 Module* module = context->module();
490 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
494 InstructionBuilder builder(context.get(), &*f.begin());
530 Match(check, context.get());
537 std::unique_ptr<IRContext> context =
540 Module* module = context->module();
544 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
548 InstructionBuilder builder(context.get(), &*f.begin());
585 Match(check, context.get());
593 std::unique_ptr<IRContext> context =
596 Module* module = context->module();
600 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
604 InstructionBuilder builder(context.get(), &*f.begin());
609 context->get_def_use_mgr()->GetDef(22));
639 Match(check, context.get());
646 std::unique_ptr<IRContext> context =
649 Module* module = context->module();
653 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
657 InstructionBuilder builder(context.get(), &*f.begin());
662 context->get_def_use_mgr()->GetDef(22));
693 Match(check, context.get());
755 std::unique_ptr<IRContext> context =
758 Module* module = context->module();
762 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
766 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16);
800 Match(check, context.get());
807 std::unique_ptr<IRContext> context =
810 Module* module = context->module();
814 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
818 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16);
854 Match(check, context.get());
908 std::unique_ptr<IRContext> context =
911 Module* module = context->module();
915 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
918 InstructionBuilder builder(context.get(), &*f.begin());
950 Match(check, context.get());
957 std::unique_ptr<IRContext> context =
960 Module* module = context->module();
964 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
968 InstructionBuilder builder(context.get(), &*f.begin());
1002 Match(check, context.get());
1080 std::unique_ptr<IRContext> context =
1083 Module* module = context->module();
1087 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
1091 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15);
1125 Match(check, context.get());
1132 std::unique_ptr<IRContext> context =
1135 Module* module = context->module();
1139 LoopDescriptor& ld = *context->GetLoopDescriptor(&f);
1143 Instruction* loop_count = context->get_def_use_mgr()->GetDef(15);
1179 Match(check, context.get());