LLVM API Documentation
#include <SelectionDAGNodes.h>
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 |
Definition at line 2268 of file SelectionDAGNodes.h.
| 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.
| unsigned llvm::CallSDNode::getCallingConv | ( | ) | const [inline] |
Definition at line 2290 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom(), llvm::X86TargetLowering::IsEligibleForTailCallOptimization(), llvm::PPCTargetLowering::IsEligibleForTailCallOptimization(), LowerCALL(), and llvm::PIC16TargetLowering::LowerCALL().
| unsigned llvm::CallSDNode::isVarArg | ( | ) | const [inline] |
Definition at line 2291 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom(), llvm::PPCTargetLowering::IsEligibleForTailCallOptimization(), LowerCALL(), and llvm::PIC16TargetLowering::LowerCALL().
| 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] |
Definition at line 2293 of file SelectionDAGNodes.h.
Referenced by llvm::CCState::AnalyzeCallResult(), and llvm::PIC16TargetLowering::LowerCALL().
| 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] |
Definition at line 2302 of file SelectionDAGNodes.h.
References llvm::SDValue::getOperand().
Referenced by llvm::X86TargetLowering::IsEligibleForTailCallOptimization(), llvm::PPCTargetLowering::IsEligibleForTailCallOptimization(), LowerCALL(), and llvm::PIC16TargetLowering::LowerCALL().
| unsigned llvm::CallSDNode::getNumArgs | ( | ) | const [inline] |
Definition at line 2304 of file SelectionDAGNodes.h.
References llvm::SDValue::getNumOperands().
Referenced by llvm::CCState::AnalyzeCallOperands(), CalculateParameterAndLinkageAreaSize(), CallIsStructReturn(), llvm::PPCTargetLowering::IsEligibleForTailCallOptimization(), LowerCALL(), llvm::PIC16TargetLowering::LowerCALL(), and llvm::PIC16TargetLowering::LowerCallArguments().
Definition at line 2305 of file SelectionDAGNodes.h.
References llvm::SDValue::getOperand().
Referenced by llvm::CCState::AnalyzeCallOperands(), CalculateParameterAndLinkageAreaSize(), LowerCALL(), llvm::PIC16TargetLowering::LowerCALL(), and llvm::PIC16TargetLowering::LowerCallArguments().
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] |
Definition at line 2309 of file SelectionDAGNodes.h.
Referenced by llvm::CCState::AnalyzeCallOperands(), CalculateParameterAndLinkageAreaSize(), CallIsStructReturn(), and llvm::PPCTargetLowering::IsEligibleForTailCallOptimization().
| unsigned llvm::CallSDNode::getNumRetVals | ( | ) | const [inline] |
Definition at line 2313 of file SelectionDAGNodes.h.
Referenced by llvm::CCState::AnalyzeCallResult(), llvm::PIC16TargetLowering::LowerCALL(), and llvm::PIC16TargetLowering::LowerCallReturn().
Definition at line 2314 of file SelectionDAGNodes.h.
References llvm::SDValue::getValueType().
Referenced by llvm::CCState::AnalyzeCallResult(), and llvm::PIC16TargetLowering::LowerCALL().
| 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().
friend class SelectionDAG [friend] |