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

Last change on this file since 5297 was 5295, checked in by cameron, 2 years ago

Debug Options: SerializeThreads?; unify ShowIR, ShowPablo?, ShowREs, ShowASM

File size: 815 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, ShowUnloweredPablo, DumpTrace,
17};
18
19enum PabloCompilationFlags {
20    DisableSimplification, EnableCodeMotion, 
21    EnableMultiplexing, EnableLowering, EnablePreDistribution, EnablePostDistribution, EnablePrePassScheduling
22};
23   
24const llvm::cl::OptionCategory * pablo_toolchain_flags();
25
26bool DebugOptionIsSet(PabloDebugFlags flag);
27
28void pablo_function_passes(PabloKernel * kernel);
29
30}
31#endif
Note: See TracBrowser for help on using the repository browser.