Mark extended type querying methods as 'readonly' to reduce compile size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2012-09-26 06:28:26 +00:00
parent f18eb5887f
commit 1313785558

View File

@ -786,19 +786,19 @@ namespace llvm {
static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth); static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
static EVT getExtendedVectorVT(LLVMContext &C, EVT VT, static EVT getExtendedVectorVT(LLVMContext &C, EVT VT,
unsigned NumElements); unsigned NumElements);
bool isExtendedFloatingPoint() const; bool isExtendedFloatingPoint() const LLVM_READONLY;
bool isExtendedInteger() const; bool isExtendedInteger() const LLVM_READONLY;
bool isExtendedVector() const; bool isExtendedVector() const LLVM_READONLY;
bool isExtended16BitVector() const; bool isExtended16BitVector() const LLVM_READONLY;
bool isExtended32BitVector() const; bool isExtended32BitVector() const LLVM_READONLY;
bool isExtended64BitVector() const; bool isExtended64BitVector() const LLVM_READONLY;
bool isExtended128BitVector() const; bool isExtended128BitVector() const LLVM_READONLY;
bool isExtended256BitVector() const; bool isExtended256BitVector() const LLVM_READONLY;
bool isExtended512BitVector() const; bool isExtended512BitVector() const LLVM_READONLY;
bool isExtended1024BitVector() const; bool isExtended1024BitVector() const LLVM_READONLY;
EVT getExtendedVectorElementType() const; EVT getExtendedVectorElementType() const;
unsigned getExtendedVectorNumElements() const; unsigned getExtendedVectorNumElements() const LLVM_READONLY;
unsigned getExtendedSizeInBits() const; unsigned getExtendedSizeInBits() const LLVM_READONLY;
}; };
} // End llvm namespace } // End llvm namespace