summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/loweringpass.h
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2008-01-25 06:36:35 -0500
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:51:09 +1100
commit474f1a1d56fbb5472dd9bbf5828c413ae7e629dd (patch)
tree9df7ee352763c6602594d90191a9ab30e4580c84 /src/mesa/pipe/llvm/loweringpass.h
parentce358b879c1823ab4fa04f56e208d679792667cc (diff)
add a stub of a lowering pass
Diffstat (limited to 'src/mesa/pipe/llvm/loweringpass.h')
-rw-r--r--src/mesa/pipe/llvm/loweringpass.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/loweringpass.h b/src/mesa/pipe/llvm/loweringpass.h
new file mode 100644
index 0000000000..f62dcf6ba7
--- /dev/null
+++ b/src/mesa/pipe/llvm/loweringpass.h
@@ -0,0 +1,15 @@
+#ifndef LOWERINGPASS_H
+#define LOWERINGPASS_H
+
+#include "llvm/Pass.h"
+#include "llvm/Module.h"
+
+struct LoweringPass : public llvm::ModulePass
+{
+ static char ID;
+ LoweringPass();
+
+ virtual bool runOnModule(llvm::Module &m);
+};
+
+#endif