aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/Graph/IBlock.cs
blob: 2e5d71322469dfd08b811575eefc424550885ee2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.Cpu.LightningJit.Graph
{
    interface IBlock
    {
        int Index { get; }

        int PredecessorsCount { get; }
        int SuccessorsCount { get; }

        IBlock GetSuccessor(int index);
        IBlock GetPredecessor(int index);

        RegisterUse ComputeUseMasks();
        bool EndsWithContextLoad();
        bool EndsWithContextStore();
    }
}