MLIR 22.0.0git
Operation.h File Reference
#include "mlir/IR/Block.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/Region.h"
#include "llvm/ADT/Twine.h"
#include <optional>

Go to the source code of this file.

Classes

class  mlir::Operation
 Operation is the basic unit of execution within MLIR. More...
class  mlir::Operation::CloneOptions
 Class encompassing various options related to cloning an operation. More...
class  mlir::Operation::dialect_attr_iterator
 A utility iterator that filters out non-dialect attributes. More...
class  mlir::OpWithFlags
 A wrapper class that allows for printing an operation with a set of flags, useful to act as a "stream modifier" to customize printing an operation with a stream using the operator<< overload, e.g.: llvm::dbgs() << OpWithFlags(op, OpPrintingFlags().skipRegions()); This always prints the operation with the local scope, to avoid introducing spurious newlines in the stream. More...
class  mlir::OpWithState
 A wrapper class that allows for printing an operation with a custom AsmState, useful to act as a "stream modifier" to customize printing an operation with a stream using the operator<< overload, e.g.: llvm::dbgs() << OpWithState(op, OpPrintingFlags().skipRegions());. More...
struct  llvm::CastInfo< T, ::mlir::Operation * >
 Cast from an (const) Operation * to a derived operation type. More...
struct  llvm::CastInfo< T, const ::mlir::Operation * >
struct  llvm::CastInfo< T, ::mlir::Operation >
 Cast from an (const) Operation & to a derived operation type. More...
struct  llvm::CastInfo< T, const ::mlir::Operation >
struct  llvm::CastInfo<::mlir::Operation *, ::mlir::Operation * >
 Cast (const) Operation * to itself. More...
struct  llvm::CastInfo< const ::mlir::Operation *, const ::mlir::Operation * >

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::detail
 AttrTypeReplacer.
namespace  llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.

Enumerations

enum class  mlir::detail::OpProperties : char
 This is a "tag" used for mapping the properties storage in llvm::TrailingObjects. More...

Functions

raw_ostreammlir::operator<< (raw_ostream &os, const Operation &op)
raw_ostreammlir::operator<< (raw_ostream &os, OpWithFlags opWithFlags)
raw_ostreammlir::operator<< (raw_ostream &os, const OpWithState &opWithState)