aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeGenTarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-07 23:15:21 +0000
committerChris Lattner <sabre@nondot.org>2003-08-07 23:15:21 +0000
commitd3464c19a8b6acecd8a9618489ec7612505fd4bd (patch)
tree293a0c47fe70f2bcca60b8f1232f2b14c53b0b66 /utils/TableGen/CodeGenTarget.h
parent2e5cbc218c9b03ca27ff54d1d63201de6484666e (diff)
downloadexternal_llvm-d3464c19a8b6acecd8a9618489ec7612505fd4bd.zip
external_llvm-d3464c19a8b6acecd8a9618489ec7612505fd4bd.tar.gz
external_llvm-d3464c19a8b6acecd8a9618489ec7612505fd4bd.tar.bz2
Add new method to get a value type as a string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.h')
-rw-r--r--utils/TableGen/CodeGenTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h
index b371c09..ebae8dc 100644
--- a/utils/TableGen/CodeGenTarget.h
+++ b/utils/TableGen/CodeGenTarget.h
@@ -21,7 +21,7 @@ class RecordKeeper;
MVT::ValueType getValueType(Record *Rec);
std::ostream &operator<<(std::ostream &OS, MVT::ValueType T);
-
+std::string getName(MVT::ValueType T);
/// CodeGenTarget - This class corresponds to the Target class in the .td files.