My Project
Static Public Member Functions | List of all members
mlir::LocationAttr Class Reference

#include <Location.h>

Inheritance diagram for mlir::LocationAttr:
Inheritance graph
[legend]
Collaboration diagram for mlir::LocationAttr:
Collaboration graph
[legend]

Static Public Member Functions

static bool classof (Attribute attr)
 Methods for support type inquiry through isa, cast, and dyn_cast. More...
 
- Static Public Member Functions inherited from mlir::Attribute
static bool classof (Attribute)
 
static Attribute getFromOpaquePointer (const void *ptr)
 Construct an attribute from the opaque pointer representation. More...
 

Additional Inherited Members

- Public Types inherited from mlir::Attribute
enum  Kind { DEFINE_SYM_KIND_RANGE, DEFINE_SYM_KIND_RANGE }
 Integer identifier for all the concrete attribute kinds. More...
 
template<typename ConcreteType , typename BaseType = Attribute, typename StorageType = AttributeStorage>
using AttrBase = detail::StorageUserBase< ConcreteType, BaseType, StorageType, detail::AttributeUniquer >
 Utility class for implementing attributes. More...
 
using ImplType = AttributeStorage
 
using ValueType = void
 
- Public Member Functions inherited from mlir::Attribute
 Attribute ()
 
 Attribute (const ImplType *impl)
 
 Attribute (const Attribute &other)=default
 
Attribute & operator= (const Attribute &other)=default
 
bool operator== (Attribute other) const
 
bool operator!= (Attribute other) const
 
 operator bool () const
 
bool operator! () const
 
template<typename U >
bool isa () const
 
template<typename U >
U dyn_cast () const
 
template<typename U >
U dyn_cast_or_null () const
 
template<typename U >
U cast () const
 
unsigned getKind () const
 Return the classification for this attribute. More...
 
Type getType () const
 Return the type of this attribute. More...
 
MLIRContext * getContext () const
 Return the context this attribute belongs to. More...
 
Dialect & getDialect () const
 Get the dialect this attribute is registered to. More...
 
void print (raw_ostream &os) const
 Print the attribute. More...
 
void dump () const
 
const void * getAsOpaquePointer () const
 Get an opaque pointer to the attribute. More...
 
- Protected Attributes inherited from mlir::Attribute
ImplType * impl
 

Detailed Description

Location objects represent source locations information in MLIR. LocationAttr acts as the anchor for all Location based attributes.

Member Function Documentation

◆ classof()

static bool mlir::LocationAttr::classof ( Attribute  attr)
inlinestatic

Methods for support type inquiry through isa, cast, and dyn_cast.


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