source: icGREP/icgrep-devel/icgrep/toolchain.h @ 4885

Last change on this file since 4885 was 4801, checked in by cameron, 4 years ago

Refactor tool chain components

File size: 773 bytes
Line 
1/*
2 *  Copyright (c) 2015 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef TOOLCHAIN_H
8#define TOOLCHAIN_H
9
10#include "utf_encoding.h"
11#include <llvm/IR/Function.h>
12#include <llvm/IR/Module.h>
13#include <llvm/ExecutionEngine/ExecutionEngine.h>
14
15#include <re/re_re.h>
16#include <pablo/function.h>
17
18
19re::RE * regular_expression_passes(const Encoding encoding, re::RE * re_ast);
20
21pablo::PabloFunction * re2pablo_compiler(const Encoding encoding, re::RE * re_ast);
22
23void pablo_function_passes(pablo::PabloFunction * function);
24
25ExecutionEngine * JIT_to_ExecutionEngine (llvm::Function * f);
26
27void icgrep_Linking(Module * m, ExecutionEngine * e);
28
29#endif
Note: See TracBrowser for help on using the repository browser.