New PM pass that merges disjoint stack slots to reduce frame size.
Synopsis
Declared in <llvm/CodeGen/StackColoring.h>
class StackColoringPass
: public RequiredPassInfoMixin<StackColoringPass>
Description
Uses LIFETIME_START and LIFETIME_END markers to find non‐overlapping stack allocations and color them onto shared slots. Distinct from StackSlotColoring, which optimizes spill slots.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that should not be skipped. |
Member Functions
Name |
Description |
Merge disjoint stack slots in |
Static Member Functions
Name |
Description |
Return true; required passes cannot be skipped. |
Created with MrDocs