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

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

ShowPablo?=filename option

File size: 874 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 {
[5776]16    VerifyPablo, DumpTrace,
[5031]17};
[5776]18extern std::string ShowOptimizedPabloOption;
19extern std::string ShowPabloOption;
[4984]20
[5031]21enum PabloCompilationFlags {
[5620]22    DisableSimplification, DisableCodeMotion, EnableDistribution, EnableSchedulingPrePass, EnableProfiling
[5031]23};
24   
[5217]25const llvm::cl::OptionCategory * pablo_toolchain_flags();
[5031]26
[5620]27bool DebugOptionIsSet(const PabloDebugFlags flag);
[5031]28
[5620]29bool CompileOptionIsSet(const PabloCompilationFlags flag);
30
[5217]31void pablo_function_passes(PabloKernel * kernel);
[5031]32
33}
[4984]34#endif
Note: See TracBrowser for help on using the repository browser.