clang  6.0.0svn
Public Member Functions | Protected Member Functions | List of all members
clang::CodeGen::CGBuilderInserter Class Reference

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

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGBuilder.h"

Inheritance diagram for clang::CodeGen::CGBuilderInserter:
Inheritance graph
[legend]
Collaboration diagram for clang::CodeGen::CGBuilderInserter:
Collaboration graph
[legend]

Public Member Functions

 CGBuilderInserter ()=default
 
 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

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

Definition at line 26 of file CGBuilder.h.

Constructor & Destructor Documentation

◆ CGBuilderInserter() [1/2]

clang::CodeGen::CGBuilderInserter::CGBuilderInserter ( )
default

◆ CGBuilderInserter() [2/2]

clang::CodeGen::CGBuilderInserter::CGBuilderInserter ( CodeGenFunction CGF)
inlineexplicit

Definition at line 29 of file CGBuilder.h.

References InsertHelper().

Member Function Documentation

◆ InsertHelper()

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 2193 of file CodeGenFunction.cpp.

Referenced by CGBuilderInserter().


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