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

Last change on this file since 5620 was 5620, checked in by nmedfort, 20 months ago

Bug fixes for multigrep mode. Optional PabloKernel? branch hit counter added. Minor optimizations.

File size: 824 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, EnableProfiling
21};
22   
23const llvm::cl::OptionCategory * pablo_toolchain_flags();
24
25bool DebugOptionIsSet(const PabloDebugFlags flag);
26
27bool CompileOptionIsSet(const PabloCompilationFlags flag);
28
29void pablo_function_passes(PabloKernel * kernel);
30
31}
32#endif
Note: See TracBrowser for help on using the repository browser.