New PM pass that finds better places for prologue/epilogue save and restore.
Synopsis
Declared in <llvm/CodeGen/ShrinkWrap.h>
class ShrinkWrapPass
: public OptionalPassInfoMixin<ShrinkWrapPass>
Description
Looks for the best place to insert save and restore instructions so that callee‐saved registers are only preserved on paths that need them.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Member Functions
Name |
Description |
Return the properties this pass requires of the machine function. |
|
Shrink‐wrap save and restore points in |
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
Created with MrDocs