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

Method LessOrEqualTo

core/codegen/arithmetic.go:149–151  ·  view source on GitHub ↗

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

(x, y *Value)

Source from the content-addressed store, hash-verified

147
148// LessOrEqualTo returns x <= y. The types of the two values must be equal.
149func (b *Builder) LessOrEqualTo(x, y *Value) *Value {
150 return b.cmp(x, "<=", y, llvm.IntULE, llvm.IntSLE, llvm.FloatOLE)
151}
152
153// Add returns x + y. The types of the two values must be equal.
154func (b *Builder) Add(x, y *Value) *Value {

Callers 2

buildMapMethod · 0.80
doBinaryOpMethod · 0.80

Calls 1

cmpMethod · 0.95

Tested by

no test coverage detected