LLVM API Documentation
CCValAssign - Represent assignment of one arg/retval to a location. More...
#include <CallingConvLower.h>
Public Types | |
enum | LocInfo { Full, SExt, ZExt, AExt, BCvt, VExt, FPExt, Indirect } |
Public Member Functions | |
void | convertToReg (unsigned RegNo) |
void | convertToMem (unsigned Offset) |
unsigned | getValNo () const |
MVT | getValVT () const |
bool | isRegLoc () const |
bool | isMemLoc () const |
bool | needsCustom () const |
unsigned | getLocReg () const |
unsigned | getLocMemOffset () const |
MVT | getLocVT () const |
LocInfo | getLocInfo () const |
bool | isExtInLoc () const |
Static Public Member Functions | |
static CCValAssign | getReg (unsigned ValNo, MVT ValVT, unsigned RegNo, MVT LocVT, LocInfo HTP) |
static CCValAssign | getCustomReg (unsigned ValNo, MVT ValVT, unsigned RegNo, MVT LocVT, LocInfo HTP) |
static CCValAssign | getMem (unsigned ValNo, MVT ValVT, unsigned Offset, MVT LocVT, LocInfo HTP) |
static CCValAssign | getCustomMem (unsigned ValNo, MVT ValVT, unsigned Offset, MVT LocVT, LocInfo HTP) |
static CCValAssign | getPending (unsigned ValNo, MVT ValVT, MVT LocVT, LocInfo HTP) |
CCValAssign - Represent assignment of one arg/retval to a location.
Definition at line 31 of file CallingConvLower.h.
Definition at line 33 of file CallingConvLower.h.
void llvm::CCValAssign::convertToMem | ( | unsigned | Offset | ) | [inline] |
Definition at line 127 of file CallingConvLower.h.
void llvm::CCValAssign::convertToReg | ( | unsigned | RegNo | ) | [inline] |
Definition at line 122 of file CallingConvLower.h.
static CCValAssign llvm::CCValAssign::getCustomMem | ( | unsigned | ValNo, |
MVT | ValVT, | ||
unsigned | Offset, | ||
MVT | LocVT, | ||
LocInfo | HTP | ||
) | [inline, static] |
Definition at line 106 of file CallingConvLower.h.
References getMem(), and llvm::MipsISD::Ret.
Referenced by CC_Sparc_Assign_f64(), CC_Sparc_Assign_SRet(), llvm::f64AssignAAPCS(), and llvm::f64AssignAPCS().
static CCValAssign llvm::CCValAssign::getCustomReg | ( | unsigned | ValNo, |
MVT | ValVT, | ||
unsigned | RegNo, | ||
MVT | LocVT, | ||
LocInfo | HTP | ||
) | [inline, static] |
Definition at line 83 of file CallingConvLower.h.
References getReg(), and llvm::MipsISD::Ret.
Referenced by CC_Sparc64_Half(), CC_Sparc_Assign_f64(), llvm::f64AssignAAPCS(), llvm::f64AssignAPCS(), llvm::f64RetAssign(), and fixupVariableFloatArgs().
LocInfo llvm::CCValAssign::getLocInfo | ( | ) | const [inline] |
Definition at line 144 of file CallingConvLower.h.
Referenced by canUseSiblingCall(), convertLocVTToValVT(), convertValVTToLocVT(), fixupVariableFloatArgs(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::SparcTargetLowering::LowerFormalArguments_64(), and llvm::SparcTargetLowering::LowerReturn_64().
unsigned llvm::CCValAssign::getLocMemOffset | ( | ) | const [inline] |
Definition at line 141 of file CallingConvLower.h.
References isMemLoc().
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), LowerCallResult(), llvm::R600TargetLowering::LowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), llvm::HexagonTargetLowering::LowerFormalArguments(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerFormalArguments_32(), and llvm::SparcTargetLowering::LowerFormalArguments_64().
unsigned llvm::CCValAssign::getLocReg | ( | ) | const [inline] |
Definition at line 140 of file CallingConvLower.h.
References isRegLoc().
Referenced by canUseSiblingCall(), fixupVariableFloatArgs(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), LowerCallResult(), llvm::R600TargetLowering::LowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), llvm::HexagonTargetLowering::LowerFormalArguments(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerFormalArguments_32(), llvm::SparcTargetLowering::LowerFormalArguments_64(), llvm::HexagonTargetLowering::LowerReturn(), llvm::SystemZTargetLowering::LowerReturn(), llvm::SparcTargetLowering::LowerReturn_32(), and llvm::SparcTargetLowering::LowerReturn_64().
MVT llvm::CCValAssign::getLocVT | ( | ) | const [inline] |
Definition at line 142 of file CallingConvLower.h.
Referenced by convertLocVTToValVT(), convertValVTToLocVT(), fixupVariableFloatArgs(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::R600TargetLowering::LowerFormalArguments(), llvm::SITargetLowering::LowerFormalArguments(), llvm::HexagonTargetLowering::LowerFormalArguments(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerFormalArguments_32(), llvm::SparcTargetLowering::LowerFormalArguments_64(), llvm::HexagonTargetLowering::LowerReturn(), llvm::SystemZTargetLowering::LowerReturn(), llvm::SparcTargetLowering::LowerReturn_32(), and llvm::SparcTargetLowering::LowerReturn_64().
static CCValAssign llvm::CCValAssign::getMem | ( | unsigned | ValNo, |
MVT | ValVT, | ||
unsigned | Offset, | ||
MVT | LocVT, | ||
LocInfo | HTP | ||
) | [inline, static] |
Definition at line 92 of file CallingConvLower.h.
References llvm::MipsISD::Ret.
Referenced by allocateStack(), CC_Hexagon(), CC_Hexagon32(), CC_Hexagon64(), CC_Hexagon_VarArg(), CC_MipsO32(), CC_Sparc64_Full(), CC_Sparc64_Half(), fixupVariableFloatArgs(), getCustomMem(), llvm::Hexagon_CCState::HandleByVal(), llvm::CCState::HandleByVal(), RetCC_Hexagon32(), and RetCC_Hexagon64().
static CCValAssign llvm::CCValAssign::getPending | ( | unsigned | ValNo, |
MVT | ValVT, | ||
MVT | LocVT, | ||
LocInfo | HTP | ||
) | [inline, static] |
Definition at line 117 of file CallingConvLower.h.
References getReg().
Referenced by llvm::CC_ARM_AAPCS_Custom_HA().
static CCValAssign llvm::CCValAssign::getReg | ( | unsigned | ValNo, |
MVT | ValVT, | ||
unsigned | RegNo, | ||
MVT | LocVT, | ||
LocInfo | HTP | ||
) | [inline, static] |
Definition at line 69 of file CallingConvLower.h.
References llvm::MipsISD::Ret.
Referenced by AnalyzeArguments(), llvm::Hexagon_CCState::AnalyzeReturn(), CC_Hexagon32(), CC_Hexagon64(), CC_MipsO32(), CC_Sparc64_Full(), CC_Sparc64_Half(), fixupVariableFloatArgs(), getCustomReg(), getPending(), RetCC_Hexagon32(), and RetCC_Hexagon64().
unsigned llvm::CCValAssign::getValNo | ( | ) | const [inline] |
Definition at line 132 of file CallingConvLower.h.
Referenced by fixupVariableFloatArgs().
MVT llvm::CCValAssign::getValVT | ( | ) | const [inline] |
Definition at line 133 of file CallingConvLower.h.
Referenced by convertLocVTToValVT(), fixupVariableFloatArgs(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_64(), LowerCallResult(), llvm::SparcTargetLowering::LowerFormalArguments_32(), llvm::SparcTargetLowering::LowerFormalArguments_64(), and llvm::SparcTargetLowering::LowerReturn_64().
bool llvm::CCValAssign::isExtInLoc | ( | ) | const [inline] |
Definition at line 145 of file CallingConvLower.h.
References AExt, SExt, and ZExt.
Referenced by convertLocVTToValVT(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::SparcTargetLowering::LowerFormalArguments_64().
bool llvm::CCValAssign::isMemLoc | ( | ) | const [inline] |
Definition at line 136 of file CallingConvLower.h.
Referenced by getLocMemOffset(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), LowerCallResult(), llvm::SITargetLowering::LowerFormalArguments(), llvm::HexagonTargetLowering::LowerFormalArguments(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerFormalArguments_32(), and llvm::SparcTargetLowering::LowerFormalArguments_64().
bool llvm::CCValAssign::isRegLoc | ( | ) | const [inline] |
Definition at line 135 of file CallingConvLower.h.
Referenced by canUseSiblingCall(), fixupVariableFloatArgs(), getLocReg(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), LowerCallResult(), llvm::SITargetLowering::LowerFormalArguments(), llvm::HexagonTargetLowering::LowerFormalArguments(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerFormalArguments_32(), llvm::SparcTargetLowering::LowerFormalArguments_64(), llvm::SystemZTargetLowering::LowerReturn(), llvm::SparcTargetLowering::LowerReturn_32(), and llvm::SparcTargetLowering::LowerReturn_64().
bool llvm::CCValAssign::needsCustom | ( | ) | const [inline] |
Definition at line 138 of file CallingConvLower.h.
Referenced by llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::SparcTargetLowering::LowerFormalArguments_32(), llvm::SparcTargetLowering::LowerFormalArguments_64(), and llvm::SparcTargetLowering::LowerReturn_64().