LLVM API Documentation
#include <MipsISelLowering.h>
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.
typedef SmallVectorImpl<ByValArgInfo>::const_iterator llvm::MipsTargetLowering::MipsCC::byval_iterator |
Definition at line 389 of file MipsISelLowering.h.
Definition at line 354 of file MipsISelLowering.h.
MipsTargetLowering::MipsCC::MipsCC | ( | CallingConv::ID | CallConv, |
const MipsSubtarget & | Subtarget, | ||
CCState & | Info, | ||
MipsCC::SpecialCallingConvType | SpecialCallingConv_ = NoSpecialCallingConv |
||
) |
Definition at line 3395 of file MipsISelLowering.cpp.
References llvm::CCState::AllocateStack(), and reservedArgArea().
void MipsTargetLowering::MipsCC::analyzeCallOperands | ( | const SmallVectorImpl< ISD::OutputArg > & | Outs, |
bool | IsVarArg, | ||
bool | IsSoftFloat, | ||
const SDNode * | CallNode, | ||
std::vector< ArgListEntry > & | FuncArgs | ||
) |
Definition at line 3406 of file MipsISelLowering.cpp.
References llvm::dbgs(), llvm::CallingConv::Fast, llvm::CCValAssign::Full, llvm::EVT::getEVTString(), I, llvm::ISD::ArgFlagsTy::isByVal(), llvm_unreachable, and llvm::SmallVectorTemplateCommon< T, typename >::size().
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::analyzeFormalArguments | ( | const SmallVectorImpl< ISD::InputArg > & | Ins, |
bool | IsSoftFloat, | ||
Function::const_arg_iterator | FuncArg | ||
) |
Definition at line 3444 of file MipsISelLowering.cpp.
References advance(), llvm::dbgs(), llvm::CCValAssign::Full, llvm::EVT::getEVTString(), I, llvm::ISD::ArgFlagsTy::isByVal(), llvm_unreachable, and llvm::SmallVectorTemplateCommon< T, typename >::size().
void MipsTargetLowering::MipsCC::analyzeReturn | ( | const SmallVectorImpl< ISD::OutputArg > & | Outs, |
bool | IsSoftFloat, | ||
const Type * | RetTy | ||
) | const |
Definition at line 3507 of file MipsISelLowering.cpp.
byval_iterator llvm::MipsTargetLowering::MipsCC::byval_begin | ( | ) | const [inline] |
Definition at line 390 of file MipsISelLowering.h.
References llvm::SmallVectorTemplateCommon< T, typename >::begin().
byval_iterator llvm::MipsTargetLowering::MipsCC::byval_end | ( | ) | const [inline] |
Definition at line 391 of file MipsISelLowering.h.
References llvm::SmallVectorTemplateCommon< T, typename >::end().
const CCState& llvm::MipsTargetLowering::MipsCC::getCCInfo | ( | ) | const [inline] |
Definition at line 377 of file MipsISelLowering.h.
bool llvm::MipsTargetLowering::MipsCC::hasByValArg | ( | ) | const [inline] |
hasByValArg - Returns true if function has byval arguments.
Definition at line 380 of file MipsISelLowering.h.
References llvm::SmallVectorBase::empty().
const ArrayRef< MCPhysReg > MipsTargetLowering::MipsCC::intArgRegs | ( | ) | const |
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().