Path: blob/main/cranelift/codegen/src/isa/pulley_shared/lower.rs
1693 views
//! Lowering backend for Pulley.12pub mod isle;34use super::{PulleyBackend, PulleyTargetKind, inst::*};5use crate::{6ir,7machinst::{lower::*, *},8};910impl<P> LowerBackend for PulleyBackend<P>11where12P: PulleyTargetKind,13{14type MInst = InstAndKind<P>;1516fn lower(&self, ctx: &mut Lower<Self::MInst>, ir_inst: ir::Inst) -> Option<InstOutput> {17isle::lower(ctx, self, ir_inst)18}1920fn lower_branch(21&self,22ctx: &mut Lower<Self::MInst>,23ir_inst: ir::Inst,24targets: &[MachLabel],25) -> Option<()> {26isle::lower_branch(ctx, self, ir_inst, targets)27}2829fn maybe_pinned_reg(&self) -> Option<Reg> {30// Pulley does not support this feature right now.31None32}3334type FactFlowState = ();35}363738