LLVM  14.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 63 of file IRBuilder.h.

Constructor & Destructor Documentation

◆ ~IRBuilderDefaultInserter()

IRBuilderDefaultInserter::~IRBuilderDefaultInserter ( )
virtual

Definition at line 1256 of file IRBuilder.cpp.

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 67 of file IRBuilder.h.

References BB, and I.

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


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