Struct rustc_mir::dataflow::AllSets [−][src]
pub struct AllSets<E: Idx> { bits_per_block: usize, words_per_block: usize, gen_sets: Bits<E>, kill_sets: Bits<E>, on_entry_sets: Bits<E>, }
🔬 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?
Fields
bits_per_block: usize
🔬 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?
Analysis bitwidth for each block.
words_per_block: usize
🔬 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?
Number of words associated with each block entry
equal to bits_per_block / (mem::size_of::
gen_sets: Bits<E>
🔬 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?
For each block, bits generated by executing the statements in the block. (For comparison, the Terminator for each block is handled in a flow-specific manner during propagation.)
kill_sets: Bits<E>
🔬 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?
For each block, bits killed by executing the statements in the block. (For comparison, the Terminator for each block is handled in a flow-specific manner during propagation.)
on_entry_sets: Bits<E>
🔬 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?
For each block, bits valid on entry to the block.
Methods
impl<E: Idx> AllSets<E>
[src]
impl<E: Idx> AllSets<E>
pub fn bits_per_block(&self) -> usize
[src]
pub fn bits_per_block(&self) -> usize
🔬 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?
pub fn for_block(&mut self, block_idx: usize) -> BlockSets<E>
[src]
pub fn for_block(&mut self, block_idx: usize) -> BlockSets<E>
🔬 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 lookup_set_for<'a>(
&self,
sets: &'a Bits<E>,
block_idx: usize
) -> &'a IdxSet<E>
[src]
fn lookup_set_for<'a>(
&self,
sets: &'a Bits<E>,
block_idx: usize
) -> &'a IdxSet<E>
🔬 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?
pub fn gen_set_for(&self, block_idx: usize) -> &IdxSet<E>
[src]
pub fn gen_set_for(&self, block_idx: usize) -> &IdxSet<E>
🔬 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?
pub fn kill_set_for(&self, block_idx: usize) -> &IdxSet<E>
[src]
pub fn kill_set_for(&self, block_idx: usize) -> &IdxSet<E>
🔬 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?
pub fn on_entry_set_for(&self, block_idx: usize) -> &IdxSet<E>
[src]
pub fn on_entry_set_for(&self, block_idx: usize) -> &IdxSet<E>
🔬 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?