LLVM API Documentation
#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/DerivedTypes.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/LeakDetector.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/ValueHandle.h"
#include <algorithm>
Go to the source code of this file.
Enumerations | |
enum | PointerStripKind |
Functions | |
static Type * | checkType (Type *Ty) |
static bool | getSymTab (Value *V, ValueSymbolTable *&ST) |
static bool | isDereferenceablePointer (const Value *V, SmallPtrSet< const Value *, 32 > &Visited) |
enum PointerStripKind |
|
static |
Definition at line 143 of file Value.cpp.
References llvm::ARM_PROC::A, I, and P.
Referenced by llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::addNodeToList(), llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::removeNodeFromList(), llvm::Value::setName(), llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::setSymTabObject(), llvm::Value::takeName(), and llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::transferNodesFromList().
|
static |
isDereferenceablePointer - Test if this value is always a pointer to allocated and suitably aligned memory for a simple load or store.
Definition at line 439 of file Value.cpp.
References llvm::ARM_PROC::A, llvm::dyn_cast(), llvm::gep_type_begin(), llvm::APInt::getActiveBits(), llvm::ArrayType::getNumElements(), llvm::ConstantInt::getValue(), llvm::ConstantInt::getZExtValue(), I, llvm::SmallPtrSet< PtrType, SmallSize >::insert(), and llvm::ConstantInt::isZero().
Referenced by llvm::Value::isDereferenceablePointer().