aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-15 22:41:25 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-15 22:41:25 +0000
commit4788d14b484ba9e2fe19855fd6c97a3659980fca (patch)
tree11e1573f8963609bacabbb4d7d92833e6baf108c /lib/Target/ARM/ARMSubtarget.h
parent789cb5df9ca61f8a3794a4fbde7cc020fd00a02a (diff)
downloadexternal_llvm-4788d14b484ba9e2fe19855fd6c97a3659980fca.zip
external_llvm-4788d14b484ba9e2fe19855fd6c97a3659980fca.tar.gz
external_llvm-4788d14b484ba9e2fe19855fd6c97a3659980fca.tar.bz2
Support changing the subtarget features in ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--lib/Target/ARM/ARMSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index 33efabf..87834b8 100644
--- a/lib/Target/ARM/ARMSubtarget.h
+++ b/lib/Target/ARM/ARMSubtarget.h
@@ -202,6 +202,10 @@ protected:
/// subtarget options. Definition of function is auto generated by tblgen.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
+ /// \brief Reset the features for the X86 target.
+ virtual void resetSubtargetFeatures(const MachineFunction *MF);
+ void resetSubtargetFeatures(StringRef CPU, StringRef FS);
+
void computeIssueWidth();
bool hasV4TOps() const { return HasV4TOps; }