From: Alkis Evlogimenos Date: Sat, 31 Jul 2004 08:57:27 +0000 (+0000) Subject: Doxygenify some comments. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0cad9f53b15b7308e977864d681f710646e7d376;p=oota-llvm.git Doxygenify some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15360 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index a0b9e303686..ab1f88b4344 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -147,27 +147,23 @@ public: return get(Opcode).Flags & M_TERMINATOR_FLAG; } - // - // Return true if the instruction is a register to register move and - // leave the source and dest operands in the passed parameters. - // + /// Return true if the instruction is a register to register move + /// and leave the source and dest operands in the passed parameters. virtual bool isMoveInstr(const MachineInstr& MI, unsigned& sourceReg, unsigned& destReg) const { return false; } - // - // Insert a goto (unconditional branch) sequence to MBB, right - // before MBBI + /// Insert a goto (unconditional branch) sequence to MBB, right + /// before MBBI virtual void insertGoto(const MachineBasicBlock& MBB, MachineBasicBlock::iterator MBBI) const { assert(0 && "Target didn't implement insertGoto!"); } - // - // Reverses the branch condition of the MachineInstr pointed by - // MI. The instruction is replaced and the new MI is returned. + /// Reverses the branch condition of the MachineInstr pointed by + /// MI. The instruction is replaced and the new MI is returned. virtual MachineBasicBlock::iterator reverseBranchCondition(MachineBasicBlock::iterator MI) const { assert(0 && "Target didn't implement reverseBranchCondition!");