diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-05 22:25:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-05 22:25:12 +0000 |
commit | 6cefb77a7073057fecd721ae141140d75ce76512 (patch) | |
tree | be85f322799be552a691ad6f696f429049fd512f /utils/TableGen/CodeGenTarget.h | |
parent | 219f67f0a5f07032f06e36c71fdb84188cc29fdb (diff) | |
download | llvm-6cefb77a7073057fecd721ae141140d75ce76512.tar.gz llvm-6cefb77a7073057fecd721ae141140d75ce76512.tar.bz2 llvm-6cefb77a7073057fecd721ae141140d75ce76512.tar.xz |
change getQualifiedName to be a global function.
Split the pattern parsing code out from the dag isel emitter into it's own file.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.h')
-rw-r--r-- | utils/TableGen/CodeGenTarget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h index acbd5f1c44..f024c1d62a 100644 --- a/utils/TableGen/CodeGenTarget.h +++ b/utils/TableGen/CodeGenTarget.h @@ -40,7 +40,10 @@ MVT::ValueType getValueType(Record *Rec); std::string getName(MVT::ValueType T); std::string getEnumName(MVT::ValueType T); - +/// getQualifiedName - Return the name of the specified record, with a +/// namespace qualifier if the record contains one. +std::string getQualifiedName(const Record *R); + /// CodeGenTarget - This class corresponds to the Target class in the .td files. /// class CodeGenTarget { |