pub struct GenKillEngine<'lt, A: GenKillAnalysis<'lt>> {
pub transfer_functions: IndexVec<BasicBlockId, GenKillSet<A::SetType>>,
/* private fields */
}Fields§
§transfer_functions: IndexVec<BasicBlockId, GenKillSet<A::SetType>>Implementations§
Source§impl<'lt, A: GenKillAnalysis<'lt>> GenKillEngine<'lt, A>
impl<'lt, A: GenKillAnalysis<'lt>> GenKillEngine<'lt, A>
pub fn new(cfg: &ControlFlowGraph, analysis: &'lt mut A) -> Self
Trait Implementations§
Source§impl<'lt, A: GenKillAnalysis<'lt>> Analysis<'lt> for GenKillEngine<'lt, A>
impl<'lt, A: GenKillAnalysis<'lt>> Analysis<'lt> for GenKillEngine<'lt, A>
type SetType = <A as GenKillAnalysis<'lt>>::SetType
type Direction = <A as GenKillAnalysis<'lt>>::Direction
fn transfer_function( &mut self, in_set: &BitSet<Self::SetType>, out_set: &mut BitSet<Self::SetType>, basic_bock: BasicBlockId, _: &ControlFlowGraph, )
fn max_idx(&self) -> Self::SetType
fn join( &mut self, inout_set: &mut BitSet<Self::SetType>, in_set: &BitSet<Self::SetType>, )
Auto Trait Implementations§
impl<'lt, A> Freeze for GenKillEngine<'lt, A>
impl<'lt, A> RefUnwindSafe for GenKillEngine<'lt, A>where
A: RefUnwindSafe,
impl<'lt, A> Send for GenKillEngine<'lt, A>where
A: Send,
impl<'lt, A> Sync for GenKillEngine<'lt, A>where
A: Sync,
impl<'lt, A> Unpin for GenKillEngine<'lt, A>
impl<'lt, A> !UnwindSafe for GenKillEngine<'lt, A>
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