llvm::Instruction::clone

Create a copy of this instruction that is identical except it has no parent and no name.

Synopsis

Declared in <llvm/IR/Instruction.h>

Instruction*
clone() const;

Return Value

A newly allocated clone of this instruction.