LLVM  8.0.1
Public Member Functions | Protected Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::IRBuilderCallbackInserter:
Collaboration graph
[legend]

Public Member Functions

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

Protected Member Functions

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

Detailed Description

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

Definition at line 73 of file IRBuilder.h.

Constructor & Destructor Documentation

◆ IRBuilderCallbackInserter()

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

Definition at line 77 of file IRBuilder.h.

Member Function Documentation

◆ InsertHelper()

void llvm::IRBuilderCallbackInserter::InsertHelper ( Instruction I,
const Twine Name,
BasicBlock BB,
BasicBlock::iterator  InsertPt 
) const
inlineprotected

Definition at line 81 of file IRBuilder.h.

References llvm::IRBuilderDefaultInserter::InsertHelper().


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