LLVM API Documentation

llvm::CallSDNode Class Reference

CallSDNode - Node for calls -- ISD::CALL. More...

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::CallSDNode:
[legend]
Collaboration diagram for llvm::CallSDNode:
[legend]

List of all members.

Public Member Functions

unsigned getCallingConv () const
unsigned isVarArg () const
unsigned isTailCall () const
unsigned isInreg () const
void setNotTailCall ()
SDValue getChain () const
SDValue getCallee () const
unsigned getNumArgs () const
SDValue getArg (unsigned i) const
SDValue getArgFlagsVal (unsigned i) const
ISD::ArgFlagsTy getArgFlags (unsigned i) const
unsigned getNumRetVals () const
MVT getRetValType (unsigned i) const

Static Public Member Functions

static bool classof (const CallSDNode *)
static bool classof (const SDNode *N)

Protected Member Functions

 CallSDNode (unsigned cc, bool isvararg, bool istailcall, bool isinreg, SDVTList VTs, const SDValue *Operands, unsigned numOperands)
 CallSDNode (unsigned cc, DebugLoc dl, bool isvararg, bool istailcall, bool isinreg, SDVTList VTs, const SDValue *Operands, unsigned numOperands)

Friends

class SelectionDAG


Detailed Description

CallSDNode - Node for calls -- ISD::CALL.

Definition at line 2268 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::CallSDNode::CallSDNode ( unsigned  cc,
bool  isvararg,
bool  istailcall,
bool  isinreg,
SDVTList  VTs,
const SDValue *  Operands,
unsigned  numOperands 
) [inline, protected]

Definition at line 2278 of file SelectionDAGNodes.h.

llvm::CallSDNode::CallSDNode ( unsigned  cc,
DebugLoc  dl,
bool  isvararg,
bool  istailcall,
bool  isinreg,
SDVTList  VTs,
const SDValue *  Operands,
unsigned  numOperands 
) [inline, protected]

Definition at line 2283 of file SelectionDAGNodes.h.


Member Function Documentation

unsigned llvm::CallSDNode::getCallingConv (  )  const [inline]

unsigned llvm::CallSDNode::isVarArg (  )  const [inline]

unsigned llvm::CallSDNode::isTailCall (  )  const [inline]

Definition at line 2292 of file SelectionDAGNodes.h.

Referenced by llvm::PIC16TargetLowering::LowerCALL().

unsigned llvm::CallSDNode::isInreg (  )  const [inline]

void llvm::CallSDNode::setNotTailCall (  )  [inline]

Set this call to not be marked as a tail call. Normally setter methods in SDNodes are unsafe because it breaks the CSE map, but we don't include the tail call flag for calls so it's ok in this case.

Definition at line 2299 of file SelectionDAGNodes.h.

SDValue llvm::CallSDNode::getChain (  )  const [inline]

Definition at line 2301 of file SelectionDAGNodes.h.

References llvm::SDValue::getOperand().

Referenced by LowerCALL(), and llvm::PIC16TargetLowering::LowerCALL().

SDValue llvm::CallSDNode::getCallee (  )  const [inline]

unsigned llvm::CallSDNode::getNumArgs (  )  const [inline]

SDValue llvm::CallSDNode::getArg ( unsigned  i  )  const [inline]

SDValue llvm::CallSDNode::getArgFlagsVal ( unsigned  i  )  const [inline]

Definition at line 2306 of file SelectionDAGNodes.h.

References llvm::SDValue::getOperand().

Referenced by llvm::PIC16TargetLowering::LowerCALL().

ISD::ArgFlagsTy llvm::CallSDNode::getArgFlags ( unsigned  i  )  const [inline]

unsigned llvm::CallSDNode::getNumRetVals (  )  const [inline]

MVT llvm::CallSDNode::getRetValType ( unsigned  i  )  const [inline]

static bool llvm::CallSDNode::classof ( const CallSDNode *   )  [inline, static]

Definition at line 2316 of file SelectionDAGNodes.h.

static bool llvm::CallSDNode::classof ( const SDNode *  N  )  [inline, static]

Reimplemented from llvm::SDNode.

Definition at line 2317 of file SelectionDAGNodes.h.

References llvm::ISD::CALL, and llvm::SDNode::getOpcode().


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 2277 of file SelectionDAGNodes.h.


The documentation for this class was generated from the following file: