LLVM 22.0.0git
MachineRegionInfo.cpp File Reference
#include "llvm/CodeGen/MachineRegionInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/RegionInfoImpl.h"
#include "llvm/CodeGen/MachinePostDominators.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define DEBUG_TYPE   "machine-region-info"

Functions

 STATISTIC (numMachineRegions, "The # of machine regions")
 STATISTIC (numMachineSimpleRegions, "The # of simple machine regions")
 INITIALIZE_PASS_BEGIN (MachineRegionInfoPass, DEBUG_TYPE, "Detect single entry single exit regions", true, true) INITIALIZE_PASS_END(MachineRegionInfoPass
FunctionPassllvm::createMachineRegionInfoPass ()

Variables

charMachineRegionInfoPassID = MachineRegionInfoPass::ID
 DEBUG_TYPE
Detect single entry single exit regions
Detect single entry single exit true

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-region-info"

Definition at line 19 of file MachineRegionInfo.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( MachineRegionInfoPass ,
DEBUG_TYPE ,
"Detect single entry single exit regions" ,
true ,
true  )

◆ STATISTIC() [1/2]

STATISTIC ( numMachineRegions ,
"The # of machine regions"  )

◆ STATISTIC() [2/2]

STATISTIC ( numMachineSimpleRegions ,
"The # of simple machine regions"  )

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 137 of file MachineRegionInfo.cpp.

◆ MachineRegionInfoPassID

char& MachineRegionInfoPassID = MachineRegionInfoPass::ID

Definition at line 130 of file MachineRegionInfo.cpp.

◆ regions

Detect single entry single exit regions

Definition at line 138 of file MachineRegionInfo.cpp.

◆ true

Detect single entry single exit true

Definition at line 138 of file MachineRegionInfo.cpp.