Returns the constructor used to convert an `AssemblerOutput` into the type returned by [`Self::result_ty`].
(&self)
| 331 | /// Returns the constructor used to convert an `AssemblerOutput` into the |
| 332 | /// type returned by [`Self::result_ty`]. |
| 333 | fn conversion_constructor(&self) -> &'static str { |
| 334 | match self { |
| 335 | IsleConstructor::NoReturnSideEffect | IsleConstructor::RetMemorySideEffect => { |
| 336 | "defer_side_effect" |
| 337 | } |
| 338 | IsleConstructor::RetGpr => "emit_ret_gpr", |
| 339 | IsleConstructor::RetXmm => "emit_ret_xmm", |
| 340 | IsleConstructor::RetValueRegs => "emit_ret_value_regs", |
| 341 | IsleConstructor::ProducesFlagsSideEffect => "asm_produce_flags_side_effect", |
| 342 | IsleConstructor::ConsumesFlagsReturnsGpr => "asm_consumes_flags_returns_gpr", |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | /// Returns the suffix used in the ISLE constructor name. |
| 347 | fn suffix(&self) -> &'static str { |
no outgoing calls
no test coverage detected