My Project
Namespaces | Classes | Typedefs | Enumerations | Functions
mlir::edsc Namespace Reference

Namespaces

 intrinsics
 
 op
 
 ops
 

Classes

class  AffineLoopNestBuilder
 
class  Append
 
class  BlockBuilder
 
class  BlockHandle
 
class  CapturableHandle
 
struct  CustomOperation
 Simple wrapper to build a generic operation without successor blocks. More...
 
class  GenericLoopNestRangeBuilder
 
struct  index_t
 
struct  IndexHandle
 
class  LoopBuilder
 
class  LoopNestBuilder
 
class  LoopNestRangeBuilder
 
class  LoopRangeBuilder
 
class  MemRefView
 
class  NestedBuilder
 
struct  OperationHandle
 
class  ScopedContext
 
struct  StructuredIndexed
 
class  TemplatedIndexedValue
 
class  ValueHandle
 
class  VectorView
 
class  View
 

Typedefs

using IndexedValue = TemplatedIndexedValue< intrinsics::affine_load, intrinsics::affine_store >
 
using StdIndexedValue = TemplatedIndexedValue< intrinsics::std_load, intrinsics::std_store >
 

Enumerations

enum  IterType { IterType::Parallel, IterType::Reduction }
 

Functions

StringRef toString (IterType t)
 
void defaultRegionBuilder (ArrayRef< BlockArgument > args)
 
OperationmakeGenericLinalgOp (ArrayRef< IterType > iteratorTypes, ArrayRef< StructuredIndexed > inputs, ArrayRef< StructuredIndexed > outputs, function_ref< void(ArrayRef< BlockArgument >)> regionBuilder=defaultRegionBuilder, ArrayRef< Value > otherValues={}, ArrayRef< Attribute > otherAttributes={})
 
template<typename Container >
SmallVector< ValueHandle, 8 > makeValueHandles (Container values)
 
SmallVector< IndexHandle, 8 > makeIndexHandles (unsigned rank)
 
template<typename T >
SmallVector< ValueHandle *, 8 > makeHandlePointers (MutableArrayRef< T > ivs)
 Entry point to build multiple ValueHandle* from a mutable list ivs of T. More...
 
SmallVector< Value, 8 > extractValues (ArrayRef< IndexHandle > ivs)
 Returns a vector of the underlying Value from ivs. More...
 

Typedef Documentation

◆ IndexedValue

◆ StdIndexedValue

Enumeration Type Documentation

◆ IterType

enum mlir::edsc::IterType
strong
Enumerator
Parallel 
Reduction 

Function Documentation

◆ defaultRegionBuilder()

void mlir::edsc::defaultRegionBuilder ( ArrayRef< BlockArgument args)
inline

◆ extractValues()

SmallVector<Value, 8> mlir::edsc::extractValues ( ArrayRef< IndexHandle ivs)
inline

Returns a vector of the underlying Value from ivs.

◆ makeGenericLinalgOp()

Operation * mlir::edsc::makeGenericLinalgOp ( ArrayRef< IterType iteratorTypes,
ArrayRef< StructuredIndexed inputs,
ArrayRef< StructuredIndexed outputs,
function_ref< void(ArrayRef< BlockArgument >)>  regionBuilder = defaultRegionBuilder,
ArrayRef< Value otherValues = {},
ArrayRef< Attribute otherAttributes = {} 
)

◆ makeHandlePointers()

template<typename T >
SmallVector<ValueHandle *, 8> mlir::edsc::makeHandlePointers ( MutableArrayRef< T >  ivs)
inline

Entry point to build multiple ValueHandle* from a mutable list ivs of T.

◆ makeIndexHandles()

SmallVector<IndexHandle, 8> mlir::edsc::makeIndexHandles ( unsigned  rank)
inline

◆ makeValueHandles()

template<typename Container >
SmallVector<ValueHandle, 8> mlir::edsc::makeValueHandles ( Container  values)
inline

Entry point to build multiple ValueHandle from a Container of Value or Type.

◆ toString()

StringRef mlir::edsc::toString ( IterType  t)
inline