[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 26 13:31:35 PDT 2005
Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.78 -> 1.79
---
Log message:
Add a new instruction flag
---
Diffs of the changes: (+12 -0)
TargetInstrInfo.h | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.78 llvm/include/llvm/Target/TargetInstrInfo.h:1.79
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.78 Fri Aug 19 11:56:26 2005
+++ llvm/include/llvm/Target/TargetInstrInfo.h Fri Aug 26 15:31:24 2005
@@ -73,6 +73,11 @@
// before control flow occurs.
const unsigned M_TERMINATOR_FLAG = 1 << 12;
+// M_USES_CUSTOM_DAG_SCHED_INSERTION - Set if this instruction requires custom
+// insertion support when the DAG scheduler is inserting it into a machine basic
+// block.
+const unsigned M_USES_CUSTOM_DAG_SCHED_INSERTION = 1 << 13;
+
/// TargetOperandInfo - This holds information about one operand of a machine
/// instruction, indicating the register class for register operands, etc.
///
@@ -264,6 +269,13 @@
return get(Opcode).Flags & M_DELAY_SLOT_FLAG;
}
+ /// usesCustomDAGSchedInsertionHook - Return true if this instruction requires
+ /// custom insertion support when the DAG scheduler is inserting it into a
+ /// machine basic block.
+ bool usesCustomDAGSchedInsertionHook(unsigned Opcode) const {
+ return get(Opcode).Flags & M_USES_CUSTOM_DAG_SCHED_INSERTION;
+ }
+
virtual bool hasResultInterlock(MachineOpCode Opcode) const {
return true;
}
More information about the llvm-commits
mailing list