Expand description
Data structure, parser and ir generator for ir statements.
Re-exports§
pub use branch::Branch;
pub use calculate::BinaryCalculate;
pub use calculate::UnaryCalculate;
pub use call::Call;
pub use load_field::LoadField;
pub use phi::Phi;
Modules§
- alloca 🔒Data structure, parser and ir generator for
alloca
statement. - Data structure, parser and ir generator for
br
statement. - Data structure, parser and ir generator for calculations (unary or binary).
- Data structure, parser and ir generator for
call
statement. - jump 🔒Data structure, parser and ir generator for
j
statement. - load 🔒Data structure, parser and ir generator for
load
statement. - Data structure, parser and ir generator for
loadfield
statement. - Data structure, parser and ir generator for
phi
statement. - ret 🔒Data structure, parser and ir generator for
ret
statement. - Data structure, parser and ir generator for
setfield
statement. - store 🔒Data structure, parser and ir generator for
store
statement.
Macros§
- variant 🔒
Structs§
Alloca
instruction.Jump
instruction.Load
instruction.Ret
instruction.SetField
instruction.Store
instruction.
Enums§
- A statement in a function.
Traits§
- This trait should be implemented for all IRStatements
Functions§
- Parse ir code to get a
IRStatement
.