[][src]Struct llhd::analysis::TemporalRegionGraph

pub struct TemporalRegionGraph { /* fields omitted */ }

A data structure that temporally groups blocks and instructions.

Implementations

impl TemporalRegionGraph[src]

pub fn new(unit: &Unit<'_>) -> Self[src]

👎 Deprecated since 0.13.0:

use unit.trg() instead

Compute the TRG of a process.

pub fn is_head(&self, bb: Block) -> bool[src]

Check if a block is a temporal head block.

pub fn is_tail(&self, bb: Block) -> bool[src]

Check if a block is a temporal tail block.

pub fn regions(&self) -> impl Iterator<Item = &TemporalRegionData>[src]

Get the temporal regions in the graph.

Trait Implementations

impl Debug for TemporalRegionGraph[src]

impl Index<Block> for TemporalRegionGraph[src]

type Output = TemporalRegion

The returned type after indexing.

impl Index<TemporalRegion> for TemporalRegionGraph[src]

type Output = TemporalRegionData

The returned type after indexing.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.