MLIR
20.0.0git
|
Add support for llvm style casts. More...
#include "mlir/IR/Location.h"
Static Public Member Functions | |
static bool | isPossible (mlir::Location location) |
static To | castFailed () |
static To | doCast (mlir::Location location) |
Add support for llvm style casts.
We provide a cast between To and From if From is mlir::Location or derives from it.
Definition at line 279 of file Location.h.
|
inlinestatic |
Definition at line 293 of file Location.h.
|
inlinestatic |
Definition at line 295 of file Location.h.
References mlir::Attribute::getImpl().
|
inlinestatic |
Return a constant true instead of a dynamic true when casting to self or up the hierarchy. Additionally, all casting info is deferred to the wrapped mlir::LocationAttr instance stored in mlir::Location.
Definition at line 285 of file Location.h.