OSDN Git Service

Allow clients to get at the pointer type
authorChris Lattner <sabre@nondot.org>
Thu, 7 Aug 2003 06:01:44 +0000 (06:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Aug 2003 06:01:44 +0000 (06:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7670 91177308-0d34-0410-b5e6-96231b3b80d8

support/tools/TableGen/CodeGenWrappers.h
utils/TableGen/CodeGenTarget.h
utils/TableGen/CodeGenWrappers.h

index c50d057..b371c09 100644 (file)
@@ -41,6 +41,8 @@ public:
     return CalleeSavedRegisters;
   }
 
+  MVT::ValueType getPointerType() const { return PointerType; }
+
   // getInstructionSet - Return the InstructionSet object...
   Record *getInstructionSet() const;
 
index c50d057..b371c09 100644 (file)
@@ -41,6 +41,8 @@ public:
     return CalleeSavedRegisters;
   }
 
+  MVT::ValueType getPointerType() const { return PointerType; }
+
   // getInstructionSet - Return the InstructionSet object...
   Record *getInstructionSet() const;
 
index c50d057..b371c09 100644 (file)
@@ -41,6 +41,8 @@ public:
     return CalleeSavedRegisters;
   }
 
+  MVT::ValueType getPointerType() const { return PointerType; }
+
   // getInstructionSet - Return the InstructionSet object...
   Record *getInstructionSet() const;