Controls how much metadata and module state CloneFunctionInto updates.

Synopsis

Declared in <llvm/Transforms/Utils/Cloning.h>

enum class CloneFunctionChangeType : int;

Members

Name

Description

LocalChangesOnly

Only function‐local remapping; no non‐identity GlobalValue mappings.

GlobalChanges

Clone referenced metadata as needed within the same module.

DifferentModule

Clone into a different module and update that module's !llvm.dbg.cu.

ClonedModule

Clone into a different module; caller updates !llvm.dbg.cu.

Created with MrDocs