LLVM API Documentation
#include <SparcV9RegClassInfo.h>
Inheritance diagram for llvm::SparcV9IntRegClass:
Public Types | |
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 | |
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 |
Definition at line 28 of file SparcV9RegClassInfo.h.
anonymous 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 | |
StartOfNonVolatileRegs | |
StartOfAllRegs | |
ModifiedByCall |
Definition at line 43 of file SparcV9RegClassInfo.h.
llvm::SparcV9IntRegClass::SparcV9IntRegClass | ( | unsigned | ID | ) | [inline] |
Definition at line 29 of file SparcV9RegClassInfo.h.
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 c, llvm::DEBUG_RA, llvm::V9LiveRange::getSuggestedColor(), llvm::V9LiveRange::hasSuggestedColor(), llvm::V9LiveRange::isCallInterference(), llvm::V9LiveRange::isSuggestedColorUsable(), llvm::V9LiveRange::markForSpill(), Node, NumOfAvailRegs, llvm::V9LiveRange::setColor(), 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.