Return the constrained intrinsic ID for an instruction under strictfp.

Synopsis

Declared in <llvm/IR/FPEnv.h>

Intrinsic::ID
getConstrainedIntrinsicID(Instruction const& Instr);

Description

If the instruction is already a constrained intrinsic or does not have a constrained intrinsic counterpart, the function returns zero.

Return Value

The constrained intrinsic ID for Instr, or zero if it is already constrained or has no constrained counterpart.

Parameters

Name

Description

Instr

Instruction to map to a constrained intrinsic.

Created with MrDocs