Add program points.

Program points are used to represent a linear position in a function.
Thus will be used for the live ranges of values.
This commit is contained in:
Jakob Stoklund Olesen
2016-12-20 15:50:29 -08:00
parent f9af88c49e
commit 3568b93b84
2 changed files with 99 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ mod funcname;
mod extfunc;
mod builder;
mod valueloc;
mod progpoint;
pub use ir::funcname::FunctionName;
pub use ir::extfunc::{Signature, ArgumentType, ArgumentExtension, ExtFuncData};
@@ -27,3 +28,4 @@ pub use ir::dfg::{DataFlowGraph, ValueDef};
pub use ir::layout::{Layout, Cursor};
pub use ir::function::Function;
pub use ir::builder::InstBuilder;
pub use ir::progpoint::{ProgramPoint, ProgramOrder};