#include #include #include ">

LLVM: lib/Transforms/Utils/ValueMapper.cpp File Reference (original) (raw)

#include "[llvm/Transforms/Utils/ValueMapper.h](ValueMapper%5F8h%5Fsource.html)"
#include "[llvm/ADT/ArrayRef.h](ArrayRef%5F8h%5Fsource.html)"
#include "[llvm/ADT/DenseMap.h](DenseMap%5F8h%5Fsource.html)"
#include "[llvm/ADT/DenseSet.h](DenseSet%5F8h%5Fsource.html)"
#include "[llvm/ADT/STLExtras.h](STLExtras%5F8h%5Fsource.html)"
#include "[llvm/ADT/SmallVector.h](SmallVector%5F8h%5Fsource.html)"
#include "[llvm/IR/Argument.h](IR%5F2Argument%5F8h%5Fsource.html)"
#include "[llvm/IR/BasicBlock.h](IR%5F2BasicBlock%5F8h%5Fsource.html)"
#include "[llvm/IR/Constant.h](IR%5F2Constant%5F8h%5Fsource.html)"
#include "[llvm/IR/Constants.h](Constants%5F8h%5Fsource.html)"
#include "[llvm/IR/DebugInfoMetadata.h](DebugInfoMetadata%5F8h%5Fsource.html)"
#include "[llvm/IR/DerivedTypes.h](DerivedTypes%5F8h%5Fsource.html)"
#include "[llvm/IR/Function.h](IR%5F2Function%5F8h%5Fsource.html)"
#include "[llvm/IR/GlobalAlias.h](GlobalAlias%5F8h%5Fsource.html)"
#include "[llvm/IR/GlobalIFunc.h](GlobalIFunc%5F8h%5Fsource.html)"
#include "[llvm/IR/GlobalObject.h](GlobalObject%5F8h%5Fsource.html)"
#include "[llvm/IR/GlobalVariable.h](GlobalVariable%5F8h%5Fsource.html)"
#include "[llvm/IR/InlineAsm.h](InlineAsm%5F8h%5Fsource.html)"
#include "[llvm/IR/Instruction.h](IR%5F2Instruction%5F8h%5Fsource.html)"
#include "[llvm/IR/Instructions.h](Instructions%5F8h%5Fsource.html)"
#include "[llvm/IR/IntrinsicInst.h](IR%5F2IntrinsicInst%5F8h%5Fsource.html)"
#include "[llvm/IR/Metadata.h](Metadata%5F8h%5Fsource.html)"
#include "[llvm/IR/Operator.h](IR%5F2Operator%5F8h%5Fsource.html)"
#include "[llvm/IR/Type.h](IR%5F2Type%5F8h%5Fsource.html)"
#include "[llvm/IR/Value.h](IR%5F2Value%5F8h%5Fsource.html)"
#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"
#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"
#include <cassert>
#include <limits>
#include <memory>
#include <utility>

Go to the source code of this file.

Macros
#define DEBUG_TYPE "value-mapper"
Functions
static ConstantAsMetadata * wrapConstantAsMetadata (const ConstantAsMetadata &CMD, Value *MappedV)
static Mapper * getAsMapper (void *pImpl)

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "value-mapper"

Definition at line 48 of file ValueMapper.cpp.

Function Documentation

getAsMapper()

Mapper * getAsMapper ( void * pImpl) static

Definition at line 1207 of file ValueMapper.cpp.

Referenced by llvm::ValueMapper::registerAlternateMappingContext(), llvm::ValueMapper::scheduleMapAppendingVariable(), llvm::ValueMapper::scheduleMapGlobalAlias(), llvm::ValueMapper::scheduleMapGlobalIFunc(), llvm::ValueMapper::scheduleMapGlobalInitializer(), llvm::ValueMapper::scheduleRemapFunction(), and llvm::ValueMapper::~ValueMapper().

wrapConstantAsMetadata()

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

Definition at line 661 of file ValueMapper.cpp.

References llvm::ValueAsMetadata::getConstant(), and llvm::ConstantAsMetadata::getValue().