retdec
|
#include <x86_conv.h>
Public Member Functions | |
X86CallingConvention (const Abi *a) | |
virtual std::size_t | getMaxBytesPerStackParam () const override |
![]() | |
CallingConvention (const Abi *abi) | |
virtual | ~CallingConvention ()=default |
const std::vector< uint32_t > & | getParamRegisters () const |
const std::vector< uint32_t > & | getParamFPRegisters () const |
const std::vector< uint32_t > & | getParamDoubleRegisters () const |
const std::vector< uint32_t > & | getParamVectorRegisters () const |
const std::vector< uint32_t > & | getReturnRegisters () const |
const std::vector< uint32_t > & | getReturnFPRegisters () const |
const std::vector< uint32_t > & | getReturnDoubleRegisters () const |
const std::vector< uint32_t > & | getReturnVectorRegisters () const |
bool | usesFPRegistersForParameters () const |
std::size_t | getMaxNumOfRegsPerParam () const |
std::size_t | getMaxNumOfFPRegsPerParam () const |
std::size_t | getMaxNumOfDoubleRegsPerParam () const |
std::size_t | getMaxNumOfVectorRegsPerParam () const |
std::size_t | getMaxNumOfRegsPerReturn () const |
std::size_t | getMaxNumOfFPRegsPerReturn () const |
std::size_t | getMaxNumOfDoubleRegsPerReturn () const |
std::size_t | getMaxNumOfVectorRegsPerReturn () const |
bool | getStackParamOrder () const |
bool | usesStackForParameters () const |
bool | passesLargeObjectsByReference () const |
bool | respectsRegisterCouples () const |
virtual bool | valueCanBeParameter (const llvm::Value *val) const |
virtual bool | canHoldReturnValue (const llvm::Value *val) const |
Additional Inherited Members | |
![]() | |
typedef std::unique_ptr< CallingConvention > | Ptr |
typedef retdec::common::CallingConventionID | ID |
typedef Ptr(* | ConstructorMethod) (const Abi *) |
![]() | |
static const bool | RTL = true |
static const bool | LTR = false |
![]() | |
const Abi * | _abi |
CallingConvention::ID | _ccType |
std::vector< uint32_t > | _paramRegs {} |
std::vector< uint32_t > | _paramFPRegs {} |
std::vector< uint32_t > | _paramDoubleRegs {} |
std::vector< uint32_t > | _paramVectorRegs {} |
std::vector< uint32_t > | _returnRegs {} |
std::vector< uint32_t > | _returnFPRegs {} |
std::vector< uint32_t > | _returnDoubleRegs {} |
std::vector< uint32_t > | _returnVectorRegs {} |
size_t | _numOfRegsPerParam = 1 |
size_t | _numOfFPRegsPerParam = 1 |
size_t | _numOfDoubleRegsPerParam = 1 |
size_t | _numOfVectorRegsPerParam = 1 |
size_t | _numOfRegsPerReturn = 1 |
size_t | _numOfFPRegsPerReturn = 1 |
size_t | _numOfDoubleRegsPerReturn = 1 |
size_t | _numOfVectorRegsPerReturn = 1 |
bool | _stackParamOrder = RTL |
bool | _largeObjectsPassedByReference = false |
bool | _respectsRegCouples = false |
retdec::bin2llvmir::X86CallingConvention::X86CallingConvention | ( | const Abi * | a | ) |
|
overridevirtual |
Reimplemented from retdec::bin2llvmir::CallingConvention.