Move IR modules under repr/.

Use the cretonne::repr module as a common namespace for sub-modules defining the
in-memory representation of Cretonn IL.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-19 14:10:30 -07:00
parent d20fe25f33
commit 28069ff2a0
15 changed files with 46 additions and 45 deletions

View File

@@ -1,9 +1,9 @@
//! Helper functions for generating dummy instructions.
use repr::Function;
use entities::{Ebb, Inst, NO_VALUE};
use instructions::{InstructionData, Opcode, VariableArgs, JumpData, BranchData};
use types;
use repr::entities::{Ebb, Inst, NO_VALUE};
use repr::instructions::{InstructionData, Opcode, VariableArgs, JumpData, BranchData};
use repr::types;
pub fn jump(func: &mut Function, dest: Ebb) -> Inst {
func.dfg.make_inst(InstructionData::Jump {