LLVM 19.0.0git
Macros | Functions | Variables
PPCMergeStringPool.cpp File Reference
#include "PPC.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopIterator.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/ScalarEvolutionAliasAnalysis.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppc-merge-strings"
 

Functions

 STATISTIC (NumPooledStrings, "Number of Strings Pooled")
 
 INITIALIZE_PASS (PPCMergeStringPool, DEBUG_TYPE, "PPC Merge String Pool", false, false) ModulePass *llvm
 

Variables

static cl::opt< unsignedMaxStringsPooled ("ppc-max-strings-pooled", cl::Hidden, cl::init(-1), cl::desc("Maximum Number of Strings to Pool."))
 
static cl::opt< unsignedMinStringsBeforePool ("ppc-min-strings-before-pool", cl::Hidden, cl::init(2), cl::desc("Minimum number of string candidates before " "pooling is considered."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppc-merge-strings"

Definition at line 31 of file PPCMergeStringPool.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( PPCMergeStringPool  ,
DEBUG_TYPE  ,
"PPC Merge String Pool"  ,
false  ,
false   
)

Definition at line 372 of file PPCMergeStringPool.cpp.

◆ STATISTIC()

STATISTIC ( NumPooledStrings  ,
"Number of Strings Pooled"   
)

Variable Documentation

◆ MaxStringsPooled

cl::opt< unsigned > MaxStringsPooled("ppc-max-strings-pooled", cl::Hidden, cl::init(-1), cl::desc("Maximum Number of Strings to Pool.")) ( "ppc-max-strings-pooled"  ,
cl::Hidden  ,
cl::init(-1)  ,
cl::desc("Maximum Number of Strings to Pool.")   
)
static

◆ MinStringsBeforePool

cl::opt< unsigned > MinStringsBeforePool("ppc-min-strings-before-pool", cl::Hidden, cl::init(2), cl::desc("Minimum number of string candidates before " "pooling is considered.")) ( "ppc-min-strings-before-pool"  ,
cl::Hidden  ,
cl::init(2)  ,
cl::desc("Minimum number of string candidates before " "pooling is considered.")   
)
static