diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-01-17 00:32:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-01-17 00:32:38 +0000 |
commit | 4e4937836e69f8c24f263c4223f54173e5b5ba4d (patch) | |
tree | 9abe1be5bf2db4a0959ee4769acb5b0fb008abd1 /include/llvm | |
parent | 79959d21c7b2fb7bb970949b9a5227036cd50d39 (diff) | |
download | external_llvm-4e4937836e69f8c24f263c4223f54173e5b5ba4d.zip external_llvm-4e4937836e69f8c24f263c4223f54173e5b5ba4d.tar.gz external_llvm-4e4937836e69f8c24f263c4223f54173e5b5ba4d.tar.bz2 |
Yet another getTargetNode() variant. I promise one of these days I'll fix
tblgen so this is unnecessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 3fd32a8..79b3371 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -476,6 +476,18 @@ public: } SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1, MVT::ValueType VT2, MVT::ValueType VT3, + SDOperand Op1, SDOperand Op2) { + std::vector<MVT::ValueType> ResultTys; + ResultTys.push_back(VT1); + ResultTys.push_back(VT2); + ResultTys.push_back(VT3); + std::vector<SDOperand> Ops; + Ops.push_back(Op1); + Ops.push_back(Op2); + return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops); + } + SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1, + MVT::ValueType VT2, MVT::ValueType VT3, SDOperand Op1, SDOperand Op2, SDOperand Op3, SDOperand Op4, SDOperand Op5, SDOperand Op6) { |