diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /include/llvm/MC/MCInstrInfo.h | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) |
Diffstat (limited to 'include/llvm/MC/MCInstrInfo.h')
-rw-r--r-- | include/llvm/MC/MCInstrInfo.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/llvm/MC/MCInstrInfo.h b/include/llvm/MC/MCInstrInfo.h index 1d3a36ca7c73..70c86587b08c 100644 --- a/include/llvm/MC/MCInstrInfo.h +++ b/include/llvm/MC/MCInstrInfo.h @@ -20,9 +20,7 @@ namespace llvm { //--------------------------------------------------------------------------- -/// -/// MCInstrInfo - Interface to description of machine instruction set -/// +/// \brief Interface to description of machine instruction set. class MCInstrInfo { const MCInstrDesc *Desc; // Raw array to allow static init'n const unsigned *InstrNameIndices; // Array for name indices in InstrNameData @@ -30,8 +28,8 @@ class MCInstrInfo { unsigned NumOpcodes; // Number of entries in the desc array public: - /// InitMCInstrInfo - Initialize MCInstrInfo, called by TableGen - /// auto-generated routines. *DO NOT USE*. + /// \brief Initialize MCInstrInfo, called by TableGen auto-generated routines. + /// *DO NOT USE*. void InitMCInstrInfo(const MCInstrDesc *D, const unsigned *NI, const char *ND, unsigned NO) { Desc = D; @@ -42,15 +40,14 @@ public: unsigned getNumOpcodes() const { return NumOpcodes; } - /// get - Return the machine instruction descriptor that corresponds to the + /// \brief Return the machine instruction descriptor that corresponds to the /// specified instruction opcode. - /// const MCInstrDesc &get(unsigned Opcode) const { assert(Opcode < NumOpcodes && "Invalid opcode!"); return Desc[Opcode]; } - /// getName - Returns the name for the instructions with the given opcode. + /// \brief Returns the name for the instructions with the given opcode. const char *getName(unsigned Opcode) const { assert(Opcode < NumOpcodes && "Invalid opcode!"); return &InstrNameData[InstrNameIndices[Opcode]]; |