projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move TargetRegistry and TargetSelect from Target to Support where they belong.
[oota-llvm.git]
/
lib
/
Target
/
Sparc
/
SparcInstrInfo.cpp
diff --git
a/lib/Target/Sparc/SparcInstrInfo.cpp
b/lib/Target/Sparc/SparcInstrInfo.cpp
index e555b79480b9c36a624624cf52cc0d0c512344c7..7a6bf50fa7d4a31e4f254afcb47835223b0791dc 100644
(file)
--- a/
lib/Target/Sparc/SparcInstrInfo.cpp
+++ b/
lib/Target/Sparc/SparcInstrInfo.cpp
@@
-12,23
+12,23
@@
//===----------------------------------------------------------------------===//
#include "SparcInstrInfo.h"
//===----------------------------------------------------------------------===//
#include "SparcInstrInfo.h"
-#include "SparcSubtarget.h"
#include "Sparc.h"
#include "Sparc.h"
-#include "
llvm/ADT/STLExtras
.h"
-#include "
llvm/ADT/SmallVector
.h"
+#include "
SparcMachineFunctionInfo
.h"
+#include "
SparcSubtarget
.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/ErrorHandling.h"
-#include "SparcMachineFunctionInfo.h"
+#include "llvm/Support/TargetRegistry.h"
+#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/SmallVector.h"
-#define GET_INSTRINFO_
MC_DESC
+#define GET_INSTRINFO_
CTOR
#include "SparcGenInstrInfo.inc"
using namespace llvm;
SparcInstrInfo::SparcInstrInfo(SparcSubtarget &ST)
#include "SparcGenInstrInfo.inc"
using namespace llvm;
SparcInstrInfo::SparcInstrInfo(SparcSubtarget &ST)
- : TargetInstrInfoImpl(SparcInsts, array_lengthof(SparcInsts),
- SP::ADJCALLSTACKDOWN, SP::ADJCALLSTACKUP),
+ : SparcGenInstrInfo(SP::ADJCALLSTACKDOWN, SP::ADJCALLSTACKUP),
RI(ST, *this), Subtarget(ST) {
}
RI(ST, *this), Subtarget(ST) {
}