[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h SelectionDAGNodes.h
Jim Laskey
jlaskey at apple.com
Fri Jan 26 06:35:27 PST 2007
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.60 -> 1.61
SelectionDAGNodes.h updated: 1.163 -> 1.164
---
Log message:
Make LABEL a builtin opcode.
---
Diffs of the changes: (+11 -6)
AsmPrinter.h | 4 ++++
SelectionDAGNodes.h | 13 +++++++------
2 files changed, 11 insertions(+), 6 deletions(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.60 llvm/include/llvm/CodeGen/AsmPrinter.h:1.61
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.60 Thu Jan 25 09:12:02 2007
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Fri Jan 26 08:34:51 2007
@@ -266,6 +266,10 @@
/// instruction that is an inline asm.
void printInlineAsm(const MachineInstr *MI) const;
+ /// printLabel - This method prints a local label used by debug and
+ /// exception handling tables.
+ void printLabel(const MachineInstr *MI) const;
+
/// printBasicBlockLabel - This method prints the label for the specified
/// MachineBasicBlock
virtual void printBasicBlockLabel(const MachineBasicBlock *MBB,
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.163 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.164
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.163 Sat Dec 16 00:21:55 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Fri Jan 26 08:34:51 2007
@@ -436,6 +436,13 @@
// Operand #2n+3: A TargetConstant, indicating if the reg is a use/def
// Operand #last: Optional, an incoming flag.
INLINEASM,
+
+ // LABEL - Represents a label in mid basic block used to track
+ // locations needed for debug and exception handling tables. This node
+ // returns a chain.
+ // Operand #0 : input chain.
+ // Operand #1 : module unique number use to identify the label.
+ LABEL,
// STACKSAVE - STACKSAVE has one operand, an input chain. It produces a
// value, the same type as the pointer type for the system, and an output
@@ -503,12 +510,6 @@
// produces a token chain as output.
DEBUG_LOC,
- // DEBUG_LABEL - This node is used to mark a location in the code where a
- // label should be generated for use by the debug information. It takes a
- // token chain as input and then a unique id (provided by MachineDebugInfo.)
- // It produces a token chain as output.
- DEBUG_LABEL,
-
// BUILTIN_OP_END - This must be the last enum value in this list.
BUILTIN_OP_END
};
More information about the llvm-commits
mailing list