Struct rustc_mir::transform::remove_noop_landing_pads::RemoveNoopLandingPads [−][src]
pub struct RemoveNoopLandingPads;
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A pass that removes no-op landing pads and replaces jumps to them with
None
. This is important because otherwise LLVM generates terrible
code for these.
Methods
impl RemoveNoopLandingPads
[src]
impl RemoveNoopLandingPads
fn is_nop_landing_pad(
&self,
bb: BasicBlock,
mir: &Mir,
nop_landing_pads: &BitVector
) -> bool
[src]
fn is_nop_landing_pad(
&self,
bb: BasicBlock,
mir: &Mir,
nop_landing_pads: &BitVector
) -> bool
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn remove_nop_landing_pads(&self, mir: &mut Mir)
[src]
fn remove_nop_landing_pads(&self, mir: &mut Mir)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl MirPass for RemoveNoopLandingPads
[src]
impl MirPass for RemoveNoopLandingPads
fn run_pass<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
_src: MirSource,
mir: &mut Mir<'tcx>
)
[src]
fn run_pass<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
_src: MirSource,
mir: &mut Mir<'tcx>
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn name<'a>(&'a self) -> Cow<'a, str>
[src]
fn name<'a>(&'a self) -> Cow<'a, str>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl Send for RemoveNoopLandingPads
impl Send for RemoveNoopLandingPads
impl Sync for RemoveNoopLandingPads
impl Sync for RemoveNoopLandingPads