Struct falcon::il::RefProgramLocation [] [src]

pub struct RefProgramLocation<'p> { /* fields omitted */ }

A location applied to a Program.

Methods

impl<'p> RefProgramLocation<'p>
[src]

[src]

Create a new RefProgramLocation in the given Program.

[src]

Create a new RefProgramLocation in the given Program by finding the first Instruction with the given address.

[src]

Get the function for this RefProgramLocation.

[src]

Get the RefFunctionLocation for this RefProgramLocation

[src]

If this RefProgramLocation is referencing an Instruction, get that Instruction.

[src]

If this RefProgramLocation is referencing an Instruction which has an address set, return that address.

[src]

Apply this RefProgramLocation to another Program.

This works by locating the location in the other Program based on Function, Block, and Instruction indices.

[src]

Advance the RefProgramLocation forward.

This does not follow targets of Operation::Brc.

[src]

Advance the RefProgramLocation backward.

This does not follow targets of Operation::Brc.

Trait Implementations

impl<'p> Clone for RefProgramLocation<'p>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'p> Debug for RefProgramLocation<'p>
[src]

[src]

Formats the value using the given formatter.

impl<'p> Eq for RefProgramLocation<'p>
[src]

impl<'p> Hash for RefProgramLocation<'p>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'p> Ord for RefProgramLocation<'p>
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl<'p> PartialEq for RefProgramLocation<'p>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'p> PartialOrd for RefProgramLocation<'p>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'f> Display for RefProgramLocation<'f>
[src]

[src]

Formats the value using the given formatter. Read more