Enum llvm_build_utils::Optimisation [] [src]

#[repr(C)]
pub enum Optimisation { O0, O1, O2, O3, }

Codegen optimisation level

Variants

No codegen optimisation

Corresponds to the -O0 option of llc

Some codegen optimisations

Corresponds to the -O1 option of llc

Considerable codegen optimisations

Corresponds to the -O2 option of llc

Heavy codegen optimisations

Corresponds to the -O3 option of llc

Trait Implementations

impl Copy for Optimisation
[src]

impl Clone for Optimisation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Optimisation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Optimisation
[src]

Formats the value using the given formatter.