Sha256: 43a2f3b81ba5c921dc6e053a5b49bacf826b8373e815b89004edb862764f2174
Contents?: true
Size: 932 Bytes
Versions: 17
Compression:
Stored size: 932 Bytes
Contents
//! Lowering rules for Riscv64. use crate::ir::Inst as IRInst; use crate::isa::riscv64::inst::*; use crate::isa::riscv64::Riscv64Backend; use crate::machinst::lower::*; use crate::machinst::*; pub mod isle; //============================================================================= // Lowering-backend trait implementation. impl LowerBackend for Riscv64Backend { type MInst = Inst; fn lower(&self, ctx: &mut Lower<Inst>, ir_inst: IRInst) -> Option<InstOutput> { isle::lower(ctx, self, ir_inst) } fn lower_branch( &self, ctx: &mut Lower<Inst>, ir_inst: IRInst, targets: &[MachLabel], ) -> Option<()> { isle::lower_branch(ctx, self, ir_inst, targets) } fn maybe_pinned_reg(&self) -> Option<Reg> { // pinned register is a register that you want put anything in it. // right now riscv64 not support this feature. None } }
Version data entries
17 entries across 17 versions & 1 rubygems