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

Method GreaterOrEqualTo

core/codegen/arithmetic.go:144–146  ·  view source on GitHub ↗

GreaterOrEqualTo returns x >= y. The types of the two values must be equal.

(x, y *Value)

Source from the content-addressed store, hash-verified

142
143// GreaterOrEqualTo returns x >= y. The types of the two values must be equal.
144func (b *Builder) GreaterOrEqualTo(x, y *Value) *Value {
145 return b.cmp(x, ">=", y, llvm.IntUGE, llvm.IntSGE, llvm.FloatOGE)
146}
147
148// LessOrEqualTo returns x <= y. The types of the two values must be equal.
149func (b *Builder) LessOrEqualTo(x, y *Value) *Value {

Callers 4

doBinaryOpMethod · 0.80
buildWriteFuncsMethod · 0.80
encodeValueMethod · 0.80
buildEncodeTypeFuncsMethod · 0.80

Calls 1

cmpMethod · 0.95

Tested by

no test coverage detected