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

Last change on this file since 4992 was 4990, checked in by cameron, 4 years ago

Fix for first positional arg not a filename

File size: 720 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 <re/re_re.h>
11#include <llvm/IR/Module.h>
12#include <llvm/ExecutionEngine/ExecutionEngine.h>
13
14
15Module * grepIRGen(std::string moduleName, re::RE * re_ast, bool isNameExpression = false);
16
17ExecutionEngine * JIT_to_ExecutionEngine (Module * m);
18
19void icgrep_Linking(Module * m, ExecutionEngine * e);
20
21re::CC * getParsedCodePointSet();
22void setParsedCodePointSet();
23
24void initResult(std::vector<std::string> filenames, const int firstName, const int n);
25void PrintResult();
26
27#endif
Note: See TracBrowser for help on using the repository browser.