LLVM API Documentation

llvm::CCValAssign Class Reference

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

#include <CallingConvLower.h>

Collaboration diagram for llvm::CCValAssign:
[legend]

List of all members.

Public Types

enum  LocInfo {
  Full, SExt, ZExt, AExt,
  BCvt, Indirect
}

Public Member Functions

unsigned getValNo () const
EVT getValVT () const
bool isRegLoc () const
bool isMemLoc () const
bool needsCustom () const
unsigned getLocReg () const
unsigned getLocMemOffset () const
EVT getLocVT () const
LocInfo getLocInfo () const
bool isExtInLoc () const

Static Public Member Functions

static CCValAssign getReg (unsigned ValNo, EVT ValVT, unsigned RegNo, EVT LocVT, LocInfo HTP)
static CCValAssign getCustomReg (unsigned ValNo, EVT ValVT, unsigned RegNo, EVT LocVT, LocInfo HTP)
static CCValAssign getMem (unsigned ValNo, EVT ValVT, unsigned Offset, EVT LocVT, LocInfo HTP)
static CCValAssign getCustomMem (unsigned ValNo, EVT ValVT, unsigned Offset, EVT LocVT, LocInfo HTP)


Detailed Description

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

Definition at line 29 of file CallingConvLower.h.


Member Enumeration Documentation

Enumerator:
Full 
SExt 
ZExt 
AExt 
BCvt 
Indirect 

Definition at line 31 of file CallingConvLower.h.


Member Function Documentation

static CCValAssign llvm::CCValAssign::getReg ( unsigned  ValNo,
EVT  ValVT,
unsigned  RegNo,
EVT  LocVT,
LocInfo  HTP 
) [inline, static]

Definition at line 63 of file CallingConvLower.h.

References HTP, isCustom, isMem, Loc, LocVT, llvm::MipsISD::Ret, ValNo, and ValVT.

Referenced by CC_MipsO32(), and getCustomReg().

static CCValAssign llvm::CCValAssign::getCustomReg ( unsigned  ValNo,
EVT  ValVT,
unsigned  RegNo,
EVT  LocVT,
LocInfo  HTP 
) [inline, static]

Definition at line 77 of file CallingConvLower.h.

References getReg(), isCustom, and llvm::MipsISD::Ret.

Referenced by f64AssignAAPCS(), f64AssignAPCS(), and f64RetAssign().

static CCValAssign llvm::CCValAssign::getMem ( unsigned  ValNo,
EVT  ValVT,
unsigned  Offset,
EVT  LocVT,
LocInfo  HTP 
) [inline, static]

Definition at line 86 of file CallingConvLower.h.

References HTP, isCustom, isMem, Loc, LocVT, llvm::MipsISD::Ret, ValNo, and ValVT.

Referenced by CC_MipsO32(), getCustomMem(), and llvm::CCState::HandleByVal().

static CCValAssign llvm::CCValAssign::getCustomMem ( unsigned  ValNo,
EVT  ValVT,
unsigned  Offset,
EVT  LocVT,
LocInfo  HTP 
) [inline, static]

Definition at line 100 of file CallingConvLower.h.

References getMem(), isCustom, and llvm::MipsISD::Ret.

Referenced by f64AssignAAPCS(), and f64AssignAPCS().

unsigned llvm::CCValAssign::getValNo (  )  const [inline]

Definition at line 109 of file CallingConvLower.h.

EVT llvm::CCValAssign::getValVT (  )  const [inline]

bool llvm::CCValAssign::isRegLoc (  )  const [inline]

bool llvm::CCValAssign::isMemLoc (  )  const [inline]

Definition at line 113 of file CallingConvLower.h.

Referenced by getLocMemOffset(), and llvm::SparcTargetLowering::LowerCall().

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

Definition at line 115 of file CallingConvLower.h.

unsigned llvm::CCValAssign::getLocReg (  )  const [inline]

unsigned llvm::CCValAssign::getLocMemOffset (  )  const [inline]

Definition at line 118 of file CallingConvLower.h.

References isMemLoc().

Referenced by llvm::SparcTargetLowering::LowerCall().

EVT llvm::CCValAssign::getLocVT (  )  const [inline]

LocInfo llvm::CCValAssign::getLocInfo (  )  const [inline]

bool llvm::CCValAssign::isExtInLoc (  )  const [inline]

Definition at line 122 of file CallingConvLower.h.

References AExt, SExt, and ZExt.


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