mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Doxygenify some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
096f58b09a
commit
0cad9f53b1
@ -147,27 +147,23 @@ public:
|
|||||||
return get(Opcode).Flags & M_TERMINATOR_FLAG;
|
return get(Opcode).Flags & M_TERMINATOR_FLAG;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
/// Return true if the instruction is a register to register move
|
||||||
// Return true if the instruction is a register to register move and
|
/// and leave the source and dest operands in the passed parameters.
|
||||||
// leave the source and dest operands in the passed parameters.
|
|
||||||
//
|
|
||||||
virtual bool isMoveInstr(const MachineInstr& MI,
|
virtual bool isMoveInstr(const MachineInstr& MI,
|
||||||
unsigned& sourceReg,
|
unsigned& sourceReg,
|
||||||
unsigned& destReg) const {
|
unsigned& destReg) const {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
/// Insert a goto (unconditional branch) sequence to MBB, right
|
||||||
// Insert a goto (unconditional branch) sequence to MBB, right
|
/// before MBBI
|
||||||
// before MBBI
|
|
||||||
virtual void insertGoto(const MachineBasicBlock& MBB,
|
virtual void insertGoto(const MachineBasicBlock& MBB,
|
||||||
MachineBasicBlock::iterator MBBI) const {
|
MachineBasicBlock::iterator MBBI) const {
|
||||||
assert(0 && "Target didn't implement insertGoto!");
|
assert(0 && "Target didn't implement insertGoto!");
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
/// Reverses the branch condition of the MachineInstr pointed by
|
||||||
// Reverses the branch condition of the MachineInstr pointed by
|
/// MI. The instruction is replaced and the new MI is returned.
|
||||||
// MI. The instruction is replaced and the new MI is returned.
|
|
||||||
virtual MachineBasicBlock::iterator
|
virtual MachineBasicBlock::iterator
|
||||||
reverseBranchCondition(MachineBasicBlock::iterator MI) const {
|
reverseBranchCondition(MachineBasicBlock::iterator MI) const {
|
||||||
assert(0 && "Target didn't implement reverseBranchCondition!");
|
assert(0 && "Target didn't implement reverseBranchCondition!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user