runmat-mir 0.5.2

Mid-level IR and analysis scaffolding for RunMat
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{MirIndexing, MirLocalId, MirOperand};
use runmat_hir::{BindingId, MemberName};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum MirPlace {
    Local(MirLocalId),
    Binding(BindingId),
    Member(Box<MirPlace>, MemberName),
    DynamicMember(Box<MirPlace>, MirOperand),
    Index(Box<MirPlace>, MirIndexing),
}