Module alloc

Source
Expand description

Internal memory allocator implementation for StableMIR.

This module handles all direct interactions with rustc queries and performs the actual memory allocations. The stable interface in stable_mir::alloc delegates all query-related operations to this implementation.

Functionsยง

allocation_filter
Creates an Allocation only from information within the AllocRange.
create_ty_and_layout
try_new_indirect
try_new_scalar
try_new_slice