pub struct PassBuilder { /* private fields */ }
Expand description

Main struct for registering callbacks.

Implementations

Register a new pipeline parsing callback.

These callbacks can be used to parse a single pass name, and populate the given ModulePassManager accordingly.

Register a new pipeline parsing callback.

These callbacks can be used to parse a single pass name, and populate the given FunctionPassManager accordingly.

Register a new callback for analysis registration.

These callbacks can be used to register custom analyses with the given ModuleAnalysisManager.

Register a new callback for analysis registration.

These callbacks can be used to register custom analyses with the given FunctionAnalysisManager.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.