Skip to content

'dialects.hls' Submodule

Introduction

from streamtensor.dialects import hls

MemoryKind(value)

__eq__(other)

eq(self: object, other: object) -> bool

__hash__()

hash(self: object) -> int

__index__()

index(self: _hls_dialect.MemoryKind) -> int

__int__()

int(self: _hls_dialect.MemoryKind) -> int

__ne__(other)

ne(self: object, other: object) -> bool

get_func_arg_name(func_op, arg_index)

get_func_arg_name(func_op: MlirOperation, arg_index: int) -> Optional[str]

Returns the C++ name of the argument at the given index.

Parameters:

Name Type Description Default
func_op MlirOperation

The func.func operation to query.

required
arg_index int

The index of the argument to query.

required

Returns:

Type Description
str | None

The C++ name of the argument at the given index.