Struct Options

Source
pub struct Options {
    pub ptr: uintptr_t,
    pub should_free_on_drop: bool,
}
Expand description

Wraps isl_options.

Fields§

§ptr: uintptr_t§should_free_on_drop: bool

Implementations§

Source§

impl Options

Source

pub fn get_schedule_separate_components(ctx: &Context) -> i32

Wraps isl_options_get_schedule_separate_components.

Source

pub fn set_schedule_split_scaled(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_split_scaled.

Source

pub fn get_ast_print_macro_once(ctx: &Context) -> i32

Wraps isl_options_get_ast_print_macro_once.

Source

pub fn get_schedule_algorithm(ctx: &Context) -> i32

Wraps isl_options_get_schedule_algorithm.

Source

pub fn get_schedule_treat_coalescing(ctx: &Context) -> i32

Wraps isl_options_get_schedule_treat_coalescing.

Source

pub fn set_schedule_max_coefficient(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_max_coefficient.

Source

pub fn set_schedule_separate_components(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_separate_components.

Source

pub fn get_schedule_serialize_sccs(ctx: &Context) -> i32

Wraps isl_options_get_schedule_serialize_sccs.

Source

pub fn free(self)

Wraps isl_options_free.

Source

pub fn set_ast_iterator_type(ctx: &Context, val: &str) -> Stat

Wraps isl_options_set_ast_iterator_type.

Source

pub fn set_schedule_treat_coalescing(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_treat_coalescing.

Source

pub fn set_pip_symmetry(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_pip_symmetry.

Source

pub fn set_tile_shift_point_loops(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_tile_shift_point_loops.

Source

pub fn get_tile_shift_point_loops(ctx: &Context) -> i32

Wraps isl_options_get_tile_shift_point_loops.

Source

pub fn get_bound(ctx: &Context) -> i32

Wraps isl_options_get_bound.

Source

pub fn set_schedule_serialize_sccs(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_serialize_sccs.

Source

pub fn set_schedule_maximize_band_depth(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_maximize_band_depth.

Source

pub fn get_coalesce_preserve_locals(ctx: &Context) -> i32

Wraps isl_options_get_coalesce_preserve_locals.

Source

pub fn set_ast_print_macro_once(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_ast_print_macro_once.

Source

pub fn set_gbr_only_first(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_gbr_only_first.

Source

pub fn set_on_error(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_on_error.

Source

pub fn set_schedule_outer_coincidence(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_outer_coincidence.

Source

pub fn get_schedule_max_coefficient(ctx: &Context) -> i32

Wraps isl_options_get_schedule_max_coefficient.

Source

pub fn set_ast_always_print_block(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_ast_always_print_block.

Source

pub fn set_schedule_algorithm(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_algorithm.

Source

pub fn get_ast_iterator_type(ctx: &Context) -> &str

Wraps isl_options_get_ast_iterator_type.

Source

pub fn new_with_defaults() -> Options

Wraps isl_options_new_with_defaults.

Source

pub fn get_ast_always_print_block(ctx: &Context) -> i32

Wraps isl_options_get_ast_always_print_block.

Source

pub fn set_schedule_maximize_coincidence(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_maximize_coincidence.

Source

pub fn get_on_error(ctx: &Context) -> i32

Wraps isl_options_get_on_error.

Source

pub fn get_schedule_max_constant_term(ctx: &Context) -> i32

Wraps isl_options_get_schedule_max_constant_term.

Source

pub fn get_coalesce_bounded_wrapping(ctx: &Context) -> i32

Wraps isl_options_get_coalesce_bounded_wrapping.

Source

pub fn set_schedule_whole_component(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_whole_component.

Source

pub fn get_pip_symmetry(ctx: &Context) -> i32

Wraps isl_options_get_pip_symmetry.

Source

pub fn set_tile_scale_tile_loops(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_tile_scale_tile_loops.

Source

pub fn get_tile_scale_tile_loops(ctx: &Context) -> i32

Wraps isl_options_get_tile_scale_tile_loops.

Source

pub fn get_schedule_carry_self_first(ctx: &Context) -> i32

Wraps isl_options_get_schedule_carry_self_first.

Source

pub fn set_coalesce_bounded_wrapping(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_coalesce_bounded_wrapping.

Source

pub fn get_schedule_split_scaled(ctx: &Context) -> i32

Wraps isl_options_get_schedule_split_scaled.

Source

pub fn get_gbr_only_first(ctx: &Context) -> i32

Wraps isl_options_get_gbr_only_first.

Source

pub fn get_schedule_whole_component(ctx: &Context) -> i32

Wraps isl_options_get_schedule_whole_component.

Source

pub fn get_schedule_outer_coincidence(ctx: &Context) -> i32

Wraps isl_options_get_schedule_outer_coincidence.

Source

pub fn get_schedule_maximize_coincidence(ctx: &Context) -> i32

Wraps isl_options_get_schedule_maximize_coincidence.

Source

pub fn set_schedule_max_constant_term(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_max_constant_term.

Source

pub fn get_ast_print_outermost_block(ctx: &Context) -> i32

Wraps isl_options_get_ast_print_outermost_block.

Source

pub fn set_coalesce_preserve_locals(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_coalesce_preserve_locals.

Source

pub fn get_schedule_maximize_band_depth(ctx: &Context) -> i32

Wraps isl_options_get_schedule_maximize_band_depth.

Source

pub fn set_ast_print_outermost_block(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_ast_print_outermost_block.

Source

pub fn set_schedule_carry_self_first(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_schedule_carry_self_first.

Source

pub fn set_bound(ctx: &Context, val: i32) -> Stat

Wraps isl_options_set_bound.

Source

pub fn do_not_free_on_drop(&mut self)

Does not call isl_options_free() on being dropped. (For internal use only.)

Trait Implementations§

Source§

impl Drop for Options

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.