pub struct GVNConfig {
pub do_phi_translation: bool,
pub max_depth: usize,
}Expand description
Configuration for the GVN pass.
Fields§
§do_phi_translation: boolEnable phi-translation (propagate value numbers across join points).
When false, GVN is restricted to a single basic block.
max_depth: usizeMaximum expression depth to consider for value numbering.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GVNConfig
impl RefUnwindSafe for GVNConfig
impl Send for GVNConfig
impl Sync for GVNConfig
impl Unpin for GVNConfig
impl UnsafeUnpin for GVNConfig
impl UnwindSafe for GVNConfig
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