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 | a2b5235facce78b229b6f3592a30ad28104f964c (patch) | |
| tree | df9ead35cddd5ee87f3f46d43b16bc62206ff27e /llvm/lib/Target/Alpha/AlphaSubtarget.h | |
| parent | 53ad110490853fd5cb40429dcad3924068278b54 (diff) | |
| download | bcm5719-llvm-a2b5235facce78b229b6f3592a30ad28104f964c.tar.gz bcm5719-llvm-a2b5235facce78b229b6f3592a30ad28104f964c.zip | |
Give full control of subtarget features over to table generated code.
llvm-svn: 24013
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaSubtarget.h b/llvm/lib/Target/Alpha/AlphaSubtarget.h index 8eadec00d05..d5847f3bf35 100644 --- a/llvm/lib/Target/Alpha/AlphaSubtarget.h +++ b/llvm/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; } |

