clang  3.7.0
Public Member Functions | Protected Member Functions | List of all members
clang::CodeGen::CGBuilderInserter< PreserveNames > Class Template Reference

This is an IRBuilder insertion helper that forwards to CodeGenFunction::InsertHelper, which adds necessary metadata to instructions. More...

#include <CGBuilder.h>

Inheritance diagram for clang::CodeGen::CGBuilderInserter< PreserveNames >:
[legend]
Collaboration diagram for clang::CodeGen::CGBuilderInserter< PreserveNames >:
[legend]

Public Member Functions

 CGBuilderInserter ()
 
 CGBuilderInserter (CodeGenFunction *CGF)
 

Protected Member Functions

void InsertHelper (llvm::Instruction *I, const llvm::Twine &Name, llvm::BasicBlock *BB, llvm::BasicBlock::iterator InsertPt) const
 This forwards to CodeGenFunction::InsertHelper. More...
 

Detailed Description

template<bool PreserveNames>
class clang::CodeGen::CGBuilderInserter< PreserveNames >

This is an IRBuilder insertion helper that forwards to CodeGenFunction::InsertHelper, which adds necessary metadata to instructions.

Definition at line 24 of file CGBuilder.h.

Constructor & Destructor Documentation

template<bool PreserveNames>
clang::CodeGen::CGBuilderInserter< PreserveNames >::CGBuilderInserter ( )
inline

Definition at line 27 of file CGBuilder.h.

template<bool PreserveNames>
clang::CodeGen::CGBuilderInserter< PreserveNames >::CGBuilderInserter ( CodeGenFunction CGF)
inlineexplicit

Definition at line 28 of file CGBuilder.h.

Member Function Documentation

template<bool PreserveNames>
template void CGBuilderInserter::InsertHelper ( llvm::Instruction *  I,
const llvm::Twine &  Name,
llvm::BasicBlock *  BB,
llvm::BasicBlock::iterator  InsertPt 
) const
protected

This forwards to CodeGenFunction::InsertHelper.

Definition at line 1758 of file CodeGenFunction.cpp.


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