Show / Hide Table of Contents

    Interface IInstructionSelector<TInstruction>

    A base class for instruction selection algorithms. Instruction selectors take IR instructions and turn them into sequences of target-specific instructions.

    Namespace: Flame.Compiler.Target
    Assembly: Flame.Compiler.dll
    Syntax
    public interface IInstructionSelector<TInstruction>
    Type Parameters
    Name Description
    TInstruction

    The type of instructions to produce.

    Methods

    | Improve this Doc View Source

    SelectInstructions(NamedInstruction)

    Selects instructions for a particular IR instruction.

    Declaration
    SelectedInstructions<TInstruction> SelectInstructions(NamedInstruction instruction)
    Parameters
    Type Name Description
    NamedInstruction instruction

    The IR instruction to translate to target-specific instructions.

    Returns
    Type Description
    SelectedInstructions<TInstruction>

    A batch of selected instructions.

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