diff options
author | Jim Laskey <jlaskey@mac.com> | 2005-10-26 17:30:34 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2005-10-26 17:30:34 +0000 |
commit | 581a8f79bc1ac3cbe5d621f0b4a0252ab2890bc1 (patch) | |
tree | e0435c8b6e5ebbbf495377a4cd055095d2589939 /lib/Target/Alpha/AlphaSubtarget.h | |
parent | f0c2be4d2b6f5b04746efae88e8bc642a864361e (diff) | |
download | external_llvm-581a8f79bc1ac3cbe5d621f0b4a0252ab2890bc1.tar.gz external_llvm-581a8f79bc1ac3cbe5d621f0b4a0252ab2890bc1.tar.bz2 external_llvm-581a8f79bc1ac3cbe5d621f0b4a0252ab2890bc1.zip |
Give full control of subtarget features over to table generated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaSubtarget.h')
-rw-r--r-- | lib/Target/Alpha/AlphaSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaSubtarget.h b/lib/Target/Alpha/AlphaSubtarget.h index 8eadec00d0..d5847f3bf3 100644 --- a/lib/Target/Alpha/AlphaSubtarget.h +++ b/lib/Target/Alpha/AlphaSubtarget.h @@ -33,6 +33,10 @@ public: /// of the specified module. /// AlphaSubtarget(const Module &M, const std::string &FS); + + /// ParseSubtargetFeatures - Parses features string setting specified + /// subtarget options. Definition of function is usto generated by tblgen. + void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU); bool hasF2I() const { return HasF2I; } bool hasCT() const { return HasCT; } |