Rename the 'repr' module to 'ir'.

This module and its submodules define the Intermidiate Representation of the
Cretonne IL.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-22 09:34:28 -07:00
parent 367752be1d
commit 38815dcca3
15 changed files with 45 additions and 45 deletions

View File

@@ -22,9 +22,9 @@
//! Here Ebb1 and Ebb2 would each have a single predecessor denoted as (Ebb0, `brz vx, Ebb1`)
//! and (Ebb0, `jmp Ebb2`) respectively.
use repr::Function;
use repr::entities::{Inst, Ebb};
use repr::instructions::InstructionData;
use ir::Function;
use ir::entities::{Inst, Ebb};
use ir::instructions::InstructionData;
use entity_map::EntityMap;
/// A basic block denoted by its enclosing Ebb and last instruction.
@@ -158,7 +158,7 @@ impl<'a> Iterator for CFGPredecessorsIter<'a> {
#[cfg(test)]
mod tests {
use super::*;
use repr::Function;
use ir::Function;
use test_utils::make_inst;