LLVM 19.0.0git
Functions | Variables
PHITransAddr.cpp File Reference
#include "llvm/Analysis/PHITransAddr.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Functions

static bool canPHITrans (Instruction *Inst)
 
static bool verifySubExpr (Value *Expr, SmallVectorImpl< Instruction * > &InstInputs)
 
static void RemoveInstInputs (Value *V, SmallVectorImpl< Instruction * > &InstInputs)
 

Variables

static cl::opt< boolEnableAddPhiTranslation ("gvn-add-phi-translation", cl::init(false), cl::Hidden, cl::desc("Enable phi-translation of add instructions"))
 

Function Documentation

◆ canPHITrans()

static bool canPHITrans ( Instruction Inst)
static

◆ RemoveInstInputs()

static void RemoveInstInputs ( Value V,
SmallVectorImpl< Instruction * > &  InstInputs 
)
static

◆ verifySubExpr()

static bool verifySubExpr ( Value Expr,
SmallVectorImpl< Instruction * > &  InstInputs 
)
static

Variable Documentation

◆ EnableAddPhiTranslation

cl::opt< bool > EnableAddPhiTranslation("gvn-add-phi-translation", cl::init(false), cl::Hidden, cl::desc("Enable phi-translation of add instructions")) ( "gvn-add-phi-translation"  ,
cl::init(false)  ,
cl::Hidden  ,
cl::desc("Enable phi-translation of add instructions")   
)
static