LLVM  4.0.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::CCValAssign Class Reference

CCValAssign - Represent assignment of one arg/retval to a location. More...

#include <CallingConvLower.h>

Public Types

enum  LocInfo {
  Full, SExt, ZExt, AExt,
  SExtUpper, ZExtUpper, AExtUpper, 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
 
unsigned getExtraInfo () const
 
MVT getLocVT () const
 
LocInfo getLocInfo () const
 
bool isExtInLoc () const
 
bool isUpperBitsInLoc () 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, unsigned ExtraInfo=0)
 

Detailed Description

CCValAssign - Represent assignment of one arg/retval to a location.

Definition at line 32 of file CallingConvLower.h.

Member Enumeration Documentation

Enumerator
Full 
SExt 
ZExt 
AExt 
SExtUpper 
ZExtUpper 
AExtUpper 
BCvt 
VExt 
FPExt 
Indirect 

Definition at line 34 of file CallingConvLower.h.

Member Function Documentation

void llvm::CCValAssign::convertToMem ( unsigned  Offset)
inline

Definition at line 135 of file CallingConvLower.h.

References Offset.

void llvm::CCValAssign::convertToReg ( unsigned  RegNo)
inline

Definition at line 130 of file CallingConvLower.h.

static CCValAssign llvm::CCValAssign::getCustomMem ( unsigned  ValNo,
MVT  ValVT,
unsigned  Offset,
MVT  LocVT,
LocInfo  HTP 
)
inlinestatic
static CCValAssign llvm::CCValAssign::getCustomReg ( unsigned  ValNo,
MVT  ValVT,
unsigned  RegNo,
MVT  LocVT,
LocInfo  HTP 
)
inlinestatic
unsigned llvm::CCValAssign::getExtraInfo ( ) const
inline

Definition at line 150 of file CallingConvLower.h.

LocInfo llvm::CCValAssign::getLocInfo ( ) const
inline
unsigned llvm::CCValAssign::getLocMemOffset ( ) const
inline
unsigned llvm::CCValAssign::getLocReg ( ) const
inline
MVT llvm::CCValAssign::getLocVT ( ) const
inline
static CCValAssign llvm::CCValAssign::getMem ( unsigned  ValNo,
MVT  ValVT,
unsigned  Offset,
MVT  LocVT,
LocInfo  HTP 
)
inlinestatic
static CCValAssign llvm::CCValAssign::getPending ( unsigned  ValNo,
MVT  ValVT,
MVT  LocVT,
LocInfo  HTP,
unsigned  ExtraInfo = 0 
)
inlinestatic
static CCValAssign llvm::CCValAssign::getReg ( unsigned  ValNo,
MVT  ValVT,
unsigned  RegNo,
MVT  LocVT,
LocInfo  HTP 
)
inlinestatic
unsigned llvm::CCValAssign::getValNo ( ) const
inline
MVT llvm::CCValAssign::getValVT ( ) const
inline
bool llvm::CCValAssign::isExtInLoc ( ) const
inline
bool llvm::CCValAssign::isMemLoc ( ) const
inline
bool llvm::CCValAssign::isRegLoc ( ) const
inline
bool llvm::CCValAssign::isUpperBitsInLoc ( ) const
inline

Definition at line 158 of file CallingConvLower.h.

References AExtUpper, SExtUpper, and ZExtUpper.

bool llvm::CCValAssign::needsCustom ( ) const
inline

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