| ... | ... | @@ -7727,7 +7727,14 @@ pub fn printUnbuffered( |
| 7727 | 7727 | }, |
| 7728 | 7728 | .fneg, |
| 7729 | 7729 | .@"fneg fast", |
| 7730 | | .ret, |
| 7730 | => |tag| { |
| 7731 | const val: Value = @enumFromInt(instruction.data); |
| 7732 | try writer.print(" %{} = {s} {%}\n", .{ |
| 7733 | instruction_index.name(&function).fmt(self), |
| 7734 | @tagName(tag), |
| 7735 | val.fmt(function_index, self), |
| 7736 | }); |
| 7737 | }, |
| 7731 | 7738 | .@"llvm.ceil.", |
| 7732 | 7739 | .@"llvm.cos.", |
| 7733 | 7740 | .@"llvm.exp.", |
| ... | ... | @@ -7746,8 +7753,12 @@ pub fn printUnbuffered( |
| 7746 | 7753 | .@"llvm.ctpop.", |
| 7747 | 7754 | => |tag| { |
| 7748 | 7755 | const val: Value = @enumFromInt(instruction.data); |
| 7749 | | try writer.print(" {s} {%}\n", .{ |
| 7756 | const ty = val.typeOf(function_index, self); |
| 7757 | try writer.print(" %{} = call {%} @{s}{m}({%})\n", .{ |
| 7758 | instruction_index.name(&function).fmt(self), |
| 7759 | ty.fmt(self), |
| 7750 | 7760 | @tagName(tag), |
| 7761 | ty.fmt(self), |
| 7751 | 7762 | val.fmt(function_index, self), |
| 7752 | 7763 | }); |
| 7753 | 7764 | }, |
| ... | ... | @@ -7872,6 +7883,13 @@ pub fn printUnbuffered( |
| 7872 | 7883 | } |
| 7873 | 7884 | try writer.writeByte('\n'); |
| 7874 | 7885 | }, |
| 7886 | .ret => |tag| { |
| 7887 | const val: Value = @enumFromInt(instruction.data); |
| 7888 | try writer.print(" {s} {%}\n", .{ |
| 7889 | @tagName(tag), |
| 7890 | val.fmt(function_index, self), |
| 7891 | }); |
| 7892 | }, |
| 7875 | 7893 | .@"ret void", |
| 7876 | 7894 | .@"unreachable", |
| 7877 | 7895 | => |tag| try writer.print(" {s}\n", .{@tagName(tag)}), |
| ... | ... | @@ -7966,13 +7984,14 @@ pub fn printUnbuffered( |
| 7966 | 7984 | extra.type.fmt(self), |
| 7967 | 7985 | }); |
| 7968 | 7986 | }, |
| 7969 | | .@"llvm.fma." => { |
| 7987 | .@"llvm.fma." => |tag| { |
| 7970 | 7988 | const extra = |
| 7971 | 7989 | function.extraData(Function.Instruction.FusedMultiplyAdd, instruction.data); |
| 7972 | 7990 | const ty = instruction_index.typeOf(function_index, self); |
| 7973 | | try writer.print(" %{} = call {%} @llvm.fma.{m}({%}, {%}, {%})\n", .{ |
| 7991 | try writer.print(" %{} = call {%} @{s}{m}({%}, {%}, {%})\n", .{ |
| 7974 | 7992 | instruction_index.name(&function).fmt(self), |
| 7975 | 7993 | ty.fmt(self), |
| 7994 | @tagName(tag), |
| 7976 | 7995 | ty.fmt(self), |
| 7977 | 7996 | extra.a.fmt(function_index, self), |
| 7978 | 7997 | extra.b.fmt(function_index, self), |