LLVM API Documentation

Protected Member Functions
llvm::IRBuilderDefaultInserter< preserveNames > Class Template 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 <IRBuilder.h>

Inheritance diagram for llvm::IRBuilderDefaultInserter< preserveNames >:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

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

Detailed Description

template<bool preserveNames = true>
class llvm::IRBuilderDefaultInserter< preserveNames >

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


Member Function Documentation

template<bool preserveNames = true>
void llvm::IRBuilderDefaultInserter< preserveNames >::InsertHelper ( Instruction I,
const Twine Name,
BasicBlock BB,
BasicBlock::iterator  InsertPt 
) const [inline, protected]

Reimplemented in llvm::InstCombineIRInserter.

Definition at line 41 of file IRBuilder.h.


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