Skip to main content

oxilean_codegen/opt_licm/
licmconfigext_traits.rs

1//! # LicmConfigExt - Trait Implementations
2//!
3//! This module contains trait implementations for `LicmConfigExt`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use crate::lcnf::*;
12
13use super::types::LicmConfigExt;
14
15impl Default for LicmConfigExt {
16    fn default() -> Self {
17        Self {
18            enable_hoist: true,
19            enable_sink: true,
20            enable_speculative_hoist: false,
21            max_hoist_cost: 100,
22            min_trip_count: 2,
23            hoist_stores: false,
24            hoist_calls: false,
25            max_loop_depth: 16,
26        }
27    }
28}