aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 11:14:33 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 11:14:33 +0000
commit34525f9ac098c1c6bc9002886d6da3039a284fd2 (patch)
treeb4cb498a55dda76f1a134df25d3c587cc35b2f83 /include/llvm/CodeGen
parent7550f96b2f3a5e187f737ddad45563962fbd509c (diff)
downloadexternal_llvm-34525f9ac098c1c6bc9002886d6da3039a284fd2.zip
external_llvm-34525f9ac098c1c6bc9002886d6da3039a284fd2.tar.gz
external_llvm-34525f9ac098c1c6bc9002886d6da3039a284fd2.tar.bz2
Revert EVT->MVT changes, r169836-169851, due to buildbot failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h2
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h11
-rw-r--r--include/llvm/CodeGen/ValueTypes.h21
3 files changed, 1 insertions, 33 deletions
diff --git a/include/llvm/CodeGen/FunctionLoweringInfo.h b/include/llvm/CodeGen/FunctionLoweringInfo.h
index 451dc99..789f77f 100644
--- a/include/llvm/CodeGen/FunctionLoweringInfo.h
+++ b/include/llvm/CodeGen/FunctionLoweringInfo.h
@@ -136,7 +136,7 @@ public:
return ValueMap.count(V);
}
- unsigned CreateReg(MVT VT);
+ unsigned CreateReg(EVT VT);
unsigned CreateRegs(Type *Ty);
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index d5acdac..252d9ca1 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -130,11 +130,6 @@ public:
///
inline EVT getValueType() const;
- /// Return the simple ValueType of the referenced return value.
- MVT getSimpleValueType() const {
- return getValueType().getSimpleVT();
- }
-
/// getValueSizeInBits - Returns the size of the value in bits.
///
unsigned getValueSizeInBits() const {
@@ -600,12 +595,6 @@ public:
return ValueList[ResNo];
}
- /// Return the type of a specified result as a simple type.
- ///
- MVT getSimpleValueType(unsigned ResNo) const {
- return getValueType(ResNo).getSimpleVT();
- }
-
/// getValueSizeInBits - Returns MVT::getSizeInBits(getValueType(ResNo)).
///
unsigned getValueSizeInBits(unsigned ResNo) const {
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h
index b9f4295..2401992 100644
--- a/include/llvm/CodeGen/ValueTypes.h
+++ b/include/llvm/CodeGen/ValueTypes.h
@@ -389,27 +389,6 @@ namespace llvm {
return getStoreSize() * 8;
}
- /// Return true if this has more bits than VT.
- bool bitsGT(MVT VT) const {
- return getSizeInBits() > VT.getSizeInBits();
- }
-
- /// Return true if this has no less bits than VT.
- bool bitsGE(MVT VT) const {
- return getSizeInBits() >= VT.getSizeInBits();
- }
-
- /// Return true if this has less bits than VT.
- bool bitsLT(MVT VT) const {
- return getSizeInBits() < VT.getSizeInBits();
- }
-
- /// Return true if this has no more bits than VT.
- bool bitsLE(MVT VT) const {
- return getSizeInBits() <= VT.getSizeInBits();
- }
-
-
static MVT getFloatingPointVT(unsigned BitWidth) {
switch (BitWidth) {
default: