summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-18 22:48:09 +0000
committerEric Christopher <echristo@gmail.com>2014-06-18 22:48:09 +0000
commit3d19f1388f185a6e0f8775428a5cc5a15af0c695 (patch)
treea9518e03c48bf0e78261d64e5b57c93e55692841 /llvm/lib/Target/ARM/ARMSubtarget.h
parent2b0fa433a087aefc83b457bcf64b2099255d0b1f (diff)
downloadbcm5719-llvm-3d19f1388f185a6e0f8775428a5cc5a15af0c695.tar.gz
bcm5719-llvm-3d19f1388f185a6e0f8775428a5cc5a15af0c695.zip
Move ARMJITInfo off of the TargetMachine and down onto the subtarget.
This required untangling a mess of headers that included around. This a recommit of r210953 with a fix for the removed accessor for JITInfo. llvm-svn: 211233
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 7da80ec0d49..ae62a6f876f 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -14,6 +14,7 @@
#ifndef ARMSUBTARGET_H
#define ARMSUBTARGET_H
+#include "ARMJITInfo.h"
#include "ARMSelectionDAGInfo.h"
#include "MCTargetDesc/ARMMCTargetDesc.h"
#include "llvm/ADT/Triple.h"
@@ -256,10 +257,12 @@ protected:
const DataLayout *getDataLayout() const { return &DL; }
const ARMSelectionDAGInfo *getSelectionDAGInfo() const { return &TSInfo; }
+ ARMJITInfo *getJITInfo() { return &JITInfo; }
private:
const DataLayout DL;
ARMSelectionDAGInfo TSInfo;
+ ARMJITInfo JITInfo;
void initializeEnvironment();
void resetSubtargetFeatures(StringRef CPU, StringRef FS);
OpenPOWER on IntegriCloud