summaryrefslogtreecommitdiff
path: root/utils/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-07 06:01:44 +0000
committerChris Lattner <sabre@nondot.org>2003-08-07 06:01:44 +0000
commit54c66feed926f6cdaf544895f78b5bb1ead6f0ea (patch)
treec7f8f06c3fded4d254bb0eb94bfdc64e186d4532 /utils/TableGen
parent784a793636b7e766e868822c213ca96b0755b5c1 (diff)
downloadllvm-54c66feed926f6cdaf544895f78b5bb1ead6f0ea.tar.gz
llvm-54c66feed926f6cdaf544895f78b5bb1ead6f0ea.tar.bz2
llvm-54c66feed926f6cdaf544895f78b5bb1ead6f0ea.tar.xz
Allow clients to get at the pointer type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/CodeGenTarget.h2
-rw-r--r--utils/TableGen/CodeGenWrappers.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h
index c50d0576e8..b371c0977c 100644
--- a/utils/TableGen/CodeGenTarget.h
+++ b/utils/TableGen/CodeGenTarget.h
@@ -41,6 +41,8 @@ public:
return CalleeSavedRegisters;
}
+ MVT::ValueType getPointerType() const { return PointerType; }
+
// getInstructionSet - Return the InstructionSet object...
Record *getInstructionSet() const;
diff --git a/utils/TableGen/CodeGenWrappers.h b/utils/TableGen/CodeGenWrappers.h
index c50d0576e8..b371c0977c 100644
--- a/utils/TableGen/CodeGenWrappers.h
+++ b/utils/TableGen/CodeGenWrappers.h
@@ -41,6 +41,8 @@ public:
return CalleeSavedRegisters;
}
+ MVT::ValueType getPointerType() const { return PointerType; }
+
// getInstructionSet - Return the InstructionSet object...
Record *getInstructionSet() const;