LLVM  6.0.0svn
Functions
ValueMapper.cpp File Reference
#include "llvm/Transforms/Utils/ValueMapper.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/InlineAsm.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Operator.h"
Include dependency graph for ValueMapper.cpp:

Go to the source code of this file.

Functions

static ConstantAsMetadatawrapConstantAsMetadata (const ConstantAsMetadata &CMD, Value *MappedV)
 
static Mapper * getAsMapper (void *pImpl)
 

Function Documentation

◆ getAsMapper()

static Mapper* getAsMapper ( void *  pImpl)
static

◆ wrapConstantAsMetadata()

static ConstantAsMetadata* wrapConstantAsMetadata ( const ConstantAsMetadata CMD,
Value MappedV 
)
static

Definition at line 531 of file ValueMapper.cpp.

References llvm::GlobalObject::addMetadata(), llvm::SmallVectorImpl< T >::append(), llvm::Function::args(), assert(), llvm::SmallVectorTemplateCommon< T >::back(), llvm::ArrayRef< T >::begin(), llvm::GlobalObject::clearMetadata(), llvm::MDNode::clone(), D, llvm::Data, llvm::ValueMap< KeyT, ValueT, Config >::disableMapMetadata(), E, llvm::SmallVectorBase::empty(), llvm::ValueMap< KeyT, ValueT, Config >::enableMapMetadata(), llvm::iterator_range< IteratorT >::end(), llvm::ArrayRef< T >::end(), F(), llvm::ArrayRef< T >::front(), G, GEP, llvm::FunctionType::get(), llvm::StructType::get(), llvm::ConstantArray::get(), llvm::ConstantStruct::get(), llvm::Constant::getAggregateElement(), llvm::GlobalObject::getAllMetadata(), llvm::Instruction::getAllMetadata(), llvm::ValueAsMetadata::getConstant(), llvm::Value::getContext(), llvm::PointerType::getElementType(), llvm::Type::getInt8Ty(), getMappedOp(), llvm::Constant::getNullValue(), llvm::MDNode::getNumOperands(), llvm::FunctionType::getNumParams(), llvm::MDNode::getOperand(), llvm::Value::getType(), llvm::GlobalValue::getType(), llvm::ConstantAsMetadata::getValue(), I, llvm::detail::DenseSetImpl< ValueT, DenseMap< ValueT, detail::DenseSetEmpty, ValueInfoT, detail::DenseSetPair< ValueT > >, ValueInfoT >::insert(), llvm::MDNode::isResolved(), llvm::MDNode::isUniqued(), llvm::FunctionType::isVarArg(), llvm::makeArrayRef(), MI, llvm::Value::mutateType(), N, llvm::None, llvm::none_of(), llvm::MDNode::op_begin(), llvm::User::operands(), llvm::MDNode::operands(), llvm::FunctionType::params(), llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::pop_back(), llvm::SmallVectorImpl< T >::pop_back_val(), llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::RemapFunction(), remapInstruction(), llvm::ValueMapTypeRemapper::remapType(), llvm::MDNode::replaceOperandWith(), llvm::MDNode::replaceWithUniqued(), llvm::SmallVectorImpl< T >::reserve(), llvm::SmallVectorImpl< T >::resize(), llvm::MDNode::resolveCycles(), llvm::GlobalVariable::setInitializer(), llvm::Instruction::setMetadata(), llvm::SmallVectorTemplateCommon< T >::size(), llvm::ArrayRef< T >::size(), and llvm::ARM_MB::ST.