summaryrefslogtreecommitdiffstats
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
committerZack Rusin <zack@tungstengraphics.com>2008-02-10 23:07:17 -0500
commitf625c6d1d07e3b285cf966a888aa534f33c36710 (patch)
tree52fd217f0ab9050843a693cb703914a88c6e3de9 /src/mesa/pipe/llvm/loweringpass.h
parent479b5e9b5d9e0e387332c6fbeaffffa7612a0c52 (diff)
downloadexternal_mesa3d-f625c6d1d07e3b285cf966a888aa534f33c36710.zip
external_mesa3d-f625c6d1d07e3b285cf966a888aa534f33c36710.tar.gz
external_mesa3d-f625c6d1d07e3b285cf966a888aa534f33c36710.tar.bz2
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 0000000..f62dcf6
--- /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