Polly
20.0.0git
llvm-project
polly
lib
Support
PollyDebug.cpp
Go to the documentation of this file.
1
//===-PollyDebug.cpp -Provide support for debugging Polly passes-*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// Functions to aid printing Debug Info of all polly passes.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#include "
polly/Support/PollyDebug.h
"
14
#include "llvm/Support/CommandLine.h"
15
16
using namespace
polly
;
17
using namespace
llvm
;
18
19
bool
PollyDebugFlag
;
20
bool
polly::getPollyDebugFlag
() {
return
PollyDebugFlag
; }
21
22
// -debug - Command line option to enable the DEBUG statements in the passes.
23
// This flag may only be enabled in debug builds.
24
static
cl::opt<bool, true>
25
PollyDebug
(
"polly-debug"
,
26
cl::desc(
"Enable debug output for only polly passes."
),
27
cl::Hidden, cl::location(
PollyDebugFlag
), cl::ZeroOrMore);
PollyDebugFlag
bool PollyDebugFlag
Definition:
PollyDebug.cpp:19
PollyDebug
static cl::opt< bool, true > PollyDebug("polly-debug", cl::desc("Enable debug output for only polly passes."), cl::Hidden, cl::location(PollyDebugFlag), cl::ZeroOrMore)
PollyDebug.h
llvm
This file contains the declaration of the PolyhedralInfo class, which will provide an interface to ex...
Definition:
Canonicalization.h:14
polly
Definition:
Canonicalization.h:20
polly::getPollyDebugFlag
bool getPollyDebugFlag()
Definition:
PollyDebug.cpp:20
Generated on Wed Nov 13 2024 03:17:31 for Polly by
1.9.6