summaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-31 08:57:27 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-31 08:57:27 +0000
commit0cad9f53b15b7308e977864d681f710646e7d376 (patch)
treed570d1093b21c6dba1b30ee72faf8c5771db1d4c /include/llvm/Target
parent096f58b09adb03b5b060e12b327cff57329909f7 (diff)
downloadexternal_llvm-0cad9f53b15b7308e977864d681f710646e7d376.zip
external_llvm-0cad9f53b15b7308e977864d681f710646e7d376.tar.gz
external_llvm-0cad9f53b15b7308e977864d681f710646e7d376.tar.bz2
Doxygenify some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index a0b9e30..ab1f88b 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!");