clang 20.0.0git
Public Member Functions | List of all members
clang::CodeGen::CGBuilderInserter Class Referencefinal

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

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGBuilder.h"

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

Public Member Functions

 CGBuilderInserter ()=default
 
 CGBuilderInserter (CodeGenFunction *CGF)
 
void InsertHelper (llvm::Instruction *I, const llvm::Twine &Name, llvm::BasicBlock::iterator InsertPt) const override
 This forwards to CodeGenFunction::InsertHelper.
 

Detailed Description

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

Definition at line 30 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 35 of file CGBuilder.h.

Member Function Documentation

◆ InsertHelper()

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

This forwards to CodeGenFunction::InsertHelper.

Definition at line 2706 of file CodeGenFunction.cpp.


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