MLIR  19.0.0git
Static Public Member Functions | List of all members
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 1136 of file Operation.h.

Member Function Documentation

◆ doCast()

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

Definition at line 1142 of file Operation.h.

◆ isPossible()

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

Definition at line 1141 of file Operation.h.


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