mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Doxygenify some methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ceece5f7d
commit
6c8d90d65f
@ -66,17 +66,21 @@ public:
|
||||
RegSize(RS), Alignment(Al), RegsBegin(RB), RegsEnd(RE) {}
|
||||
virtual ~TargetRegisterClass() {} // Allow subclasses
|
||||
|
||||
// getID() - Return the register class ID number.
|
||||
/// getID() - Return the register class ID number.
|
||||
///
|
||||
unsigned getID() const { return ID; }
|
||||
|
||||
// begin/end - Return all of the registers in this class.
|
||||
/// begin/end - Return all of the registers in this class.
|
||||
///
|
||||
iterator begin() const { return RegsBegin; }
|
||||
iterator end() const { return RegsEnd; }
|
||||
|
||||
// getNumRegs - Return the number of registers in this class
|
||||
/// getNumRegs - Return the number of registers in this class.
|
||||
///
|
||||
unsigned getNumRegs() const { return RegsEnd-RegsBegin; }
|
||||
|
||||
// getRegister - Return the specified register in the class
|
||||
/// getRegister - Return the specified register in the class.
|
||||
///
|
||||
unsigned getRegister(unsigned i) const {
|
||||
assert(i < getNumRegs() && "Register number out of range!");
|
||||
return RegsBegin[i];
|
||||
|
Loading…
Reference in New Issue
Block a user