LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Protected Member Functions | List of all members
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]

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
inlineprotected

Definition at line 41 of file IRBuilder.h.

Referenced by llvm::InstCombineIRInserter::InsertHelper().


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