Enum llvm_plugin::PreservedAnalyses
source · [−]#[repr(C)]
pub enum PreservedAnalyses {
All,
None,
}
Expand description
Enum specifying whether analyses on an IR unit are not preserved due to the modification of such unit by a transformation pass.
Variants
All
This variant hints the pass manager that all the analyses are preserved, so there is no need to re-execute analysis passes.
Use this variant when a transformation pass doesn’t modify some IR unit.
None
This variant hints the pass manager that all the analyses are should be re-executed.
Use this variant when a transformation pass modifies some IR unit.
Trait Implementations
sourceimpl Clone for PreservedAnalyses
impl Clone for PreservedAnalyses
sourcefn clone(&self) -> PreservedAnalyses
fn clone(&self) -> PreservedAnalyses
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for PreservedAnalyses
Auto Trait Implementations
impl RefUnwindSafe for PreservedAnalyses
impl Send for PreservedAnalyses
impl Sync for PreservedAnalyses
impl Unpin for PreservedAnalyses
impl UnwindSafe for PreservedAnalyses
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more