vyre-foundation 0.4.1

Foundation layer: IR, type system, memory model, wire format. Zero application semantics. Part of the vyre GPU compiler.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::ir::Expr;
use crate::ir::Ident;
use crate::transform::inline::InlineCtx;
use rustc_hash::FxHashMap as HashMap;

pub(crate) struct CalleeExpander<'a> {
    pub(crate) ctx: &'a mut InlineCtx,
    pub(crate) prefix: String,
    pub(crate) vars: HashMap<Ident, String>,
    pub(crate) input_args: HashMap<Ident, Expr>,
    pub(crate) output_name: Ident,
    pub(crate) result_name: String,
    pub(crate) saw_output: bool,
}