LLVM 19.0.0git
Public Member Functions | List of all members
llvm::IRBuilderDefaultInserter Class Reference

This provides the default implementation of the IRBuilder 'InsertHelper' method that is called whenever an instruction is created by IRBuilder and needs to be inserted. More...

#include "llvm/IR/IRBuilder.h"

Inheritance diagram for llvm::IRBuilderDefaultInserter:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

This provides the default implementation of the IRBuilder 'InsertHelper' method that is called whenever an instruction is created by IRBuilder and needs to be inserted.

By default, this inserts the instruction at the insertion point.

Definition at line 61 of file IRBuilder.h.

Constructor & Destructor Documentation

◆ ~IRBuilderDefaultInserter()

IRBuilderDefaultInserter::~IRBuilderDefaultInserter ( )
virtualdefault

Member Function Documentation

◆ InsertHelper()

virtual void llvm::IRBuilderDefaultInserter::InsertHelper ( Instruction I,
const Twine Name,
BasicBlock BB,
BasicBlock::iterator  InsertPt 
) const
inlinevirtual

Reimplemented in llvm::IRBuilderCallbackInserter.

Definition at line 65 of file IRBuilder.h.

References I, and Name.

Referenced by llvm::IRBuilderBase::Insert(), and llvm::IRBuilderCallbackInserter::InsertHelper().


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