| 1038 | } |
| 1039 | |
| 1040 | static unique_ptr<Instr> parse_icmp(string_view name) { |
| 1041 | // icmp cond ty %a, &b |
| 1042 | auto cond = parse_icmp_cond(); |
| 1043 | auto &ty = parse_type(); |
| 1044 | auto &a = parse_operand(ty); |
| 1045 | parse_comma(); |
| 1046 | auto &b = parse_operand(ty); |
| 1047 | return make_unique<ICmp>(*int_types[1].get(), string(name), cond, a, b); |
| 1048 | } |
| 1049 | |
| 1050 | static unique_ptr<Instr> parse_fcmp(string_view name) { |
| 1051 | // fcmp cond ty %a, &b |
no test coverage detected