source: icGREP/icgrep-devel/icgrep/pablo/pablo_toolchain.h @ 5776

Last change on this file since 5776 was 5776, checked in by cameron, 22 months ago

ShowPablo?=filename option

File size: 874 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 PABLO_TOOLCHAIN_H
8#define PABLO_TOOLCHAIN_H
9
10namespace llvm { namespace cl { class OptionCategory; } }
11namespace pablo { class PabloKernel; }
12
13namespace pablo {
14
15enum PabloDebugFlags {
16    VerifyPablo, DumpTrace,
17};
18extern std::string ShowOptimizedPabloOption;
19extern std::string ShowPabloOption;
20
21enum PabloCompilationFlags {
22    DisableSimplification, DisableCodeMotion, EnableDistribution, EnableSchedulingPrePass, EnableProfiling
23};
24   
25const llvm::cl::OptionCategory * pablo_toolchain_flags();
26
27bool DebugOptionIsSet(const PabloDebugFlags flag);
28
29bool CompileOptionIsSet(const PabloCompilationFlags flag);
30
31void pablo_function_passes(PabloKernel * kernel);
32
33}
34#endif
Note: See TracBrowser for help on using the repository browser.