Implement legalize_signature for RISC-V.

Add an abi module with code that is probably useful to all ISAs when
implementing this function.

Add a unit() method to RegClassData which can be used to index the
register units in a class.
This commit is contained in:
Jakob Stoklund Olesen
2017-03-02 16:01:56 -08:00
parent 07f459fb93
commit 42e7021865
7 changed files with 180 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ pub mod settings;
pub mod sparse_map;
pub mod verifier;
mod abi;
mod constant_hash;
mod context;
mod legalizer;