LLVM 20.0.0git
|
Provides an 'InsertHelper' that calls a user-provided callback after performing the default insertion. More...
#include "llvm/IR/IRBuilder.h"
Public Member Functions | |
~IRBuilderCallbackInserter () override | |
IRBuilderCallbackInserter (std::function< void(Instruction *)> Callback) | |
void | InsertHelper (Instruction *I, const Twine &Name, BasicBlock::iterator InsertPt) const override |
Public Member Functions inherited from llvm::IRBuilderDefaultInserter | |
virtual | ~IRBuilderDefaultInserter () |
virtual void | InsertHelper (Instruction *I, const Twine &Name, BasicBlock::iterator InsertPt) const |
Provides an 'InsertHelper' that calls a user-provided callback after performing the default insertion.
Definition at line 74 of file IRBuilder.h.
|
overridedefault |
|
inline |
Definition at line 80 of file IRBuilder.h.
|
inlineoverridevirtual |
Reimplemented from llvm::IRBuilderDefaultInserter.
Definition at line 83 of file IRBuilder.h.
References I, llvm::IRBuilderDefaultInserter::InsertHelper(), and Name.