LLVM  8.0.1
Classes | Namespaces | Macros | Enumerations | Functions | Variables
PredicateInfo.cpp File Reference
#include "llvm/Transforms/Utils/PredicateInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/CFG.h"
#include "llvm/IR/AssemblyAnnotationWriter.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DebugCounter.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Transforms/Utils.h"
#include <algorithm>
Include dependency graph for PredicateInfo.cpp:

Go to the source code of this file.

Classes

struct  llvm::PredicateInfoClasses::ValueDFS
 
struct  llvm::PredicateInfoClasses::ValueDFS_Compare
 
class  llvm::PredicateInfoAnnotatedWriter
 An assembly annotator class to print PredicateInfo information in comments. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::PredicateInfoClasses
 

Macros

#define DEBUG_TYPE   "predicateinfo"
 

Enumerations

enum  llvm::PredicateInfoClasses::LocalNum { llvm::PredicateInfoClasses::LN_First, llvm::PredicateInfoClasses::LN_Middle, llvm::PredicateInfoClasses::LN_Last }
 

Functions

 INITIALIZE_PASS_BEGIN (PredicateInfoPrinterLegacyPass, "print-predicateinfo", "PredicateInfo Printer", false, false) INITIALIZE_PASS_END(PredicateInfoPrinterLegacyPass
 
print PredicateInfo static false cl::opt< boolVerifyPredicateInfo ("verify-predicateinfo", cl::init(false), cl::Hidden, cl::desc("Verify PredicateInfo in legacy printer pass."))
 
 DEBUG_COUNTER (RenameCounter, "predicateinfo-rename", "Controls which variables are renamed with predicateinfo")
 
static bool llvm::PredicateInfoClasses::valueComesBefore (OrderedInstructions &OI, const Value *A, const Value *B)
 
void llvm::collectCmpOps (CmpInst *Comparison, SmallVectorImpl< Value *> &CmpOperands)
 
static Functionllvm::getCopyDeclaration (Module *M, Type *Ty)
 
static void llvm::replaceCreatedSSACopys (PredicateInfo &PredInfo, Function &F)
 

Variables

print predicateinfo
 
print PredicateInfo Printer
 
print PredicateInfo false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "predicateinfo"

Definition at line 39 of file PredicateInfo.cpp.

Function Documentation

◆ DEBUG_COUNTER()

DEBUG_COUNTER ( RenameCounter  ,
"predicateinfo-rename ,
"Controls which variables are renamed with predicateinfo  
)

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( PredicateInfoPrinterLegacyPass  ,
"print-predicateinfo ,
"PredicateInfo Printer ,
false  ,
false   
)

◆ VerifyPredicateInfo()

print PredicateInfo static false cl::opt<bool> VerifyPredicateInfo ( "verify-predicateinfo ,
cl::init(false ,
cl::Hidden  ,
cl::desc("Verify PredicateInfo in legacy printer pass.")   
)
static

Variable Documentation

◆ false

Definition at line 48 of file PredicateInfo.cpp.

◆ predicateinfo

print predicateinfo

Definition at line 48 of file PredicateInfo.cpp.

◆ Printer

Definition at line 48 of file PredicateInfo.cpp.