ReplaceInstWithInst overloads

Synopses

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

Replace one instruction with another and copy its debug location.

Replace one instruction with another in a basic block.

Parameters

Name

Description

From

Instruction to replace and delete.

To

Replacement instruction.

BB

Basic block containing the instruction to replace.

BI

Iterator referring to the instruction to replace.

I

Replacement instruction to insert in its place.

Created with MrDocs