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.
5#![cfg_attr(
6 not(feature = "all-arch"),
7 allow(
8 dead_code,
9 reason = "this is fine as long as we run CI at least once with the `all-arch` feature enabled"
10 )
11)]
12
13mod abi;
14pub use codegen::{BuiltinFunctions, FuncEnv};
15mod codegen;
16mod frame;
17pub mod isa;
18pub use isa::*;
19mod constant_pool;
20mod masm;
21mod regalloc;
22mod regset;
23mod stack;
24mod visitor;