forked from OSchip/llvm-project
parent
4f052d075c
commit
1a745a4ef6
|
@ -46,7 +46,11 @@ using namespace llvm;
|
|||
#define DEBUG_TYPE "polly-detect"
|
||||
|
||||
#define SCOP_STAT(NAME, DESC) \
|
||||
{ "polly-detect", "NAME", "Number of rejected regions: " DESC, {0}, {false} }
|
||||
{ \
|
||||
"polly-detect", "NAME", "Number of rejected regions: " DESC, {0}, { \
|
||||
false \
|
||||
} \
|
||||
}
|
||||
|
||||
Statistic RejectStatistics[] = {
|
||||
SCOP_STAT(CFG, ""),
|
||||
|
|
|
@ -279,10 +279,10 @@ STATISTIC(ScopsOptimized, "Number of scops optimized");
|
|||
STATISTIC(NumAffineLoopsOptimized, "Number of affine loops optimized");
|
||||
STATISTIC(NumBoxedLoopsOptimized, "Number of boxed loops optimized");
|
||||
|
||||
#define THREE_STATISTICS(VARNAME, DESC) \
|
||||
static Statistic VARNAME[3] = { \
|
||||
{DEBUG_TYPE, #VARNAME "0", DESC " (original)", {0}, {false}}, \
|
||||
{DEBUG_TYPE, #VARNAME "1", DESC " (after scheduler)", {0}, {false}}, \
|
||||
#define THREE_STATISTICS(VARNAME, DESC) \
|
||||
static Statistic VARNAME[3] = { \
|
||||
{DEBUG_TYPE, #VARNAME "0", DESC " (original)", {0}, {false}}, \
|
||||
{DEBUG_TYPE, #VARNAME "1", DESC " (after scheduler)", {0}, {false}}, \
|
||||
{DEBUG_TYPE, #VARNAME "2", DESC " (after optimizer)", {0}, {false}}}
|
||||
|
||||
THREE_STATISTICS(NumBands, "Number of bands");
|
||||
|
|
|
@ -27,9 +27,9 @@ using namespace polly;
|
|||
|
||||
namespace {
|
||||
|
||||
#define TWO_STATISTICS(VARNAME, DESC) \
|
||||
static llvm::Statistic VARNAME[2] = { \
|
||||
{DEBUG_TYPE, #VARNAME "0", DESC " (first)", {0}, {false}}, \
|
||||
#define TWO_STATISTICS(VARNAME, DESC) \
|
||||
static llvm::Statistic VARNAME[2] = { \
|
||||
{DEBUG_TYPE, #VARNAME "0", DESC " (first)", {0}, {false}}, \
|
||||
{DEBUG_TYPE, #VARNAME "1", DESC " (second)", {0}, {false}}}
|
||||
|
||||
/// Number of max disjuncts we allow in removeOverwrites(). This is to avoid
|
||||
|
|
Loading…
Reference in New Issue