Argument promotion pass.
Synopsis
Declared in <llvm/Transforms/IPO/ArgumentPromotion.h>
class ArgumentPromotionPass
: public OptionalPassInfoMixin<ArgumentPromotionPass>
Description
This pass walks the functions in each SCC and for each one tries to transform it and all of its callers to replace indirect arguments with direct (by‐value) arguments.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Member Functions
Name |
Description |
|
Construct an argument‐promotion pass. |
Run argument promotion over the functions in SCC |
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
Created with MrDocs