MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::shape::ShapeMappingAnalysis Struct Reference

ShapeMappingAnalysis is used together with OutlineShapeComputationPass to preserve Value and corresponding shape function / arguments mapping information. More...

#include "mlir/Dialect/Shape/Analysis/ShapeMappingAnalysis.h"

Public Member Functions

 ShapeMappingAnalysis (Operation *op)
 
void print (raw_ostream &os) const
 Dumps the shape mapping information to the given stream. More...
 

Public Attributes

llvm::DenseMap< Value, ShapeMappingValueshapeMapping
 

Detailed Description

ShapeMappingAnalysis is used together with OutlineShapeComputationPass to preserve Value and corresponding shape function / arguments mapping information.

Definition at line 37 of file ShapeMappingAnalysis.h.

Constructor & Destructor Documentation

◆ ShapeMappingAnalysis()

mlir::shape::ShapeMappingAnalysis::ShapeMappingAnalysis ( Operation op)
inline

Definition at line 38 of file ShapeMappingAnalysis.h.

Member Function Documentation

◆ print()

void mlir::shape::ShapeMappingAnalysis::print ( raw_ostream &  os) const
inline

Dumps the shape mapping information to the given stream.

Definition at line 41 of file ShapeMappingAnalysis.h.

References mlir::shape::ShapeMappingValue::funcSymbol, mlir::shape::ShapeMappingValue::inputs, and shapeMapping.

Member Data Documentation

◆ shapeMapping

llvm::DenseMap<Value, ShapeMappingValue> mlir::shape::ShapeMappingAnalysis::shapeMapping

Definition at line 51 of file ShapeMappingAnalysis.h.

Referenced by print().


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