Lines Matching refs:ins
30 #include <assembly-ins.h>
60 void Transform(pandasm::Ins *ins) const override
62 ins->opcode = pandasm::Opcode::INVALID;
63 ins->set_label = true;
64 ins->label = id_;
219 void Transform(pandasm::Ins* ins) const override
221 ins->opcode = pandasm::Opcode::<%= node_kind %>;
223 ins->regs.reserve(<%= op_map['reg'].length %>);
226 ins->imms.reserve(<%= op_map['imm'].length %>);
229 ins->ids.reserve(<%= op_map['str'].length + op_map['lbl'].length %>);
232 ins->regs.emplace_back(<%= reg %>);
235 ins->imms.emplace_back(<%= imm %>);
238 ins->ids.emplace_back(<%= str %>.Mutf8());
241 ins->ids.emplace_back(<%= lbl %>->Id());