Eliminate dead arguments (and return values) from functions.
Synopsis
Declared in <llvm/Transforms/IPO/DeadArgumentElimination.h>
class DeadArgumentEliminationPass
: public OptionalPassInfoMixin<DeadArgumentEliminationPass>
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Types
Name |
Description |
Struct that represents (part of) either a return value or a function argument. Used so that arguments and return values can be used interchangeably. |
Type Aliases
Name |
Description |
Set of functions that must not be modified by this pass. |
|
Set of returns and arguments known to be live. |
|
Multimap from a return or argument to MaybeLive values it uses. |
|
Small vector of returns and arguments collected while surveying uses. |
Enums
Name |
Description |
Liveness of a return value or argument during dead‐argument analysis. |
Member Functions
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
Data Members
Name |
Description |
This set contains all functions that cannot be changed in any way. |
|
This set contains all functions that cannot change return type; |
|
This set contains all values that have been determined to be live. |
|
Multimap from each return or argument to the MaybeLive values it uses. |
Created with MrDocs