Polly 22.0.0git
ScopDetectionDiagnostic.cpp File Reference
#include "polly/ScopDetectionDiagnostic.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Analysis/AliasSetTracker.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <string>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  polly
namespace  llvm

Macros

#define DEBUG_TYPE   "polly-detect"
#define SCOP_STAT(NAME, DESC)

Functions

template<typename T>
std::string polly::operator+ (Twine LHS, const T &RHS)
 Small string conversion via raw_string_stream.
static bool llvm::operator< (const DebugLoc &LHS, const DebugLoc &RHS)
BBPair polly::getBBPairForRegion (const Region *R)
 Return the region delimiters (entry & exit block) of R.
void polly::getDebugLocations (const BBPair &P, DebugLoc &Begin, DebugLoc &End)
 Set the begin and end source location for the region limited by P.
void polly::emitRejectionRemarks (const BBPair &P, const RejectLog &Log, OptimizationRemarkEmitter &ORE)
 Emit optimization remarks about the rejected regions to the user.

Variables

static Statistic RejectStatistics []

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "polly-detect"

Definition at line 45 of file ScopDetectionDiagnostic.cpp.

◆ SCOP_STAT

#define SCOP_STAT ( NAME,
DESC )
Value:
{"polly-detect", "NAME", "Number of rejected regions: " DESC}

Definition at line 47 of file ScopDetectionDiagnostic.cpp.

Variable Documentation

◆ RejectStatistics

Statistic RejectStatistics[]
static

Definition at line 50 of file ScopDetectionDiagnostic.cpp.

Referenced by polly::RejectReason::RejectReason().