mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
RST docs: convert HTML escapes to plain text in code examples.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -390,7 +390,7 @@ functions make it easy to build arbitrary machine instructions. Usage of the
|
||||
MachineInstr *MI = BuildMI(X86::MOV32ri, 1, DestReg).addImm(42);
|
||||
|
||||
// Create the same instr, but insert it at the end of a basic block.
|
||||
MachineBasicBlock &MBB = ...
|
||||
MachineBasicBlock &MBB = ...
|
||||
BuildMI(MBB, X86::MOV32ri, 1, DestReg).addImm(42);
|
||||
|
||||
// Create the same instr, but insert it before a specified iterator point.
|
||||
@@ -404,7 +404,7 @@ functions make it easy to build arbitrary machine instructions. Usage of the
|
||||
MI = BuildMI(X86::SAHF, 0);
|
||||
|
||||
// Create a self looping branch instruction.
|
||||
BuildMI(MBB, X86::JNE, 1).addMBB(&MBB);
|
||||
BuildMI(MBB, X86::JNE, 1).addMBB(&MBB);
|
||||
|
||||
The key thing to remember with the ``BuildMI`` functions is that you have to
|
||||
specify the number of operands that the machine instruction will take. This
|
||||
|
Reference in New Issue
Block a user