From 54c66feed926f6cdaf544895f78b5bb1ead6f0ea Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 Aug 2003 06:01:44 +0000 Subject: [PATCH] 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 --- support/tools/TableGen/CodeGenWrappers.h | 2 ++ utils/TableGen/CodeGenTarget.h | 2 ++ utils/TableGen/CodeGenWrappers.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/support/tools/TableGen/CodeGenWrappers.h b/support/tools/TableGen/CodeGenWrappers.h index c50d0576e80..b371c0977cd 100644 --- a/support/tools/TableGen/CodeGenWrappers.h +++ b/support/tools/TableGen/CodeGenWrappers.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/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h index c50d0576e80..b371c0977cd 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 c50d0576e80..b371c0977cd 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; -- 2.34.1