The 'target-independent' ISD::CALL isn't. Nuke it, making way for Nate's
authorChris Lattner <sabre@nondot.org>
Sat, 28 Jan 2006 00:18:27 +0000 (00:18 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Jan 2006 00:18:27 +0000 (00:18 +0000)
future work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25720 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h

index 70aafcca9ee2aca82c0e52544fc45b10f1b3abf6..91dfeceee1cc139923c0d4bd44a2fdd6c648822b 100644 (file)
@@ -188,41 +188,6 @@ public:
     return getNode(ISD::CopyFromReg, ResultTys, Ops);
   }
 
-  /// getCall - Note that this destroys the vector of RetVals passed in.
-  ///
-  SDNode *getCall(std::vector<MVT::ValueType> &RetVals, SDOperand Chain,
-                  SDOperand Callee, bool isTailCall = false) {
-    SDNode *NN = new SDNode(isTailCall ? ISD::TAILCALL : ISD::CALL, Chain,
-                            Callee);
-    setNodeValueTypes(NN, RetVals);
-    AllNodes.push_back(NN);
-    return NN;
-  }
-  /// getCall - Note that this destroys the vector of RetVals passed in.
-  ///
-  SDNode *getCall(std::vector<MVT::ValueType> &RetVals, SDOperand Chain,
-                  SDOperand Callee, SDOperand Flag, bool isTailCall = false) {
-    SDNode *NN = new SDNode(isTailCall ? ISD::TAILCALL : ISD::CALL, Chain,
-                            Callee, Flag);
-    setNodeValueTypes(NN, RetVals);
-    AllNodes.push_back(NN);
-    return NN;
-  }
-  
-  /// getCall - This is identical to the one above, and should be used for calls
-  /// where arguments are passed in physical registers.  This destroys the
-  /// RetVals and ArgsInRegs vectors.
-  SDNode *getCall(std::vector<MVT::ValueType> &RetVals, SDOperand Chain,
-                  SDOperand Callee, std::vector<SDOperand> &ArgsInRegs,
-                  bool isTailCall = false) {
-    ArgsInRegs.insert(ArgsInRegs.begin(), Callee);
-    ArgsInRegs.insert(ArgsInRegs.begin(), Chain);
-    SDNode *NN = new SDNode(isTailCall ? ISD::TAILCALL : ISD::CALL, ArgsInRegs);
-    setNodeValueTypes(NN, RetVals);
-    AllNodes.push_back(NN);
-    return NN;
-  }
-
   SDOperand getCondCode(ISD::CondCode Cond);
 
   /// getZeroExtendInReg - Return the expression required to zero extend the Op
index b41b546d3ac7ab6e7ea0d4b80aa220c5402fdbb6..d0549030fbd3f453217409fac7b8e17932d25393 100644 (file)
@@ -304,14 +304,6 @@ namespace ISD {
     // function.  This operation can have variable number of operands.
     RET,
 
-    // CALL - Call to a function pointer.  The first operand is the chain, the
-    // second is the destination function pointer (a GlobalAddress for a direct
-    // call).  Arguments have already been lowered to explicit DAGs according to
-    // the calling convention in effect here.  TAILCALL is the same as CALL, but
-    // the callee is known not to access the stack of the caller.
-    CALL,
-    TAILCALL,
-    
     // INLINEASM - Represents an inline asm block.  This node always has two
     // return values: a chain and a flag result.  The inputs are as follows:
     //   Operand #0   : Input chain.