llvm::NumericalStabilitySanitizerPass

A function pass for nsan instrumentation.

Synopsis

Declared in <llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h>

struct NumericalStabilitySanitizerPass
    : RequiredPassInfoMixin<NumericalStabilitySanitizerPass>

Description

Instruments functions to duplicate floating point computations in a higher-precision type. This pass inserts calls to runtime library functions. If the functions aren't declared yet, the pass inserts the declarations.

Base Classes

NameDescription
RequiredPassInfoMixin<NumericalStabilitySanitizerPass>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
run Run NumericalStabilitySanitizer instrumentation over the module.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.