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

Last change on this file since 5571 was 5562, checked in by cameron, 2 years ago

Add -VerifyPablo? option

File size: 741 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    ShowPablo, ShowOptimizedPablo, VerifyPablo, DumpTrace,
17};
18
19enum PabloCompilationFlags {
20    DisableSimplification, DisableCodeMotion, EnableDistribution, EnableSchedulingPrePass
21};
22   
23const llvm::cl::OptionCategory * pablo_toolchain_flags();
24
25bool DebugOptionIsSet(PabloDebugFlags flag);
26
27void pablo_function_passes(PabloKernel * kernel);
28
29}
30#endif
Note: See TracBrowser for help on using the repository browser.