Add repr.rs module containing the representation of functions.
A function owns instructions and extended basic blocks. References to these entities are implemented as opaque structs indexing into the functions internal tables. This avoids fighting Rust's ownership checking and it also makes references 4 bytes on all platforms. SSA values are identified similarly, but with an optimization for the first value produced by an instruction. Very few instructions will produce more than one value, and there is an extended value table for those.
This commit is contained in:
@@ -7,3 +7,4 @@
|
||||
|
||||
pub mod types;
|
||||
pub mod immediates;
|
||||
pub mod repr;
|
||||
|
||||
Reference in New Issue
Block a user