Insert an unreachable instruction before the specified instruction, making it and the rest of the code in the block dead.

Synopsis

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

unsigned int
changeToUnreachable(
    Instruction* I,
    bool PreserveLCSSA = false,
    DomTreeUpdater* DTU = nullptr,
    MemorySSAUpdater* MSSAU = nullptr);

Created with MrDocs