MLIR  15.0.0git
Public Member Functions | List of all members
mlir::OpBuilder::InsertPoint Class Reference

This class represents a saved insertion point. More...

#include "mlir/IR/Builders.h"

Public Member Functions

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

Detailed Description

This class represents a saved insertion point.

Definition at line 265 of file Builders.h.

Constructor & Destructor Documentation

◆ InsertPoint() [1/2]

mlir::OpBuilder::InsertPoint::InsertPoint ( )
default

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

◆ InsertPoint() [2/2]

mlir::OpBuilder::InsertPoint::InsertPoint ( Block insertBlock,
Block::iterator  insertPt 
)
inline

Creates a new insertion point at the given location.

Definition at line 271 of file Builders.h.

Member Function Documentation

◆ getBlock()

Block* mlir::OpBuilder::InsertPoint::getBlock ( ) const
inline

Definition at line 277 of file Builders.h.

Referenced by mlir::OpBuilder::restoreInsertionPoint().

◆ getPoint()

Block::iterator mlir::OpBuilder::InsertPoint::getPoint ( ) const
inline

Definition at line 278 of file Builders.h.

Referenced by mlir::OpBuilder::restoreInsertionPoint().

◆ isSet()

bool mlir::OpBuilder::InsertPoint::isSet ( ) const
inline

Returns true if this insert point is set.

Definition at line 275 of file Builders.h.

Referenced by mlir::OpBuilder::restoreInsertionPoint().


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