Struct inkwell::passes::PassManager
source · pub struct PassManager<T> { /* private fields */ }
Expand description
A manager for running optimization and simplification passes. Much of the documentation for specific passes is directly from the LLVM documentation.
Implementations§
source§impl PassManager<FunctionValue<'_>>
impl PassManager<FunctionValue<'_>>
sourcepub fn as_mut_ptr(&self) -> LLVMPassManagerRef
pub fn as_mut_ptr(&self) -> LLVMPassManagerRef
Acquires the underlying raw pointer belonging to this PassManager<T>
type.
pub fn initialize(&self) -> bool
pub fn finalize(&self) -> bool
source§impl<T: PassManagerSubType> PassManager<T>
impl<T: PassManagerSubType> PassManager<T>
Trait Implementations§
source§impl<T: Debug> Debug for PassManager<T>
impl<T: Debug> Debug for PassManager<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for PassManager<T>where
T: RefUnwindSafe,
impl<T> !Send for PassManager<T>
impl<T> !Sync for PassManager<T>
impl<T> Unpin for PassManager<T>where
T: Unpin,
impl<T> UnwindSafe for PassManager<T>where
T: UnwindSafe,
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