pub struct PassRegistry { /* private fields */ }Implementations§
Source§impl PassRegistry
impl PassRegistry
pub unsafe fn new(pass_registry: LLVMPassRegistryRef) -> PassRegistry
Sourcepub fn as_mut_ptr(&self) -> LLVMPassRegistryRef
pub fn as_mut_ptr(&self) -> LLVMPassRegistryRef
Acquires the underlying raw pointer belonging to this PassRegistry type.
pub fn get_global() -> PassRegistry
pub fn initialize_core(&self)
pub fn initialize_transform_utils(&self)
pub fn initialize_scalar_opts(&self)
pub fn initialize_obj_carc_opts(&self)
pub fn initialize_vectorization(&self)
pub fn initialize_inst_combine(&self)
pub fn initialize_ipo(&self)
pub fn initialize_instrumentation(&self)
pub fn initialize_analysis(&self)
pub fn initialize_ipa(&self)
pub fn initialize_codegen(&self)
pub fn initialize_target(&self)
pub fn initialize_aggressive_inst_combiner(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PassRegistry
impl RefUnwindSafe for PassRegistry
impl !Send for PassRegistry
impl !Sync for PassRegistry
impl Unpin for PassRegistry
impl UnwindSafe for PassRegistry
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more