class ValueMapTypeRemapper

Declaration

class ValueMapTypeRemapper { /* full declaration omitted */ };

Description

This is a class that can be implemented by clients to remap types when cloning constants and instructions.

Declared at: llvm/include/llvm/Transforms/Utils/ValueMapper.h:36

Method Overview

Methods

virtual void anchor()

Declared at: llvm/include/llvm/Transforms/Utils/ValueMapper.h:37

virtual llvm::Type* remapType(llvm::Type* SrcTy)

Description

The client should implement this method if they want to remap types while mapping values.

Declared at: llvm/include/llvm/Transforms/Utils/ValueMapper.h:44

Parameters

llvm::Type* SrcTy

virtual ~ValueMapTypeRemapper()

Declared at: llvm/include/llvm/Transforms/Utils/ValueMapper.h:40