LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
llvm::TargetLowering::CallLoweringInfo Struct Reference

#include <TargetLowering.h>

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

Public Member Functions

 CallLoweringInfo (SDValue chain, Type *retTy, FunctionType *FTy, bool isTailCall, SDValue callee, ArgListTy &args, SelectionDAG &dag, SDLoc dl, ImmutableCallSite &cs)
 Constructs a call lowering context based on the ImmutableCallSite cs. More...
 
 CallLoweringInfo (SDValue chain, Type *retTy, bool retSExt, bool retZExt, bool isVarArg, bool isInReg, unsigned numFixedArgs, CallingConv::ID callConv, bool isTailCall, bool doesNotReturn, bool isReturnValueUsed, SDValue callee, ArgListTy &args, SelectionDAG &dag, SDLoc dl)
 

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
 
ArgListTyArgs
 
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 1949 of file TargetLowering.h.

Constructor & Destructor Documentation

llvm::TargetLowering::CallLoweringInfo::CallLoweringInfo ( SDValue  chain,
Type retTy,
FunctionType FTy,
bool  isTailCall,
SDValue  callee,
ArgListTy args,
SelectionDAG dag,
SDLoc  dl,
ImmutableCallSite cs 
)
inline

Constructs a call lowering context based on the ImmutableCallSite cs.

Definition at line 1976 of file TargetLowering.h.

llvm::TargetLowering::CallLoweringInfo::CallLoweringInfo ( SDValue  chain,
Type retTy,
bool  retSExt,
bool  retZExt,
bool  isVarArg,
bool  isInReg,
unsigned  numFixedArgs,
CallingConv::ID  callConv,
bool  isTailCall,
bool  doesNotReturn,
bool  isReturnValueUsed,
SDValue  callee,
ArgListTy args,
SelectionDAG dag,
SDLoc  dl 
)
inline

Constructs a call lowering context based on the provided call information.

Definition at line 1991 of file TargetLowering.h.

Member Data Documentation

ArgListTy& llvm::TargetLowering::CallLoweringInfo::Args
CallingConv::ID llvm::TargetLowering::CallLoweringInfo::CallConv
SDValue llvm::TargetLowering::CallLoweringInfo::Callee
SDValue llvm::TargetLowering::CallLoweringInfo::Chain
ImmutableCallSite* llvm::TargetLowering::CallLoweringInfo::CS
SelectionDAG& llvm::TargetLowering::CallLoweringInfo::DAG
SDLoc llvm::TargetLowering::CallLoweringInfo::DL
bool llvm::TargetLowering::CallLoweringInfo::DoesNotReturn

Definition at line 1956 of file TargetLowering.h.

SmallVector<ISD::InputArg, 32> llvm::TargetLowering::CallLoweringInfo::Ins
bool llvm::TargetLowering::CallLoweringInfo::IsInReg

Definition at line 1955 of file TargetLowering.h.

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

bool llvm::TargetLowering::CallLoweringInfo::IsReturnValueUsed

Definition at line 1957 of file TargetLowering.h.

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

bool llvm::TargetLowering::CallLoweringInfo::IsTailCall
bool llvm::TargetLowering::CallLoweringInfo::IsVarArg
unsigned llvm::TargetLowering::CallLoweringInfo::NumFixedArgs

Definition at line 1963 of file TargetLowering.h.

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

SmallVector<ISD::OutputArg, 32> llvm::TargetLowering::CallLoweringInfo::Outs
SmallVector<SDValue, 32> llvm::TargetLowering::CallLoweringInfo::OutVals
bool llvm::TargetLowering::CallLoweringInfo::RetSExt

Definition at line 1952 of file TargetLowering.h.

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

Type* llvm::TargetLowering::CallLoweringInfo::RetTy
bool llvm::TargetLowering::CallLoweringInfo::RetZExt

Definition at line 1953 of file TargetLowering.h.

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


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