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
diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h
index c50d057..b371c09 100644
--- a/utils/TableGen/CodeGenTarget.h
+++ b/utils/TableGen/CodeGenTarget.h
@@ -41,6 +41,8 @@
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 c50d057..b371c09 100644
--- a/utils/TableGen/CodeGenWrappers.h
+++ b/utils/TableGen/CodeGenWrappers.h
@@ -41,6 +41,8 @@
return CalleeSavedRegisters;
}
+ MVT::ValueType getPointerType() const { return PointerType; }
+
// getInstructionSet - Return the InstructionSet object...
Record *getInstructionSet() const;