llvm::IRBuilderBase::CreateConstrainedFPCmp

Create a constrained fp cmp.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

CallInst*
CreateConstrainedFPCmp(
    Intrinsic::ID ID,
    CmpInst::Predicate P,
    Value* L,
    Value* R,
    Twine const& Name = "",
    std::optional<fp::ExceptionBehavior> Except = std::nullopt);

Return Value

The created constrained floating-point compare.

Parameters

NameDescription
IDIntrinsic or statepoint identifier.
PComparison predicate.
LDebug location to apply to created instructions.
RRight-hand side operand.
NameName of the new instruction or value.
ExceptException behavior for a constrained FP intrinsic.