LessThan returns x < y. The types of the two values must be equal.
(x, y *Value)
| 137 | |
| 138 | // LessThan returns x < y. The types of the two values must be equal. |
| 139 | func (b *Builder) LessThan(x, y *Value) *Value { |
| 140 | return b.cmp(x, "<", y, llvm.IntULT, llvm.IntSLT, llvm.FloatOLT) |
| 141 | } |
| 142 | |
| 143 | // GreaterOrEqualTo returns x >= y. The types of the two values must be equal. |
| 144 | func (b *Builder) GreaterOrEqualTo(x, y *Value) *Value { |