summaryrefslogtreecommitdiffstats
path: root/src/gallium/aux/llvm/loweringpass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/aux/llvm/loweringpass.h')
-rw-r--r--src/gallium/aux/llvm/loweringpass.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/aux/llvm/loweringpass.h b/src/gallium/aux/llvm/loweringpass.h
new file mode 100644
index 00000000000..f62dcf6ba73
--- /dev/null
+++ b/src/gallium/aux/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