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

#include <LinalgTypes.h>

Inheritance diagram for mlir::linalg::RangeType:
Inheritance graph
[legend]
Collaboration diagram for mlir::linalg::RangeType:
Collaboration graph
[legend]

Static Public Member Functions

static RangeType get (MLIRContext *context)
 Construction hook. More...
 
static bool kindof (unsigned kind)
 Used to implement llvm-style cast. More...
 
- 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

A RangeType represents a minimal range abstraction (min, max, step). It is constructed by calling the linalg.range op with three values index of index type:

func @foo(%arg0 : index, %arg1 : index, %arg2 : index) {
%0 = linalg.range %arg0:%arg1:%arg2 : !linalg.range
}

Member Function Documentation

◆ get()

static RangeType mlir::linalg::RangeType::get ( MLIRContext context)
inlinestatic

Construction hook.

Custom, uniq'ed construction in the MLIRContext.

◆ kindof()

static bool mlir::linalg::RangeType::kindof ( unsigned  kind)
inlinestatic

Used to implement llvm-style cast.


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