2001-09-14 03:37:52 +00:00
|
|
|
//===-- llvm/CodeGen/Sparc.h - Sparc Target Description ----------*- C++ -*--=//
|
|
|
|
//
|
|
|
|
// This file defines the Sparc processor targets
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
2001-07-21 12:39:03 +00:00
|
|
|
|
|
|
|
#ifndef LLVM_CODEGEN_SPARC_H
|
|
|
|
#define LLVM_CODEGEN_SPARC_H
|
|
|
|
|
2001-07-21 20:58:30 +00:00
|
|
|
#include "llvm/CodeGen/TargetMachine.h"
|
2001-07-28 04:26:42 +00:00
|
|
|
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
// class UltraSparcMachine
|
|
|
|
//
|
|
|
|
// Purpose:
|
|
|
|
// Primary interface to machine description for the UltraSPARC.
|
|
|
|
// Primarily just initializes machine-dependent parameters in
|
|
|
|
// class TargetMachine, and creates machine-dependent subclasses
|
|
|
|
// for classes such as MachineInstrInfo.
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
|
2001-09-14 03:37:52 +00:00
|
|
|
class UltraSparc : public TargetMachine {
|
2001-07-28 04:26:42 +00:00
|
|
|
public:
|
2001-09-14 03:37:52 +00:00
|
|
|
UltraSparc();
|
|
|
|
virtual ~UltraSparc();
|
2001-08-28 23:10:41 +00:00
|
|
|
|
2001-09-14 03:37:52 +00:00
|
|
|
// compileMethod - For the sparc, we do instruction selection, followed by
|
|
|
|
// delay slot scheduling, then register allocation.
|
2001-08-28 23:10:41 +00:00
|
|
|
//
|
2001-09-14 03:37:52 +00:00
|
|
|
virtual bool compileMethod(Method *M);
|
2001-08-28 23:10:41 +00:00
|
|
|
};
|
|
|
|
|
2001-07-21 12:39:03 +00:00
|
|
|
#endif
|