llvm::sandboxir::CreateAndInsertInst

Tracks creating and inserting a new instruction.

Synopsis

Declared in <llvm/SandboxIR/Tracker.h>

class CreateAndInsertInst final
    : public IRChangeBase

Base Classes

NameDescription
IRChangeBaseThe base class for IR Change classes.

Member Functions

NameDescription
CreateAndInsertInst [constructor]Construct a change that records newly created instruction NewI.
accept [virtual]Accept the creation; nothing further to do.
dump dump overloads
revert [virtual]Erase the created instruction from its parent.