LLVM  8.0.1
Namespaces | Macros | Functions | Variables
RegionInfo.cpp File Reference
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/RegionPrinter.h"
#include "llvm/Analysis/RegionInfoImpl.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for RegionInfo.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

Macros

#define DEBUG_TYPE   "region"
 

Functions

 STATISTIC (numRegions, "The # of regions")
 
 STATISTIC (numSimpleRegions, "The # of simple regions")
 
 INITIALIZE_PASS_BEGIN (RegionInfoPass, "regions", "Detect single entry single exit regions", true, true) INITIALIZE_PASS_END(RegionInfoPass
 
FunctionPassllvm::createRegionInfoPass ()
 

Variables

static cl::opt< bool, trueVerifyRegionInfoX ("verify-region-info", cl::location(RegionInfoBase< RegionTraits< Function >>::VerifyRegionInfo), cl::desc("Verify region info (time consuming)"))
 
static cl::opt< Region::PrintStyle, trueprintStyleX ("print-region-style", cl::location(RegionInfo::printStyle), cl::Hidden, cl::desc("style of printing regions"), cl::values(clEnumValN(Region::PrintNone, "none", "print no details"), clEnumValN(Region::PrintBB, "bb", "print regions in detail with block_iterator"), clEnumValN(Region::PrintRN, "rn", "print regions in detail with element_iterator")))
 
 regions
 
Detect single entry single exit true
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "region"

Definition at line 28 of file RegionInfo.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( RegionInfoPass  ,
"regions"  ,
"Detect single entry single exit regions ,
true  ,
true   
)

◆ STATISTIC() [1/2]

STATISTIC ( numRegions  ,
"The # of regions  
)

◆ STATISTIC() [2/2]

STATISTIC ( numSimpleRegions  ,
"The # of simple regions  
)

Variable Documentation

◆ printStyleX

cl::opt<Region::PrintStyle, true> printStyleX("print-region-style", cl::location(RegionInfo::printStyle), cl::Hidden, cl::desc("style of printing regions"), cl::values( clEnumValN(Region::PrintNone, "none", "print no details"), clEnumValN(Region::PrintBB, "bb", "print regions in detail with block_iterator"), clEnumValN(Region::PrintRN, "rn", "print regions in detail with element_iterator")))
static

◆ regions

Detect single entry single exit regions

Definition at line 169 of file RegionInfo.cpp.

◆ true

Detect single entry single exit true

Definition at line 169 of file RegionInfo.cpp.

◆ VerifyRegionInfoX

cl::opt<bool,true> VerifyRegionInfoX("verify-region-info", cl::location(RegionInfoBase< RegionTraits< Function >>::VerifyRegionInfo), cl::desc("Verify region info (time consuming)"))
static