enum CondCode

Description

ISD::CondCode enum - These are ordered carefully to make the bitfields below work out, when considering SETFALSE (something that never exists dynamically) as 0. "U" -> Unsigned (for integer operands) or Unordered (for floating point), "L" -> Less than, "G" -> Greater than, "E" -> Equal to. If the "N" column is 1, the result of the comparison is undefined if the input is a NAN. All of these (except for the 'always folded ops') should be handled for floating point. For integer, only the SETEQ,SETNE,SETLT,SETLE,SETGT, SETGE,SETULT,SETULE,SETUGT, and SETUGE opcodes are used. Note that these are laid out in a specific order to allow bit-twiddling to transform conditions.

Declared at: llvm/include/llvm/CodeGen/ISDOpcodes.h:1424

Enumerators

NameValueComment
SETFALSE0
SETOEQ1
SETOGT2
SETOGE3
SETOLT4
SETOLE5
SETONE6
SETO7
SETUO8
SETUEQ9
SETUGT10
SETUGE11
SETULT12
SETULE13
SETUNE14
SETTRUE15
SETFALSE216
SETEQ17
SETGT18
SETGE19
SETLT20
SETLE21
SETNE22
SETTRUE223
SETCC_INVALID24