Skip to main content

Module mem2reg

Module mem2reg 

Source
Expand description

Memory to register promotion optimization pass.

Structs§

AllocInfo
Information about an allocation of memory that can potentially be promoted to a register.
Mem2RegPass
The mem2reg pass, which promotes memory allocations to SSA registers where possible.

Enums§

PromotableOpKind
An operation implementing PromotableOpInterface provides this info.

Traits§

PromotableAllocationInterface
A promotable memory allocation implements this interface to provide the necessary info for register promotion.
PromotableOpInterface
Interface for operations that can be promoted to registers.

Functions§

mem2reg
Perform memory to register promotion on regions within root.