MLIR 22.0.0git
llvm::CastInfo<::mlir::Operation *, ::mlir::Operation * > Struct Reference

Cast (const) Operation * to itself. More...

#include "mlir/IR/Operation.h"

Inheritance diagram for llvm::CastInfo<::mlir::Operation *, ::mlir::Operation * >:

Static Public Member Functions

static bool isPossible (::mlir::Operation *op)
::mlir::OperationdoCast (::mlir::Operation *op)

Detailed Description

Cast (const) Operation * to itself.

This is helpful to avoid SFINAE in templated implementations that should work on both base and derived operation types.

Definition at line 1186 of file Operation.h.

Member Function Documentation

◆ doCast()

::mlir::Operation * llvm::CastInfo<::mlir::Operation *, ::mlir::Operation * >::doCast ( ::mlir::Operation * op)
inlinestatic

Definition at line 1192 of file Operation.h.

◆ isPossible()

bool llvm::CastInfo<::mlir::Operation *, ::mlir::Operation * >::isPossible ( ::mlir::Operation * op)
inlinestatic

Definition at line 1191 of file Operation.h.


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