llvm::PartiallyInlineLibCallsPass

Pass that partially inlines the fast path of well-known library functions.

Synopsis

Declared in <llvm/Transforms/Scalar/PartiallyInlineLibCalls.h>

class PartiallyInlineLibCallsPass
    : public OptionalPassInfoMixin<PartiallyInlineLibCallsPass>

Description

For example, it may use square-root instructions for cases where sqrt() does not need to set errno.

Base Classes

NameDescription
OptionalPassInfoMixin<PartiallyInlineLibCallsPass>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
run Run partial library-call inlining over the function.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.