summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-27 22:48:18 +0000
committerChris Lattner <sabre@nondot.org>2006-03-27 22:48:18 +0000
commitc92f688ef3a6aaef41c6416b1adfb50065275bd9 (patch)
tree9ba123c31e4e29bcce494c494d84916aa8be486b /llvm/utils/TableGen/CodeGenTarget.h
parent5d042ebd7b77964cfb158f7d1a7bde49e87da7da (diff)
downloadbcm5719-llvm-c92f688ef3a6aaef41c6416b1adfb50065275bd9.tar.gz
bcm5719-llvm-c92f688ef3a6aaef41c6416b1adfb50065275bd9.zip
Add support for decoding iPTR to the right pointer type.
llvm-svn: 27188
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.h')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.h b/llvm/utils/TableGen/CodeGenTarget.h
index 8a4367ad1dd..bedf1bb736f 100644
--- a/llvm/utils/TableGen/CodeGenTarget.h
+++ b/llvm/utils/TableGen/CodeGenTarget.h
@@ -27,10 +27,11 @@ namespace llvm {
class Record;
class RecordKeeper;
struct CodeGenRegister;
+class CodeGenTarget;
/// getValueType - Return the MVT::ValueType that the specified TableGen record
/// corresponds to.
-MVT::ValueType getValueType(Record *Rec);
+MVT::ValueType getValueType(Record *Rec, const CodeGenTarget *CGT = 0);
std::ostream &operator<<(std::ostream &OS, MVT::ValueType T);
std::string getName(MVT::ValueType T);
OpenPOWER on IntegriCloud