Show / Hide Table of Contents

    Class InstructionOrdering

    Captures the must-run-before relation between instructions. All instruction orderings that respect this relation are legal and computationally equivalent.

    Inheritance
    System.Object
    InstructionOrdering
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.Compiler.Analysis
    Assembly: Flame.Compiler.dll
    Syntax
    public abstract class InstructionOrdering

    Methods

    | Improve this Doc View Source

    MustRunBefore(ValueTag, ValueTag)

    Tells if the first instruction must run before the second instruction, assuming that both instructions are defined by the same basic block.

    Declaration
    public abstract bool MustRunBefore(ValueTag first, ValueTag second)
    Parameters
    Type Name Description
    ValueTag first

    The value tag of the first instruction to inspect.

    ValueTag second

    The value tag of the second instruction to inspect.

    Returns
    Type Description
    System.Boolean

    true if the first instruction must run before the second instruction runs; otherwise, false.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX