summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-26 16:36:26 +0000
committerChris Lattner <sabre@nondot.org>2005-08-26 16:36:26 +0000
commit2bb06cdf27905cf95bd39e4120f1ad57c68ac73e (patch)
tree6f2ba759be2fe62d362348524efb49b520ccbbba /include
parent22b7dfa6452a6ca9b3d3107a93f01222d24922b1 (diff)
downloadexternal_llvm-2bb06cdf27905cf95bd39e4120f1ad57c68ac73e.zip
external_llvm-2bb06cdf27905cf95bd39e4120f1ad57c68ac73e.tar.gz
external_llvm-2bb06cdf27905cf95bd39e4120f1ad57c68ac73e.tar.bz2
Fix a huge annoyance: SelectNodeTo took types before the opcode unlike
every other SD API. Fix it to take the opcode before the types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index d2896ca..df17366 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -223,22 +223,22 @@ public:
/// specified node to have the specified return type, Target opcode, and
/// operands. Note that target opcodes are stored as
/// ISD::BUILTIN_OP_END+TargetOpcode in the node opcode field.
- void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT);
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
SDOperand Op1);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
SDOperand Op1, SDOperand Op2);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
SDOperand Op1, SDOperand Op2, SDOperand Op3);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
SDOperand Op1, SDOperand Op2, SDOperand Op3, SDOperand Op4);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT, unsigned TargetOpc,
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT,
SDOperand Op1, SDOperand Op2, SDOperand Op3, SDOperand Op4,
SDOperand Op5);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT1, MVT::ValueType VT2,
- unsigned TargetOpc, SDOperand Op1, SDOperand Op2);
- void SelectNodeTo(SDNode *N, MVT::ValueType VT1, MVT::ValueType VT2,
- unsigned TargetOpc, SDOperand Op1, SDOperand Op2,
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT1,
+ MVT::ValueType VT2, SDOperand Op1, SDOperand Op2);
+ void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT1,
+ MVT::ValueType VT2, SDOperand Op1, SDOperand Op2,
SDOperand Op3);
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT,