LLVM 19.0.0git
Public Member Functions | List of all members
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 257 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.

◆ 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 266 of file IRBuilder.h.

Member Function Documentation

◆ getBlock()

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

◆ getPoint()

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

◆ isSet()

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

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