LLVM API Documentation

Public Member Functions | Public Attributes
llvm::TargetLowering::CallLoweringInfo Struct Reference

#include <TargetLowering.h>

Collaboration diagram for llvm::TargetLowering::CallLoweringInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CallLoweringInfo (SelectionDAG &DAG)
CallLoweringInfosetDebugLoc (SDLoc dl)
CallLoweringInfosetChain (SDValue InChain)
CallLoweringInfosetCallee (CallingConv::ID CC, Type *ResultType, SDValue Target, ArgListTy &&ArgsList, unsigned FixedArgs=-1)
CallLoweringInfosetCallee (Type *ResultType, FunctionType *FTy, SDValue Target, ArgListTy &&ArgsList, ImmutableCallSite &Call)
CallLoweringInfosetInRegister (bool Value=true)
CallLoweringInfosetNoReturn (bool Value=true)
CallLoweringInfosetVarArg (bool Value=true)
CallLoweringInfosetTailCall (bool Value=true)
CallLoweringInfosetDiscardResult (bool Value=true)
CallLoweringInfosetSExtResult (bool Value=true)
CallLoweringInfosetZExtResult (bool Value=true)
ArgListTygetArgs ()

Public Attributes

SDValue Chain
TypeRetTy
bool RetSExt: 1
bool RetZExt: 1
bool IsVarArg: 1
bool IsInReg: 1
bool DoesNotReturn: 1
bool IsReturnValueUsed: 1
bool IsTailCall
unsigned NumFixedArgs
CallingConv::ID CallConv
SDValue Callee
ArgListTy Args
SelectionDAGDAG
SDLoc DL
ImmutableCallSiteCS
SmallVector< ISD::OutputArg, 32 > Outs
SmallVector< SDValue, 32 > OutVals
SmallVector< ISD::InputArg, 32 > Ins

Detailed Description

This structure contains all information that is necessary for lowering calls. It is passed to TLI::LowerCallTo when the SelectionDAG builder needs to lower a call, and targets will see this struct in their LowerCall implementation.

Definition at line 2176 of file TargetLowering.h.


Constructor & Destructor Documentation

Definition at line 2201 of file TargetLowering.h.


Member Function Documentation

Definition at line 2287 of file TargetLowering.h.

References Args.

Referenced by llvm::NVPTXTargetLowering::LowerCall(), and llvm::TargetLowering::LowerCallTo().

CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setCallee ( CallingConv::ID  CC,
Type ResultType,
SDValue  Target,
ArgListTy &&  ArgsList,
unsigned  FixedArgs = -1 
) [inline]
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setCallee ( Type ResultType,
FunctionType FTy,
SDValue  Target,
ArgListTy &&  ArgsList,
ImmutableCallSite Call 
) [inline]

Definition at line 2272 of file TargetLowering.h.

References IsReturnValueUsed.

Referenced by llvm::TargetLowering::makeLibCall().

Definition at line 2252 of file TargetLowering.h.

References IsInReg.

Definition at line 2257 of file TargetLowering.h.

References DoesNotReturn.

Definition at line 2277 of file TargetLowering.h.

References RetSExt.

Referenced by llvm::TargetLowering::makeLibCall().

Definition at line 2267 of file TargetLowering.h.

References IsTailCall.

Referenced by llvm::SelectionDAGBuilder::LowerCallTo().

Definition at line 2262 of file TargetLowering.h.

References IsVarArg.

Definition at line 2282 of file TargetLowering.h.

References RetZExt.

Referenced by llvm::TargetLowering::makeLibCall().


Member Data Documentation

Definition at line 2193 of file TargetLowering.h.

Referenced by getArgs(), and setCallee().

Definition at line 2183 of file TargetLowering.h.

Referenced by setCallee(), and setNoReturn().

Definition at line 2190 of file TargetLowering.h.

Referenced by llvm::TargetLowering::LowerCallTo(), and setCallee().


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