[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h
Evan Cheng
evan.cheng at apple.com
Fri Dec 16 17:45:02 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.78 -> 1.79
---
Log message:
Yet another variant of getTargetNode().
---
Diffs of the changes: (+17 -0)
SelectionDAG.h | 17 +++++++++++++++++
1 files changed, 17 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.78 llvm/include/llvm/CodeGen/SelectionDAG.h:1.79
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.78 Fri Dec 9 18:37:58 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h Fri Dec 16 19:44:51 2005
@@ -418,6 +418,23 @@
Ops.push_back(Op6);
return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops);
}
+ SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
+ MVT::ValueType VT2, SDOperand Op1, SDOperand Op2,
+ SDOperand Op3, SDOperand Op4, SDOperand Op5,
+ SDOperand Op6, SDOperand Op7) {
+ std::vector<MVT::ValueType> ResultTys;
+ ResultTys.push_back(VT1);
+ ResultTys.push_back(VT2);
+ std::vector<SDOperand> Ops;
+ Ops.push_back(Op1);
+ Ops.push_back(Op2);
+ Ops.push_back(Op3);
+ Ops.push_back(Op4);
+ Ops.push_back(Op5);
+ Ops.push_back(Op6);
+ Ops.push_back(Op7);
+ return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops);
+ }
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
MVT::ValueType VT2, std::vector<SDOperand> &Ops) {
std::vector<MVT::ValueType> ResultTys;
More information about the llvm-commits
mailing list