Polly 20.0.0git
Functions | Variables
PerfMonitor.cpp File Reference
#include "polly/CodeGen/PerfMonitor.h"
#include "polly/CodeGen/RuntimeDebugBuilder.h"
#include "polly/ScopInfo.h"
#include "llvm/ADT/Twine.h"
#include "llvm/IR/IntrinsicsX86.h"
#include "llvm/IR/Module.h"
#include "llvm/TargetParser/Triple.h"

Go to the source code of this file.

Functions

static void TryRegisterGlobal (Module *M, const char *Name, Constant *InitialValue, Value **Location)
 
static std::string GetScopUniqueVarname (const Scop &S)
 

Variables

static const char * InitFunctionName = "__polly_perf_init"
 
static const char * FinalReportingFunctionName = "__polly_perf_final"
 
static BasicBlock * FinalStartBB = nullptr
 
static ReturnInst * ReturnFromFinal = nullptr
 
static Function * FinalReporting = nullptr
 

Function Documentation

◆ GetScopUniqueVarname()

static std::string GetScopUniqueVarname ( const Scop S)
static

Definition at line 85 of file PerfMonitor.cpp.

Referenced by polly::PerfMonitor::addScopCounter().

◆ TryRegisterGlobal()

static void TryRegisterGlobal ( Module *  M,
const char *  Name,
Constant *  InitialValue,
Value **  Location 
)
static

Definition at line 73 of file PerfMonitor.cpp.

References M().

Referenced by polly::PerfMonitor::addGlobalVariables(), and polly::PerfMonitor::addScopCounter().

Variable Documentation

◆ FinalReporting

Function* FinalReporting = nullptr
static

◆ FinalReportingFunctionName

const char* FinalReportingFunctionName = "__polly_perf_final"
static

Definition at line 118 of file PerfMonitor.cpp.

Referenced by polly::PerfMonitor::insertFinalReporting().

◆ FinalStartBB

BasicBlock* FinalStartBB = nullptr
static

◆ InitFunctionName

const char* InitFunctionName = "__polly_perf_init"
static

Definition at line 117 of file PerfMonitor.cpp.

Referenced by polly::PerfMonitor::insertInitFunction().

◆ ReturnFromFinal

ReturnInst* ReturnFromFinal = nullptr
static