API reference
python:irx:irx.builder.lowering.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:372
Declared as: python:irx:irx.builder.lowering.buffer.BufferVisitorMixin.lower_buffer_element_pointer
Lower a buffer view indexed access to a typed element pointer.
Parameters
-
view — View.; Type: ir.Value
-
indices — Indices.; Type: list[ir.Value]
-
element_type — Type of each element.; Type: astx.DataType
-
index_nodes — Index nodes.; Type: list[astx.AST]
-
node — Syntax node to process.; Type: astx.AST
-
bounds_policy — Bounds policy.; Type: BufferIndexBoundsPolicy
Returns
Lowered a buffer view indexed access to a typed element pointer.; Type: ir.Value