summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit5a92eeca6b2b769f9ddab026f2db9806879cdf47 (patch)
tree6241293af73da1ba108600cea4200c702d20bbe4 /llvm/lib/Target/ARM/ARMSubtarget.h
parentaef9c37c65ac109deb87cc9128a7117f41a6f61f (diff)
downloadbcm5719-llvm-5a92eeca6b2b769f9ddab026f2db9806879cdf47.tar.gz
bcm5719-llvm-5a92eeca6b2b769f9ddab026f2db9806879cdf47.zip
Support changing the subtarget features in ARM.
llvm-svn: 175315
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 33efabfc000..87834b8b66f 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud