Rename the 'cfg' module to 'flowgraph'.

The 'cfg' name was easy to confuse with 'configuration'.
This commit is contained in:
Jakob Stoklund Olesen
2017-03-21 15:33:23 -07:00
parent 22334bcb54
commit f84e218a93
10 changed files with 24 additions and 24 deletions

View File

@@ -5,12 +5,12 @@
//! avoids allocating data structures independently for each function begin compiled.
use dominator_tree::DominatorTree;
use flowgraph::ControlFlowGraph;
use ir::Function;
use isa::TargetIsa;
use regalloc::coloring::Coloring;
use regalloc::live_value_tracker::LiveValueTracker;
use regalloc::liveness::Liveness;
use isa::TargetIsa;
use cfg::ControlFlowGraph;
/// Persistent memory allocations for register allocation.
pub struct Context {

View File

@@ -175,12 +175,12 @@
//!
//! There is some room for improvement.
use cfg::ControlFlowGraph;
use flowgraph::ControlFlowGraph;
use ir::dfg::ValueDef;
use ir::{Function, Value, Inst, Ebb};
use isa::{TargetIsa, RecipeConstraints};
use regalloc::liverange::LiveRange;
use regalloc::affinity::Affinity;
use regalloc::liverange::LiveRange;
use sparse_map::SparseMap;
/// A set of live ranges, indexed by value number.