9 #ifndef MLIR_ANALYSIS_DATALAYOUTANALYSIS_H
10 #define MLIR_ANALYSIS_DATALAYOUTANALYSIS_H
13 #include "llvm/ADT/DenseMap.h"
43 std::unique_ptr<DataLayout> defaultLayout;
Stores data layout objects for each operation that specifies the data layout above and below the give...
const DataLayout & getAtOrAbove(Operation *operation) const
Returns the data layout specified by the given operation or its closest ancestor that can specify one...
const DataLayout & getAbove(Operation *operation) const
Returns the data layout active at the given operation, that is the data layout specified by the close...
DataLayoutAnalysis(Operation *root)
Constructs the data layouts.
The main mechanism for performing data layout queries.
Operation is the basic unit of execution within MLIR.
Include the generated interface declarations.