aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-15 04:53:16 +0000
committerChris Lattner <sabre@nondot.org>2003-08-15 04:53:16 +0000
commit7dc97ff18023935880082d84a0004ac111859357 (patch)
treed8ed6d9baf51c19b3134c4cf07d96c25321dbad6 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentf4f5f8bcaa388f663bdbd49b8ee4914f39a3a20a (diff)
Add a bunch of new node types, etc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 181abea922..6d7eeee0da 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -37,6 +37,7 @@ MVT::ValueType SelectionDAG::getValueType(const Type *Ty) const {
case Type::ULongTyID: return MVT::i64;
case Type::FloatTyID: return MVT::f32;
case Type::DoubleTyID: return MVT::f64;
+ case Type::LabelTyID:
case Type::PointerTyID: return PointerType;
}
}
@@ -79,8 +80,11 @@ void SelectionDAGNode::printit(unsigned Offset, unsigned &LastID,
case ISD::ChainNode: std::cerr << "ChainNode"; break;
case ISD::BlockChainNode: std::cerr << "BlockChainNode"; break;
case ISD::ProtoNode: std::cerr << "ProtoNode"; break;
+
case ISD::Constant: std::cerr << "Constant"; break;
case ISD::FrameIndex: std::cerr << "FrameIndex"; break;
+ case ISD::BasicBlock: std::cerr << "BasicBlock"; break;
+
case ISD::Plus: std::cerr << "Plus"; break;
case ISD::Minus: std::cerr << "Minus"; break;
case ISD::Times: std::cerr << "Times"; break;
@@ -91,7 +95,16 @@ void SelectionDAGNode::printit(unsigned Offset, unsigned &LastID,
case ISD::And: std::cerr << "And"; break;
case ISD::Or: std::cerr << "Or"; break;
case ISD::Xor: std::cerr << "Xor"; break;
+
+ case ISD::SetEQ: std::cerr << "SetEQ"; break;
+ case ISD::SetNE: std::cerr << "SetNE"; break;
+ case ISD::SetLT: std::cerr << "SetLT"; break;
+ case ISD::SetLE: std::cerr << "SetLE"; break;
+ case ISD::SetGT: std::cerr << "SetGT"; break;
+ case ISD::SetGE: std::cerr << "SetGE"; break;
+
case ISD::Br: std::cerr << "Br"; break;
+ case ISD::BrCond: std::cerr << "BrCond"; break;
case ISD::Switch: std::cerr << "Switch"; break;
case ISD::Ret: std::cerr << "Ret"; break;
case ISD::RetVoid: std::cerr << "RetVoid"; break;
@@ -99,6 +112,9 @@ void SelectionDAGNode::printit(unsigned Offset, unsigned &LastID,
case ISD::Store: std::cerr << "Store"; break;
case ISD::PHI: std::cerr << "PHI"; break;
case ISD::Call: std::cerr << "Call"; break;
+
+ case ISD::Unspec1: std::cerr << "Unspec1"; break;
+ case ISD::Unspec2: std::cerr << "Unspec2"; break;
}
std::cerr << "\n";