diff options
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.cpp')
| -rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index f2caf388423..dac4d208da7 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -18,8 +18,14 @@ #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h" #include "llvm/CodeGen/PhyRegAlloc.h" - -//***************************** Internal Functions *************************/ +// Build the MachineInstruction Description Array... +const MachineInstrDescriptor SparcMachineInstrDesc[] = { +#define I(ENUM, OPCODESTRING, NUMOPERANDS, RESULTPOS, MAXIMM, IMMSE, \ + NUMDELAYSLOTS, LATENCY, SCHEDCLASS, INSTFLAGS) \ + { OPCODESTRING, NUMOPERANDS, RESULTPOS, MAXIMM, IMMSE, \ + NUMDELAYSLOTS, LATENCY, SCHEDCLASS, INSTFLAGS }, +#include "SparcInstr.def" +}; //---------------------------------------------------------------------------- // allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine @@ -59,10 +65,6 @@ void AllocateRegisters(Method *M, TargetMachine &TM) - -//***************************** External Classes **************************/ - - //--------------------------------------------------------------------------- // class UltraSparcInstrInfo // |

