summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/loweringpass.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-02-18 20:05:06 +0900
committerJosé Fonseca <[email protected]>2008-02-18 20:05:06 +0900
commit3f3b09d6d86cfd277c5837d15466ee703897aa3d (patch)
tree61d639bac7f5542e907ad1d5560713ed786172b8 /src/gallium/auxiliary/gallivm/loweringpass.cpp
parent687a8b96ef13658bbe779d0011ce1144844f1972 (diff)
Rename llvm -> gallivm.
Following the directory == library name policy simplifies the build system.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/loweringpass.cpp')
-rw-r--r--src/gallium/auxiliary/gallivm/loweringpass.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/loweringpass.cpp b/src/gallium/auxiliary/gallivm/loweringpass.cpp
new file mode 100644
index 00000000000..556dbec3661
--- /dev/null
+++ b/src/gallium/auxiliary/gallivm/loweringpass.cpp
@@ -0,0 +1,17 @@
+#include "loweringpass.h"
+
+using namespace llvm;
+
+char LoweringPass::ID = 0;
+RegisterPass<LoweringPass> X("lowering", "Lowering Pass");
+
+LoweringPass::LoweringPass()
+ : ModulePass((intptr_t)&ID)
+{
+}
+
+bool LoweringPass::runOnModule(Module &m)
+{
+ llvm::cerr << "Hello: " << m.getModuleIdentifier() << "\n";
+ return false;
+}