LLVM 20.0.0git
|
#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/CommandLine.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< bool > | EnableAddPhiTranslation ("gvn-add-phi-translation", cl::init(false), cl::Hidden, cl::desc("Enable phi-translation of add instructions")) |
|
static |
Definition at line 29 of file PHITransAddr.cpp.
References llvm::Instruction::getOpcode(), and llvm::User::getOperand().
Referenced by llvm::PHITransAddr::isPotentiallyPHITranslatable(), and verifySubExpr().
|
static |
Definition at line 111 of file PHITransAddr.cpp.
References assert(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallVectorImpl< T >::erase(), llvm::find(), I, and RemoveInstInputs().
Referenced by RemoveInstInputs().
|
static |
Definition at line 52 of file PHITransAddr.cpp.
References llvm::all_of(), canPHITrans(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallVectorImpl< T >::erase(), llvm::errs(), llvm::find(), I, and llvm_unreachable.
Referenced by llvm::PHITransAddr::verify().