LLVM 22.0.0git
PredicateInfo.cpp File Reference

Go to the source code of this file.

Classes

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

Namespaces

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

Macros

#define DEBUG_TYPE   "predicateinfo"

Enumerations

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

Functions

 DEBUG_COUNTER (RenameCounter, "predicateinfo-rename", "Controls which variables are renamed with predicateinfo")
bool llvm::shouldRename (Value *V)
void llvm::collectCmpOps (CmpInst *Comparison, SmallVectorImpl< Value * > &CmpOperands)
static void llvm::replaceCreatedSSACopys (PredicateInfo &PredInfo, Function &F)

Variables

static cl::opt< boolVerifyPredicateInfo ("verify-predicateinfo", cl::init(false), cl::Hidden, cl::desc("Verify PredicateInfo in legacy printer pass."))
static const unsigned MaxCondsPerBranch = 8

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "predicateinfo"

Definition at line 28 of file PredicateInfo.cpp.

Function Documentation

◆ DEBUG_COUNTER()

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

Variable Documentation

◆ MaxCondsPerBranch

const unsigned MaxCondsPerBranch = 8
static

Definition at line 40 of file PredicateInfo.cpp.

◆ VerifyPredicateInfo

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