Polly
20.0.0git
llvm-project
polly
include
polly
Support
PollyDebug.h
Go to the documentation of this file.
1
//===-PollyDebug.h -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
#ifndef POLLY_DEBUG_H
14
#define POLLY_DEBUG_H
15
16
#include "llvm/Support/Debug.h"
17
18
namespace
polly
{
19
using namespace
llvm
;
20
bool
getPollyDebugFlag
();
21
22
#ifndef NDEBUG
23
#define POLLY_DEBUG(X) \
24
do { \
25
if (polly::getPollyDebugFlag()) { \
26
X; \
27
} else { \
28
DEBUG_WITH_TYPE(DEBUG_TYPE, X); \
29
} \
30
} while (0)
31
#else
32
#define POLLY_DEBUG(X) \
33
do { \
34
} while (false)
35
#endif
36
37
}
// namespace polly
38
#endif
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:12 for Polly by
1.9.6