LLVM 22.0.0git
llvm::IRBuilderBase::InsertPoint Class Reference

InsertPoint - A saved insertion point. More...

#include "llvm/IR/IRBuilder.h"

Public Member Functions

 InsertPoint ()=default
 Creates a new insertion point which doesn't point to anything.
 InsertPoint (BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint)
 Creates a new insertion point at the given location.
bool isSet () const
 Returns true if this insert point is set.
BasicBlockgetBlock () const
BasicBlock::iterator getPoint () const

Detailed Description

InsertPoint - A saved insertion point.

Definition at line 291 of file IRBuilder.h.

Constructor & Destructor Documentation

◆ InsertPoint() [1/2]

llvm::IRBuilderBase::InsertPoint::InsertPoint ( )
default

Creates a new insertion point which doesn't point to anything.

Referenced by InsertPoint().

◆ InsertPoint() [2/2]

llvm::IRBuilderBase::InsertPoint::InsertPoint ( BasicBlock * InsertBlock,
BasicBlock::iterator InsertPoint )
inline

Creates a new insertion point at the given location.

Definition at line 300 of file IRBuilder.h.

References InsertPoint().

Member Function Documentation

◆ getBlock()

BasicBlock * llvm::IRBuilderBase::InsertPoint::getBlock ( ) const
inline

Definition at line 306 of file IRBuilder.h.

Referenced by llvm::IRBuilderBase::restoreIP().

◆ getPoint()

BasicBlock::iterator llvm::IRBuilderBase::InsertPoint::getPoint ( ) const
inline

Definition at line 307 of file IRBuilder.h.

Referenced by llvm::IRBuilderBase::restoreIP().

◆ isSet()

bool llvm::IRBuilderBase::InsertPoint::isSet ( ) const
inline

Returns true if this insert point is set.

Definition at line 304 of file IRBuilder.h.

Referenced by llvm::IRBuilderBase::restoreIP().


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