LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::SparcV9IntRegClass Struct Reference

#include <SparcV9RegClassInfo.h>

Inheritance diagram for llvm::SparcV9IntRegClass:

Inheritance graph
[legend]
Collaboration diagram for llvm::SparcV9IntRegClass:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  o0, o1, o2, o3,
  o4, o5, o7, l0,
  l1, l2, l3, l4,
  l5, l6, l7, i0,
  i1, i2, i3, i4,
  i5, i6, i7, g0,
  g1, g2, g3, g4,
  g5, g6, g7, o6,
  NumOfAllRegs, NumOfAvailRegs = i6, StartOfNonVolatileRegs = l0, StartOfAllRegs = o0,
  ModifiedByCall = o7
}

Public Member Functions

 SparcV9IntRegClass (unsigned ID)
void colorIGNode (IGNode *Node, const std::vector< bool > &IsColorUsedArr) const
bool isRegVolatile (int Reg) const
bool modifiedByCall (int Reg) const
const char *const getRegName (unsigned reg) const

Detailed Description

Definition at line 28 of file SparcV9RegClassInfo.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
o0 
o1 
o2 
o3 
o4 
o5 
o7 
l0 
l1 
l2 
l3 
l4 
l5 
l6 
l7 
i0 
i1 
i2 
i3 
i4 
i5 
i6 
i7 
g0 
g1 
g2 
g3 
g4 
g5 
g6 
g7 
o6 
NumOfAllRegs 
NumOfAvailRegs 
StartOfNonVolatileRegs 
StartOfAllRegs 
ModifiedByCall 

Definition at line 43 of file SparcV9RegClassInfo.h.


Constructor & Destructor Documentation

llvm::SparcV9IntRegClass::SparcV9IntRegClass unsigned  ID  )  [inline]
 

Definition at line 29 of file SparcV9RegClassInfo.h.


Member Function Documentation

void llvm::SparcV9IntRegClass::colorIGNode IGNode Node,
const std::vector< bool > &  IsColorUsedArr
const [virtual]
 

Implements llvm::TargetRegClassInfo.

Definition at line 39 of file SparcV9RegClassInfo.cpp.

References llvm::DEBUG_RA, llvm::IGNode::getParentLR(), NumOfAvailRegs, StartOfAllRegs, and StartOfNonVolatileRegs.

const char *const llvm::SparcV9IntRegClass::getRegName unsigned  reg  )  const [virtual]
 

Implements llvm::TargetRegClassInfo.

Definition at line 90 of file SparcV9RegInfo.cpp.

References llvm::IntRegNames, and NumOfAllRegs.

bool llvm::SparcV9IntRegClass::isRegVolatile int  Reg  )  const [inline, virtual]
 

Implements llvm::TargetRegClassInfo.

Definition at line 35 of file SparcV9RegClassInfo.h.

References StartOfNonVolatileRegs.

bool llvm::SparcV9IntRegClass::modifiedByCall int  Reg  )  const [inline, virtual]
 

Reimplemented from llvm::TargetRegClassInfo.

Definition at line 39 of file SparcV9RegClassInfo.h.

References ModifiedByCall.


The documentation for this struct was generated from the following files: