LLVM
15.0.0git
|
#include "llvm/IR/Value.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/DerivedUser.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include "llvm/IR/Value.def"
#include "llvm/IR/Instruction.def"
Go to the source code of this file.
Macros | |
#define | HANDLE_VALUE(Name) |
#define | HANDLE_MEMORY_VALUE(Name) |
#define | HANDLE_CONSTANT(Name) |
#define | HANDLE_INSTRUCTION(Name) /* nothing */ |
#define | HANDLE_INST(N, OPC, CLASS) |
#define | HANDLE_USER_INST(N, OPC, CLASS) |
Functions | |
static Type * | checkType (Type *Ty) |
static bool | isUnDroppableUser (const User *U) |
static bool | getSymTab (Value *V, ValueSymbolTable *&ST) |
static bool | contains (SmallPtrSetImpl< ConstantExpr * > &Cache, ConstantExpr *Expr, Constant *C) |
static bool | contains (Value *Expr, Value *V) |
static void | replaceDbgUsesOutsideBlock (Value *V, Value *New, BasicBlock *BB) |
Replace llvm.dbg. More... | |
Variables | |
static cl::opt< unsigned > | UseDerefAtPointSemantics ("use-dereferenceable-at-point-semantics", cl::Hidden, cl::init(false), cl::desc("Deref attributes and metadata infer facts at definition only")) |
#define HANDLE_CONSTANT | ( | Name | ) |
#define HANDLE_INST | ( | N, | |
OPC, | |||
CLASS | |||
) |
#define HANDLE_INSTRUCTION | ( | Name | ) | /* nothing */ |
#define HANDLE_MEMORY_VALUE | ( | Name | ) |
#define HANDLE_USER_INST | ( | N, | |
OPC, | |||
CLASS | |||
) |
#define HANDLE_VALUE | ( | Name | ) |
|
static |
Definition at line 464 of file Value.cpp.
References llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::RISCVFenceField::O, and llvm::User::operands().
Referenced by contains(), and llvm::Value::replaceUsesOutsideBlock().
Definition at line 481 of file Value.cpp.
References contains().
|
static |
Definition at line 255 of file Value.cpp.
References assert(), BB, I, P, and llvm::ARM_MB::ST.
Referenced by llvm::SymbolTableListTraits< ValueSubClass >::addNodeToList(), llvm::SymbolTableListTraits< ValueSubClass >::removeNodeFromList(), llvm::SymbolTableListTraits< ValueSubClass >::setSymTabObject(), llvm::Value::takeName(), and llvm::SymbolTableListTraits< ValueSubClass >::transferNodesFromList().
Definition at line 161 of file Value.cpp.
References llvm::User::isDroppable().
Referenced by llvm::Value::hasNUndroppableUses(), and llvm::Value::hasNUndroppableUsesOrMore().
|
static |
Replace llvm.dbg.
Definition at line 570 of file Value.cpp.
References BB, and llvm::findDbgUsers().
Referenced by llvm::Value::replaceUsesOutsideBlock().