mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-25 21:48:12 +00:00
Move the Imp tblgen class from the X86 backend to common code.
llvm-svn: 30907
This commit is contained in:
parent
4d707afe22
commit
b25677f5ca
@ -173,6 +173,13 @@ class Instruction {
|
||||
InstrItinClass Itinerary = NoItinerary;// Execution steps used for scheduling.
|
||||
}
|
||||
|
||||
/// Imp - Helper class for specifying the implicit uses/defs set for an
|
||||
/// instruction.
|
||||
class Imp<list<Register> uses, list<Register> defs> {
|
||||
list<Register> Uses = uses;
|
||||
list<Register> Defs = defs;
|
||||
}
|
||||
|
||||
/// Predicates - These are extra conditionals which are turned into instruction
|
||||
/// selector matching code. Currently each predicate is just a string.
|
||||
class Predicate<string cond> {
|
||||
|
@ -228,11 +228,6 @@ class X86Inst<bits<8> opcod, Format f, ImmType i, dag ops, string AsmStr>
|
||||
bits<3> FPFormBits = 0;
|
||||
}
|
||||
|
||||
class Imp<list<Register> uses, list<Register> defs> {
|
||||
list<Register> Uses = uses;
|
||||
list<Register> Defs = defs;
|
||||
}
|
||||
|
||||
|
||||
// Prefix byte classes which are used to indicate to the ad-hoc machine code
|
||||
// emitter that various prefix bytes are required.
|
||||
|
Loading…
x
Reference in New Issue
Block a user