summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64Subtarget.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-10 22:57:25 +0000
committerEric Christopher <echristo@gmail.com>2014-06-10 22:57:25 +0000
commit159e4085639ae5f58eaa4046189ec2b2a41bd9bb (patch)
tree38669484438c30fa8a7a1a94c02919fe080476ba /lib/Target/AArch64/AArch64Subtarget.h
parent468a0ce16f107ecb3fd97dc7a4cb33bcc1782426 (diff)
downloadllvm-159e4085639ae5f58eaa4046189ec2b2a41bd9bb.tar.gz
llvm-159e4085639ae5f58eaa4046189ec2b2a41bd9bb.tar.bz2
llvm-159e4085639ae5f58eaa4046189ec2b2a41bd9bb.tar.xz
Move AArch64InstrInfo to AArch64Subtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64Subtarget.h')
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64Subtarget.h b/lib/Target/AArch64/AArch64Subtarget.h
index cfb126ebf1..d8930706cf 100644
--- a/lib/Target/AArch64/AArch64Subtarget.h
+++ b/lib/Target/AArch64/AArch64Subtarget.h
@@ -14,6 +14,7 @@
#ifndef AArch64SUBTARGET_H
#define AArch64SUBTARGET_H
+#include "AArch64InstrInfo.h"
#include "AArch64FrameLowering.h"
#include "AArch64RegisterInfo.h"
#include "AArch64SelectionDAGInfo.h"
@@ -54,6 +55,7 @@ protected:
const DataLayout DL;
AArch64FrameLowering FrameLowering;
+ AArch64InstrInfo InstrInfo;
AArch64SelectionDAGInfo TSInfo;
public:
@@ -66,6 +68,7 @@ public:
const AArch64FrameLowering *getFrameLowering() const {
return &FrameLowering;
}
+ const AArch64InstrInfo *getInstrInfo() const { return &InstrInfo; }
const DataLayout *getDataLayout() const { return &DL; }
bool enableMachineScheduler() const override { return true; }