diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-15 20:07:18 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-15 20:07:18 +0900 |
commit | 92fcbf6e7bc622dcace226bb70ff6d5cdbdbaecb (patch) | |
tree | 5baeedd4c71c19e62ae293397ee93064bdca4227 /src/gallium/auxiliary/llvm/loweringpass.cpp | |
parent | 6d3831b11d9f5aaba61cc2fb8ade61437ad7c335 (diff) |
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
Diffstat (limited to 'src/gallium/auxiliary/llvm/loweringpass.cpp')
-rw-r--r-- | src/gallium/auxiliary/llvm/loweringpass.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/llvm/loweringpass.cpp b/src/gallium/auxiliary/llvm/loweringpass.cpp new file mode 100644 index 0000000000..556dbec366 --- /dev/null +++ b/src/gallium/auxiliary/llvm/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; +} |