add more support for ConstantDataSequential

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148802 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2012-01-24 13:41:11 +00:00
parent 53fa1ae510
commit 1ee0ecf84a
5 changed files with 78 additions and 34 deletions

View File

@@ -623,6 +623,9 @@ public:
/// getElementType - Return the element type of the array/vector.
Type *getElementType() const;
/// getNumElements - Return the number of elements in the array or vector.
unsigned getNumElements() const;
/// getElementByteSize - Return the size (in bytes) of each element in the
/// array/vector. The size of the elements is known to be a multiple of one