LLVM  8.0.1
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. More...
 
 InsertPoint (BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint)
 Creates a new insertion point at the given location. More...
 
bool isSet () const
 Returns true if this insert point is set. More...
 
BasicBlockgetBlock () const
 
BasicBlock::iterator getPoint () const
 

Detailed Description

InsertPoint - A saved insertion point.

Definition at line 168 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 177 of file IRBuilder.h.

Member Function Documentation

◆ getBlock()

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

Definition at line 183 of file IRBuilder.h.

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

◆ getPoint()

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

Definition at line 184 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 181 of file IRBuilder.h.

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


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