LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::FastISel::CallLoweringInfo Struct Reference

#include <FastISel.h>

Collaboration diagram for llvm::FastISel::CallLoweringInfo:
[legend]

Public Member Functions

 CallLoweringInfo ()
 
CallLoweringInfosetCallee (Type *ResultTy, FunctionType *FuncTy, const Value *Target, ArgListTy &&ArgsList, ImmutableCallSite &Call)
 
CallLoweringInfosetCallee (Type *ResultTy, FunctionType *FuncTy, MCSymbol *Target, ArgListTy &&ArgsList, ImmutableCallSite &Call, unsigned FixedArgs=~0U)
 
CallLoweringInfosetCallee (CallingConv::ID CC, Type *ResultTy, const Value *Target, ArgListTy &&ArgsList, unsigned FixedArgs=~0U)
 
CallLoweringInfosetCallee (const DataLayout &DL, MCContext &Ctx, CallingConv::ID CC, Type *ResultTy, const char *Target, ArgListTy &&ArgsList, unsigned FixedArgs=~0U)
 
CallLoweringInfosetCallee (CallingConv::ID CC, Type *ResultTy, MCSymbol *Target, ArgListTy &&ArgsList, unsigned FixedArgs=~0U)
 
CallLoweringInfosetTailCall (bool Value=true)
 
CallLoweringInfosetIsPatchPoint (bool Value=true)
 
ArgListTygetArgs ()
 
void clearOuts ()
 
void clearIns ()
 

Public Attributes

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
 
const ValueCallee
 
MCSymbolSymbol
 
ArgListTy Args
 
ImmutableCallSiteCS
 
MachineInstrCall
 
unsigned ResultReg
 
unsigned NumResultRegs
 
bool IsPatchPoint
 
SmallVector< Value *, 16 > OutVals
 
SmallVector< ISD::ArgFlagsTy, 16 > OutFlags
 
SmallVector< unsigned, 16 > OutRegs
 
SmallVector< ISD::InputArg, 4 > Ins
 
SmallVector< unsigned, 4 > InRegs
 

Detailed Description

Definition at line 56 of file FastISel.h.

Constructor & Destructor Documentation

llvm::FastISel::CallLoweringInfo::CallLoweringInfo ( )
inline

Definition at line 87 of file FastISel.h.

Member Function Documentation

void llvm::FastISel::CallLoweringInfo::clearIns ( )
inline

Definition at line 185 of file FastISel.h.

References llvm::SmallVectorImpl< T >::clear(), InRegs, and Ins.

Referenced by llvm::FastISel::lowerCallTo().

void llvm::FastISel::CallLoweringInfo::clearOuts ( )
inline

Definition at line 179 of file FastISel.h.

References llvm::SmallVectorImpl< T >::clear(), OutFlags, OutRegs, and OutVals.

Referenced by llvm::FastISel::lowerCallTo().

ArgListTy& llvm::FastISel::CallLoweringInfo::getArgs ( )
inline

Definition at line 177 of file FastISel.h.

References Args.

Referenced by llvm::FastISel::lowerCallTo().

CallLoweringInfo& llvm::FastISel::CallLoweringInfo::setCallee ( Type ResultTy,
FunctionType FuncTy,
const Value Target,
ArgListTy &&  ArgsList,
ImmutableCallSite Call 
)
inline
CallLoweringInfo& llvm::FastISel::CallLoweringInfo::setCallee ( Type ResultTy,
FunctionType FuncTy,
MCSymbol Target,
ArgListTy &&  ArgsList,
ImmutableCallSite Call,
unsigned  FixedArgs = ~0U 
)
inline
CallLoweringInfo& llvm::FastISel::CallLoweringInfo::setCallee ( CallingConv::ID  CC,
Type ResultTy,
const Value Target,
ArgListTy &&  ArgsList,
unsigned  FixedArgs = ~0U 
)
inline

Definition at line 140 of file FastISel.h.

References Args, CallConv, Callee, NumFixedArgs, and RetTy.

FastISel::CallLoweringInfo & FastISel::CallLoweringInfo::setCallee ( const DataLayout DL,
MCContext Ctx,
CallingConv::ID  CC,
Type ResultTy,
const char *  Target,
ArgListTy &&  ArgsList,
unsigned  FixedArgs = ~0U 
)
CallLoweringInfo& llvm::FastISel::CallLoweringInfo::setCallee ( CallingConv::ID  CC,
Type ResultTy,
MCSymbol Target,
ArgListTy &&  ArgsList,
unsigned  FixedArgs = ~0U 
)
inline

Definition at line 156 of file FastISel.h.

References Args, CallConv, NumFixedArgs, RetTy, and Symbol.

CallLoweringInfo& llvm::FastISel::CallLoweringInfo::setIsPatchPoint ( bool  Value = true)
inline

Definition at line 172 of file FastISel.h.

References IsPatchPoint.

Referenced by llvm::FastISel::selectPatchpoint().

CallLoweringInfo& llvm::FastISel::CallLoweringInfo::setTailCall ( bool  Value = true)
inline

Definition at line 167 of file FastISel.h.

References IsTailCall.

Member Data Documentation

ArgListTy llvm::FastISel::CallLoweringInfo::Args

Definition at line 73 of file FastISel.h.

Referenced by getArgs(), and setCallee().

MachineInstr* llvm::FastISel::CallLoweringInfo::Call
CallingConv::ID llvm::FastISel::CallLoweringInfo::CallConv

Definition at line 70 of file FastISel.h.

Referenced by llvm::FastISel::lowerCallTo(), and setCallee().

const Value* llvm::FastISel::CallLoweringInfo::Callee

Definition at line 71 of file FastISel.h.

Referenced by setCallee().

ImmutableCallSite* llvm::FastISel::CallLoweringInfo::CS

Definition at line 74 of file FastISel.h.

Referenced by llvm::FastISel::lowerCallTo(), and setCallee().

bool llvm::FastISel::CallLoweringInfo::DoesNotReturn

Definition at line 62 of file FastISel.h.

Referenced by setCallee().

SmallVector<unsigned, 4> llvm::FastISel::CallLoweringInfo::InRegs
SmallVector<ISD::InputArg, 4> llvm::FastISel::CallLoweringInfo::Ins

Definition at line 84 of file FastISel.h.

Referenced by clearIns(), and llvm::FastISel::lowerCallTo().

bool llvm::FastISel::CallLoweringInfo::IsInReg

Definition at line 61 of file FastISel.h.

Referenced by getReturnAttrs(), llvm::FastISel::lowerCallTo(), and setCallee().

bool llvm::FastISel::CallLoweringInfo::IsPatchPoint

Definition at line 79 of file FastISel.h.

Referenced by setIsPatchPoint().

bool llvm::FastISel::CallLoweringInfo::IsReturnValueUsed

Definition at line 63 of file FastISel.h.

Referenced by llvm::FastISel::lowerCallTo(), and setCallee().

bool llvm::FastISel::CallLoweringInfo::IsTailCall

Definition at line 67 of file FastISel.h.

Referenced by setTailCall().

bool llvm::FastISel::CallLoweringInfo::IsVarArg

Definition at line 60 of file FastISel.h.

Referenced by llvm::FastISel::lowerCallTo(), and setCallee().

unsigned llvm::FastISel::CallLoweringInfo::NumFixedArgs

Definition at line 69 of file FastISel.h.

Referenced by setCallee().

unsigned llvm::FastISel::CallLoweringInfo::NumResultRegs

Definition at line 77 of file FastISel.h.

Referenced by llvm::FastISel::lowerCallTo(), and llvm::FastISel::selectPatchpoint().

SmallVector<ISD::ArgFlagsTy, 16> llvm::FastISel::CallLoweringInfo::OutFlags

Definition at line 82 of file FastISel.h.

Referenced by clearOuts(), and llvm::FastISel::lowerCallTo().

SmallVector<unsigned, 16> llvm::FastISel::CallLoweringInfo::OutRegs

Definition at line 83 of file FastISel.h.

Referenced by clearOuts(), and llvm::FastISel::selectPatchpoint().

SmallVector<Value *, 16> llvm::FastISel::CallLoweringInfo::OutVals

Definition at line 81 of file FastISel.h.

Referenced by clearOuts(), and llvm::FastISel::lowerCallTo().

unsigned llvm::FastISel::CallLoweringInfo::ResultReg

Definition at line 76 of file FastISel.h.

Referenced by llvm::FastISel::lowerCallTo(), and llvm::FastISel::selectPatchpoint().

bool llvm::FastISel::CallLoweringInfo::RetSExt

Definition at line 58 of file FastISel.h.

Referenced by getReturnAttrs(), llvm::FastISel::lowerCallTo(), and setCallee().

Type* llvm::FastISel::CallLoweringInfo::RetTy

Definition at line 57 of file FastISel.h.

Referenced by getReturnAttrs(), llvm::FastISel::lowerCallTo(), and setCallee().

bool llvm::FastISel::CallLoweringInfo::RetZExt

Definition at line 59 of file FastISel.h.

Referenced by getReturnAttrs(), llvm::FastISel::lowerCallTo(), and setCallee().

MCSymbol* llvm::FastISel::CallLoweringInfo::Symbol

Definition at line 72 of file FastISel.h.

Referenced by setCallee().


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