API reference
python:irx:irx.builder.lowering.buffer.BufferVisitorMixin.lower_buffer_element_pointer
method lower_buffer_element_pointer
lower_buffer_element_pointer(view: ir.Value, indices: list[ir.Value], element_type: astx.DataType, *, index_nodes: list[astx.AST], node: astx.AST, bounds_policy: BufferIndexBoundsPolicy = BufferIndexBoundsPolicy.DEFAULT) -> ir.Value
Source: packages/irx/src/irx/builder/lowering/buffer.py:409
Lower a buffer view indexed access to a typed element pointer.
Parameters
-
view — Type: ir.Value
-
indices — Type: list[ir.Value]
-
element_type — Type: astx.DataType
-
index_nodes — Type: list[astx.AST]
-
node — Type: astx.AST
-
bounds_policy — Type: BufferIndexBoundsPolicy
Returns
Type: ir.Value