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

#include <Attributes.h>

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

Static Public Member Functions

static UnitAttr get (MLIRContext *context)
 
static bool kindof (unsigned kind)
 
- Static Public Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
static ClassIDgetClassID ()
 Return a unique identifier for the concrete type. More...
 
template<typename T >
static bool classof (T val)
 

Additional Inherited Members

- Public Types inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
using Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
 Utility declarations for the concrete attribute class. More...
 
using ImplType = StorageT
 
- Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
ImplTypegetImpl () const
 Utility for easy access to the storage instance. More...
 
- Static Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
template<typename... Args>
static ConcreteT get (MLIRContext *ctx, unsigned kind, Args... args)
 
template<typename... Args>
static ConcreteT getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args)
 
template<typename... Args>
static LogicalResult verifyConstructionInvariants (Args... args)
 Default implementation that just returns success. More...
 

Detailed Description

Unit attributes are attributes that hold no specific value and are given meaning by their existence.

Member Function Documentation

◆ get()

UnitAttr UnitAttr::get ( MLIRContext context)
static

◆ kindof()

static bool mlir::UnitAttr::kindof ( unsigned  kind)
inlinestatic

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