deepCopyAndRemapReferences

inline fun <T : IrElement> T.deepCopyAndRemapReferences(initialParent: IrDeclarationParent? = null, referenceRemapper: ReferenceRemapper): T

Deep copy and replace references to symbols


inline fun <T : IrElement> T.deepCopyAndRemapReferences(initialParent: IrDeclarationParent? = null, referenceReplacements: ReferenceReplacements.Builder.() -> Unit): T

Deep copy and replace references