summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/loweringpass.h
diff options
context:
space:
mode:
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 00000000000..f62dcf6ba73
--- /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