MLIR  20.0.0git
Public Member Functions | List of all members
mlir::IRUnit Class Reference

IRUnit is a union of the different types of IR objects that consistute the IR structure (other than Type and Attribute), that is Operation, Region, and Block. More...

#include "mlir/IR/Unit.h"

+ Inheritance diagram for mlir::IRUnit:

Public Member Functions

void print (raw_ostream &os, OpPrintingFlags flags=OpPrintingFlags().skipRegions().useLocalScope()) const
 Print the IRUnit to the given stream. More...
 

Detailed Description

IRUnit is a union of the different types of IR objects that consistute the IR structure (other than Type and Attribute), that is Operation, Region, and Block.

Definition at line 28 of file Unit.h.

Member Function Documentation

◆ print()

void mlir::IRUnit::print ( raw_ostream &  os,
OpPrintingFlags  flags = OpPrintingFlags().skipRegions().useLocalScope() 
) const

Print the IRUnit to the given stream.

Definition at line 50 of file Unit.cpp.

References printBlock(), printOp(), and printRegion().


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