Pass that shrink‐wraps unused library calls that may set errno.
Synopsis
Declared in <llvm/Transforms/Utils/LibCallsShrinkWrap.h>
class LibCallsShrinkWrapPass
: public OptionalPassInfoMixin<LibCallsShrinkWrapPass>
Description
Guards calls whose results are unused but that can set errno on error, so the call runs only on the rare error path and is otherwise skipped.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Member Functions
Name |
Description |
Run the libcalls‐shrink‐wrap pass over the function. |
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
|
Returns the name of this pass. |
Created with MrDocs