Struct rustc_mir::dataflow::DataflowBuilder [−][src]
pub(crate) struct DataflowBuilder<'a, 'tcx: 'a, BD> where
BD: BitDenotation, { node_id: NodeId, flow_state: DataflowAnalysis<'a, 'tcx, BD>, print_preflow_to: Option<String>, print_postflow_to: Option<String>, }
🔬 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
node_id: NodeId
🔬 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?
flow_state: DataflowAnalysis<'a, 'tcx, BD>
🔬 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?
print_preflow_to: Option<String>
🔬 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?
print_postflow_to: Option<String>
🔬 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?
Methods
impl<'a, 'tcx: 'a, BD> DataflowBuilder<'a, 'tcx, BD> where
BD: BitDenotation,
[src]
impl<'a, 'tcx: 'a, BD> DataflowBuilder<'a, 'tcx, BD> where
BD: BitDenotation,
fn pre_dataflow_instrumentation<P>(&self, p: P) -> Result<()> where
P: Fn(&BD, BD::Idx) -> DebugFormatted,
[src]
fn pre_dataflow_instrumentation<P>(&self, p: P) -> Result<()> where
P: Fn(&BD, BD::Idx) -> DebugFormatted,
🔬 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 post_dataflow_instrumentation<P>(&self, p: P) -> Result<()> where
P: Fn(&BD, BD::Idx) -> DebugFormatted,
[src]
fn post_dataflow_instrumentation<P>(&self, p: P) -> Result<()> where
P: Fn(&BD, BD::Idx) -> DebugFormatted,
🔬 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<'a, 'tcx: 'a, BD> MirWithFlowState<'tcx> for DataflowBuilder<'a, 'tcx, BD> where
'tcx: 'a,
BD: BitDenotation,
[src]
impl<'a, 'tcx: 'a, BD> MirWithFlowState<'tcx> for DataflowBuilder<'a, 'tcx, BD> where
'tcx: 'a,
BD: BitDenotation,
type BD = BD
🔬 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 node_id(&self) -> NodeId
[src]
fn node_id(&self) -> NodeId
🔬 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 mir(&self) -> &Mir<'tcx>
[src]
fn mir(&self) -> &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 flow_state(&self) -> &DataflowState<Self::BD>
[src]
fn flow_state(&self) -> &DataflowState<Self::BD>
🔬 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?
impl<'a, 'tcx: 'a, BD> Dataflow<BD> for DataflowBuilder<'a, 'tcx, BD> where
BD: BitDenotation,
[src]
impl<'a, 'tcx: 'a, BD> Dataflow<BD> for DataflowBuilder<'a, 'tcx, BD> where
BD: BitDenotation,
fn dataflow<P>(&mut self, p: P) where
P: Fn(&BD, BD::Idx) -> DebugFormatted,
[src]
fn dataflow<P>(&mut self, p: P) where
P: Fn(&BD, BD::Idx) -> DebugFormatted,
🔬 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?
Sets up and runs the dataflow problem, using p
to render results if implementation so chooses. Read more
fn build_sets(&mut self)
[src]
fn build_sets(&mut self)
🔬 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?
Sets up the entry, gen, and kill sets for this instance of a dataflow problem.
fn propagate(&mut self)
[src]
fn propagate(&mut self)
🔬 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?
Finds a fixed-point solution to this instance of a dataflow problem.
Auto Trait Implementations
impl<'a, 'tcx, BD> !Send for DataflowBuilder<'a, 'tcx, BD>
impl<'a, 'tcx, BD> !Send for DataflowBuilder<'a, 'tcx, BD>
impl<'a, 'tcx, BD> !Sync for DataflowBuilder<'a, 'tcx, BD>
impl<'a, 'tcx, BD> !Sync for DataflowBuilder<'a, 'tcx, BD>