clang API Documentation

Public Member Functions | Protected Member Functions
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 >:
Inheritance graph
[legend]
Collaboration diagram for clang::CodeGen::CGBuilderInserter< PreserveNames >:
Collaboration graph
[legend]

List of all members.

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.

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) [inline, explicit]

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]

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