Lines Matching refs:write
48 f.write(f"static void generate_{tag}(DisasContext *ctx)\n")
49 f.write("{\n")
51 f.write(" Insn *insn G_GNUC_UNUSED = ctx->insn;\n")
54 f.write(" TCGv EA G_GNUC_UNUSED = tcg_temp_new();\n")
64 f.write(f" int {hex_common.imm_name(immlett)} = insn->immed[{i}];\n")
77 f.write(f" emit_{tag}({arguments});\n")
80 f.write(f" fGEN_TCG_{tag}({hex_common.semdict[tag]});\n")
92 f.write(f" gen_helper_{tag}({arguments});\n")
100 f.write("}\n\n")
117 f.write("#ifndef HEXAGON_TCG_FUNCS_H\n")
118 f.write("#define HEXAGON_TCG_FUNCS_H\n\n")
120 f.write('#include "idef-generated-emitter.h.inc"\n\n')
139 f.write("#endif /* HEXAGON_TCG_FUNCS_H */\n")