pub struct InsnSimplifySolver { /* private fields */ }Implementations§
Source§impl InsnSimplifySolver
impl InsnSimplifySolver
pub fn new() -> Self
pub fn run(&mut self, func: &mut Function)
pub fn simplify(&mut self, inserter: &mut InsnInserter<'_>, insn: Insn)
pub fn clear(&mut self)
pub fn replace_insn_with_value( &mut self, inserter: &mut InsnInserter<'_>, insn: Insn, value: Value, )
pub fn replace_insn_with_data( &mut self, inserter: &mut InsnInserter<'_>, insn: Insn, data: InsnData, )
Trait Implementations§
Source§impl Debug for InsnSimplifySolver
impl Debug for InsnSimplifySolver
Auto Trait Implementations§
impl Freeze for InsnSimplifySolver
impl RefUnwindSafe for InsnSimplifySolver
impl Send for InsnSimplifySolver
impl Sync for InsnSimplifySolver
impl Unpin for InsnSimplifySolver
impl UnwindSafe for InsnSimplifySolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more