LLVM API Documentation

Public Types | Public Member Functions
llvm::MipsTargetLowering::MipsCC Class Reference

#include <MipsISelLowering.h>

List of all members.

Public Types

enum  SpecialCallingConvType { Mips16RetHelperConv, NoSpecialCallingConv }
typedef SmallVectorImpl
< ByValArgInfo >
::const_iterator 
byval_iterator

Public Member Functions

 MipsCC (CallingConv::ID CallConv, const MipsSubtarget &Subtarget, CCState &Info, SpecialCallingConvType SpecialCallingConv=NoSpecialCallingConv)
void analyzeCallOperands (const SmallVectorImpl< ISD::OutputArg > &Outs, bool IsVarArg, bool IsSoftFloat, const SDNode *CallNode, std::vector< ArgListEntry > &FuncArgs)
void analyzeFormalArguments (const SmallVectorImpl< ISD::InputArg > &Ins, bool IsSoftFloat, Function::const_arg_iterator FuncArg)
void analyzeCallResult (const SmallVectorImpl< ISD::InputArg > &Ins, bool IsSoftFloat, const SDNode *CallNode, const Type *RetTy) const
void analyzeReturn (const SmallVectorImpl< ISD::OutputArg > &Outs, bool IsSoftFloat, const Type *RetTy) const
const CCStategetCCInfo () const
bool hasByValArg () const
 hasByValArg - Returns true if function has byval arguments.
unsigned reservedArgArea () const
const ArrayRef< MCPhysRegintArgRegs () const
 Return pointer to array of integer argument registers.
byval_iterator byval_begin () const
byval_iterator byval_end () const

Detailed Description

MipsCC - This class provides methods used to analyze formal and call arguments and inquire about calling convention information.

Definition at line 352 of file MipsISelLowering.h.


Member Typedef Documentation

Definition at line 389 of file MipsISelLowering.h.


Member Enumeration Documentation

Enumerator:
Mips16RetHelperConv 
NoSpecialCallingConv 

Definition at line 354 of file MipsISelLowering.h.


Constructor & Destructor Documentation

Definition at line 3395 of file MipsISelLowering.cpp.

References llvm::CCState::AllocateStack(), and reservedArgArea().


Member Function Documentation

void MipsTargetLowering::MipsCC::analyzeCallOperands ( const SmallVectorImpl< ISD::OutputArg > &  Outs,
bool  IsVarArg,
bool  IsSoftFloat,
const SDNode CallNode,
std::vector< ArgListEntry > &  FuncArgs 
)
void MipsTargetLowering::MipsCC::analyzeCallResult ( const SmallVectorImpl< ISD::InputArg > &  Ins,
bool  IsSoftFloat,
const SDNode CallNode,
const Type RetTy 
) const

Definition at line 3501 of file MipsISelLowering.cpp.

void MipsTargetLowering::MipsCC::analyzeReturn ( const SmallVectorImpl< ISD::OutputArg > &  Outs,
bool  IsSoftFloat,
const Type RetTy 
) const

Definition at line 3507 of file MipsISelLowering.cpp.

Definition at line 377 of file MipsISelLowering.h.

hasByValArg - Returns true if function has byval arguments.

Definition at line 380 of file MipsISelLowering.h.

References llvm::SmallVectorBase::empty().

Return pointer to array of integer argument registers.

Definition at line 3540 of file MipsISelLowering.cpp.

References llvm::MipsSubtarget::isABI_O32(), llvm::makeArrayRef(), Mips64IntRegs, O32IntRegs, and llvm::MipsTargetLowering::Subtarget.

reservedArgArea - The size of the area the caller reserves for register arguments. This is 16-byte if ABI is O32.

Definition at line 3536 of file MipsISelLowering.cpp.

References llvm::CallingConv::Fast, llvm::MipsSubtarget::isABI_O32(), and llvm::MipsTargetLowering::Subtarget.

Referenced by MipsCC().


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