Prefer to use qualified type names in generated code.
Emit type names like ir::Foo instead of just Foo to avoid very long manual use declarations in files including generated code.
This commit is contained in:
@@ -3,13 +3,11 @@
|
||||
//! A `Builder` provides a convenient interface for inserting instructions into a Cretonne
|
||||
//! function. Many of its methods are generated from the meta language instruction definitions.
|
||||
|
||||
use ir;
|
||||
use ir::types;
|
||||
use ir::{InstructionData, DataFlowGraph};
|
||||
use ir::{Opcode, Type, Inst, Value, Ebb, JumpTable, SigRef, FuncRef, StackSlot, GlobalVar,
|
||||
ValueList, MemFlags};
|
||||
use ir::immediates::{Imm64, Uimm8, Ieee32, Ieee64, Offset32, Uoffset32};
|
||||
use ir::condcodes::{IntCC, FloatCC};
|
||||
use isa::RegUnit;
|
||||
use ir::{Opcode, Type, Inst, Value};
|
||||
use isa;
|
||||
|
||||
/// Base trait for instruction builders.
|
||||
///
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
//! Encoding tables for RISC-V.
|
||||
|
||||
use ir::condcodes::IntCC;
|
||||
use ir;
|
||||
use isa;
|
||||
use isa::constraints::*;
|
||||
|
||||
@@ -17,7 +17,6 @@ use cursor::{Cursor, FuncCursor};
|
||||
use dominator_tree::DominatorTree;
|
||||
use flowgraph::ControlFlowGraph;
|
||||
use ir;
|
||||
use ir::condcodes::IntCC;
|
||||
use isa::TargetIsa;
|
||||
use bitset::BitSet;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user