MCPcopy Create free account
hub / github.com/google/gapid / LessThan

Method LessThan

core/codegen/arithmetic.go:139–141  ·  view source on GitHub ↗

LessThan returns x < y. The types of the two values must be equal.

(x, y *Value)

Source from the content-addressed store, hash-verified

137
138// LessThan returns x < y. The types of the two values must be equal.
139func (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.
144func (b *Builder) GreaterOrEqualTo(x, y *Value) *Value {

Callers

nothing calls this directly

Calls 1

cmpMethod · 0.95

Tested by

no test coverage detected