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

Last change on this file since 5350 was 5295, checked in by cameron, 3 years ago

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

File size: 815 bytes
RevLine 
[4984]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
[5267]10namespace llvm { namespace cl { class OptionCategory; } }
11namespace pablo { class PabloKernel; }
[4984]12
[5031]13namespace pablo {
[5217]14
[5031]15enum PabloDebugFlags {
[5295]16    ShowPablo, ShowOptimizedPablo, ShowUnloweredPablo, DumpTrace,
[5031]17};
[4984]18
[5031]19enum PabloCompilationFlags {
[5202]20    DisableSimplification, EnableCodeMotion, 
[5031]21    EnableMultiplexing, EnableLowering, EnablePreDistribution, EnablePostDistribution, EnablePrePassScheduling
22};
23   
[5217]24const llvm::cl::OptionCategory * pablo_toolchain_flags();
[5031]25
26bool DebugOptionIsSet(PabloDebugFlags flag);
27
[5217]28void pablo_function_passes(PabloKernel * kernel);
[5031]29
30}
[4984]31#endif
Note: See TracBrowser for help on using the repository browser.