MLIR  19.0.0git
Public Attributes | List of all members
mlir::MemorySlot Struct Reference

Represents a slot in memory. More...

#include "mlir/Interfaces/MemorySlotInterfaces.h"

+ Inheritance diagram for mlir::MemorySlot:

Public Attributes

Value ptr
 Pointer to the memory slot, used by operations to refer to it. More...
 
Type elemType
 Type of the value contained in the slot. More...
 

Detailed Description

Represents a slot in memory.

This is generated by an allocating operation (for example alloca).

Definition at line 20 of file MemorySlotInterfaces.h.

Member Data Documentation

◆ elemType

Type mlir::MemorySlot::elemType

Type of the value contained in the slot.

Definition at line 24 of file MemorySlotInterfaces.h.

Referenced by computeDestructuringInfo(), getSubslotAccessInfo(), getTypeAtIndex(), and isValidAccessType().

◆ ptr

Value mlir::MemorySlot::ptr

Pointer to the memory slot, used by operations to refer to it.

Definition at line 22 of file MemorySlotInterfaces.h.

Referenced by areAllIndicesI32(), computeDestructuringInfo(), destructureSlot(), and mlir::tryToPromoteMemorySlots().


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