llvm::getFCmpCondCode

Return the ISD condition code for an LLVM IR floating-point predicate.

Synopsis

Declared in <llvm/CodeGen/Analysis.h>

ISD::CondCode
getFCmpCondCode(FCmpInst::Predicate Pred);

Description

This includes consideration of global floating-point math flags.

Return Value

The ISD condition code for Pred.

Parameters

NameDescription
PredLLVM IR floating-point comparison predicate.