LLVM 24.0.0git
llvm::IRBuilderCallbackInserter Class Reference

Provides an 'InsertHelper' that calls a user-provided callback after performing the default insertion. More...

#include "llvm/IR/IRBuilder.h"

Inheritance diagram for llvm::IRBuilderCallbackInserter:
[legend]

Public Member Functions

 IRBuilderCallbackInserter (std::function< void(Instruction *)> Callback)
void InsertHelper (Instruction *I, const Twine &Name, BasicBlock::iterator InsertPt) const
Public Member Functions inherited from llvm::IRBuilderDefaultInserter
void InsertHelper (Instruction *I, const Twine &Name, BasicBlock::iterator InsertPt) const

Detailed Description

Provides an 'InsertHelper' that calls a user-provided callback after performing the default insertion.

Definition at line 74 of file IRBuilder.h.

Constructor & Destructor Documentation

◆ IRBuilderCallbackInserter()

llvm::IRBuilderCallbackInserter::IRBuilderCallbackInserter ( std::function< void(Instruction *)> Callback)
inline

Definition at line 78 of file IRBuilder.h.

References llvm::move().

Member Function Documentation

◆ InsertHelper()

void llvm::IRBuilderCallbackInserter::InsertHelper ( Instruction * I,
const Twine & Name,
BasicBlock::iterator InsertPt ) const
inline

Definition at line 81 of file IRBuilder.h.

References I, and llvm::IRBuilderDefaultInserter::InsertHelper().


The documentation for this class was generated from the following file: