[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 24 12:21:23 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.30 -> 1.31
---
Log message:
Add a PrintAsmMemoryOperand method for printing addresses
---
Diffs of the changes: (+9 -1)
AsmPrinter.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.30 llvm/include/llvm/CodeGen/AsmPrinter.h:1.31
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.30 Wed Feb 8 17:41:34 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Fri Feb 24 14:21:12 2006
@@ -198,11 +198,19 @@
/// PrintAsmOperand - Print the specified operand of MI, an INLINEASM
/// instruction, using the specified assembler variant. Targets should
- /// overried this to format as appropriate. This method can return true if
+ /// override this to format as appropriate. This method can return true if
/// the operand is erroneous.
virtual bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant, const char *ExtraCode);
+ /// PrintAsmMemoryOperand - Print the specified operand of MI, an INLINEASM
+ /// instruction, using the specified assembler variant as an address.
+ /// Targets should override this to format as appropriate. This method can
+ /// return true if the operand is erroneous.
+ virtual bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
+ unsigned AsmVariant,
+ const char *ExtraCode);
+
/// SetupMachineFunction - This should be called when a new MachineFunction
/// is being processed from runOnMachineFunction.
void SetupMachineFunction(MachineFunction &MF);
More information about the llvm-commits
mailing list