Skip to main content

LLVMCreateDenormalFPEnvAttribute

Function LLVMCreateDenormalFPEnvAttribute 

Source
pub unsafe extern "C" fn LLVMCreateDenormalFPEnvAttribute(
    C: LLVMContextRef,
    DefaultModeOutput: LLVMDenormalModeKind,
    DefaultModeInput: LLVMDenormalModeKind,
    FloatModeOutput: LLVMDenormalModeKind,
    FloatModeInput: LLVMDenormalModeKind,
) -> LLVMAttributeRef
Expand description

Create a DenormalFPEnv attribute.

\p DefaultModeOutput is the assumed denormal handling for the outputs of most floating-point types.

\p DefaultModeInput is the assumed denormal handling for the inputs of most floating-point types.

\p FloatModeOutput is the assumed denormal handling for the outputs of float. This should always be the same as as DefaultModeOutput for most targets.

\p FloatModeInput is the assumed denormal handling for the inputs of float. This should always be the same as as DefaultModeInput for most targets.