layout: page |
title: Comparison Operations |
Predicates for use with icmp instruction are listed below. All of these are integer constants defined in the llvm.core module.
Equality
Inequality
Unsigned greater than
Unsigned greater than or equal
Unsigned less than
Unsigned less than or equal
Signed greater than
Signed greater than or equal
Signed less than
Signed less than or equal
Predicates for use with fcmp instruction are listed below. All of these are integer constants defined in the llvm.core module.
Always false
True if ordered and equal
True if ordered and greater than
True if ordered and greater than or equal
True if ordered and less than
True if ordered and less than or equal
True if ordered and operands are unequal
True if ordered (no NaNs)
True if unordered: isnan(X) | isnan(Y)
True if unordered or equal
True if unordered or greater than
True if unordered, greater than or equal
True if unordered, or less than
True if unordered, less than or equal
True if unordered or not equal
Always true