winch_codegen/lib.rs
1//! Code generation library for Winch.
2
3// Unless this library is compiled with `all-arch`, the rust compiler
4// is going to emit dead code warnings. This directive is fine as long
5// as we configure to run CI at least once with the `all-arch` feature
6// enabled.
7#![cfg_attr(not(feature = "all-arch"), allow(dead_code))]
8
9mod abi;
10pub use codegen::{BuiltinFunctions, FuncEnv};
11mod codegen;
12mod frame;
13pub mod isa;
14pub use isa::*;
15mod masm;
16mod regalloc;
17mod regset;
18mod stack;
19mod visitor;