// ---
// tags: trident, rust
// crystal-type: source
// crystal-domain: comp
// ---
//! RegisterLowering: consumes `&[LIROp]` and produces target machine code.
//!
//! Each register-machine target implements `RegisterLowering` to perform
//! instruction selection, register allocation, and binary encoding.
//!
//! This is the register-machine counterpart of `tir::lower::StackLowering`,
//! which produces assembly text for stack machines.
use LIROp;
/// Lowers LIR operations into target machine code (binary).
/// Create a register-lowering backend for the given target name.
Homonyms
cyb/evy/forks/naga/src/back/hlsl/mod.rs
struct Baz { m: mat3x2, } struct Baz { float2 m_0; float2 m_1; float2 m_2; }; float3x2 GetMatmOnBaz(Baz obj) { return float3x2(obj.m_0, obj.m_1, obj.m_2); }