LLVM
8.0.1
|
#include "llvm/IR/Value.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/DerivedUser.h"
#include "llvm/IR/GetElementPtrTypeIterator.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/Statepoint.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.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_INSTRUCTION(Name) /* nothing */ |
#define | HANDLE_INST(N, OPC, CLASS) |
#define | HANDLE_USER_INST(N, OPC, CLASS) |
Enumerations | |
enum | PointerStripKind |
Functions | |
static Type * | checkType (Type *Ty) |
static bool | getSymTab (Value *V, ValueSymbolTable *&ST) |
static bool | contains (SmallPtrSetImpl< ConstantExpr *> &Cache, ConstantExpr *Expr, Constant *C) |
static bool | contains (Value *Expr, Value *V) |
Variables | |
static cl::opt< unsigned > | NonGlobalValueMaxNameSize ("non-global-value-max-name-size", cl::Hidden, cl::init(1024), cl::desc("Maximum size for the name of non-global values.")) |
#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 | ) |
enum PointerStripKind |
|
static |
Definition at line 364 of file Value.cpp.
References llvm::dyn_cast(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::RISCVFenceField::O, and llvm::User::operands().
Referenced by contains(), and llvm::Value::replaceUsesOutsideBlock().
Definition at line 381 of file Value.cpp.
References assert(), C, contains(), llvm::dyn_cast(), llvm::Value::getType(), llvm::Use::getUser(), llvm::ValueAsMetadata::handleRAUW(), llvm::Value::isUsedByMetadata(), llvm::Value::materialized_use_empty(), llvm::Use::set(), and llvm::ValueHandleBase::ValueIsRAUWd().
|
static |
Definition at line 164 of file Value.cpp.
References assert(), I, and P.
Referenced by llvm::SymbolTableListTraits< Instruction >::addNodeToList(), llvm::Value::getName(), llvm::SymbolTableListTraits< Instruction >::removeNodeFromList(), llvm::SymbolTableListTraits< Instruction >::setSymTabObject(), llvm::Value::takeName(), and llvm::SymbolTableListTraits< Instruction >::transferNodesFromList().