LLVM  6.0.0svn
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 169 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 178 of file IRBuilder.h.

Member Function Documentation

◆ getBlock()

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

Definition at line 184 of file IRBuilder.h.

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

◆ getPoint()

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

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

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


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