diff options
author | David Robillard <d@drobilla.net> | 2009-03-06 01:02:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-06 01:02:35 +0000 |
commit | 9817384a0e3d8fa2029eeb4dd62b707735c19110 (patch) | |
tree | 39e08c1d93f968250982504a031846b9aed80e4a /tuplr_llvm.hpp | |
parent | fd2f7c3d6f43e2d6b102189073c647570d012fe9 (diff) | |
download | resp-9817384a0e3d8fa2029eeb4dd62b707735c19110.tar.gz resp-9817384a0e3d8fa2029eeb4dd62b707735c19110.tar.bz2 resp-9817384a0e3d8fa2029eeb4dd62b707735c19110.zip |
Fully remove LLVM dependency from core code.
git-svn-id: http://svn.drobilla.net/resp/tuplr@52 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'tuplr_llvm.hpp')
-rw-r--r-- | tuplr_llvm.hpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tuplr_llvm.hpp b/tuplr_llvm.hpp deleted file mode 100644 index 99be041..0000000 --- a/tuplr_llvm.hpp +++ /dev/null @@ -1,47 +0,0 @@ -/* Tuplr LLVM Backend Definitions - * Copyright (C) 2008-2009 David Robillard <dave@drobilla.net> - * - * Tuplr is free software: you can redistribute it and/or modify it under - * the terms of the GNU Affero General Public License as published by the - * Free Software Foundation, either version 3 of the License, or (at your - * option) any later version. - * - * Tuplr is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General - * Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with Tuplr. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef TUPLR_LLVM_HPP -#define TUPLR_LLVM_HPP - -#include "tuplr.hpp" -#include "llvm/Analysis/Verifier.h" -#include "llvm/DerivedTypes.h" -#include "llvm/ExecutionEngine/ExecutionEngine.h" -#include "llvm/Instructions.h" -#include "llvm/Module.h" -#include "llvm/ModuleProvider.h" -#include "llvm/PassManager.h" -#include "llvm/Support/IRBuilder.h" -#include "llvm/Target/TargetData.h" -#include "llvm/Transforms/Scalar.h" - -typedef llvm::Value CValue; -typedef llvm::Type CType; -typedef llvm::Function CFunction; - -struct CArg { CArg(int o=0, int a=0) : op(o), arg(a) {} int op; int arg; }; - -struct CEngine { - CEngine(); - llvm::Module* module; - llvm::ExecutionEngine* engine; - llvm::IRBuilder<> builder; -}; - -#endif // TUPLR_LLVM_HPP - |