Module rustc_middle::mir::interpret::allocation[−][src]

Expand description

The virtual memory representation of the MIR interpreter.

Structs

AllocRange

The information that makes up a memory access: offset and size.

Allocation

This type represents an Allocation in the Miri/CTFE core engine.

AllocationRelocations

A partial, owned list of relocations to transfer into another allocation.

InitMask

A bitmask where each bit refers to the byte with the same index. If the bit is true, the byte is initialized. If it is false the byte is uninitialized.

InitMaskCompressed

Run-length encoding of the uninit mask. Used to copy parts of a mask multiple times to another allocation.

Relocations

Relocations.

Enums

AllocError

We have our own error type that does not know about the AllocId; that information is added when converting to InterpError.

Functions

alloc_range

Free-starting constructor for less syntactic overhead.

bit_index

Type Definitions

AllocResult
Block