summaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-05 23:50:42 +0000
committerChris Lattner <sabre@nondot.org>2006-03-05 23:50:42 +0000
commit202bc85a9508de5b5f24cfbac060e17ea2f5f8dc (patch)
tree462d087d79ffb948846e71557f7045ca5069f868 /include/llvm/CodeGen
parentbbf1c72d51a77bf54c9c684b90a78e59f0b70b2f (diff)
downloadexternal_llvm-202bc85a9508de5b5f24cfbac060e17ea2f5f8dc.zip
external_llvm-202bc85a9508de5b5f24cfbac060e17ea2f5f8dc.tar.gz
external_llvm-202bc85a9508de5b5f24cfbac060e17ea2f5f8dc.tar.bz2
add an emitnoop method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h
index cbb7a1e..dee706d 100644
--- a/include/llvm/CodeGen/ScheduleDAG.h
+++ b/include/llvm/CodeGen/ScheduleDAG.h
@@ -308,14 +308,18 @@ namespace llvm {
/// EmitNode - Generate machine code for an node and needed dependencies.
///
void EmitNode(NodeInfo *NI);
-
+
+ /// EmitNoop - Emit a noop instruction.
+ ///
+ void EmitNoop();
+
/// EmitAll - Emit all nodes in schedule sorted order.
///
void EmitAll();
/// Schedule - Order nodes according to selected style.
///
- virtual void Schedule() {};
+ virtual void Schedule() {}
/// printNI - Print node info.
///