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

Method And

core/codegen/arithmetic.go:251–254  ·  view source on GitHub ↗

And performs a bitwise-and of the two integers. The types of the two values must be equal.

(x, y *Value)

Source from the content-addressed store, hash-verified

249// And performs a bitwise-and of the two integers.
250// The types of the two values must be equal.
251func (b *Builder) And(x, y *Value) *Value {
252 assertTypesEqual(x.Type(), y.Type())
253 return b.val(x.Type(), b.llvm.CreateAnd(x.llvm, y.llvm, x.Name()+"&"+y.Name()))
254}
255
256// Or performs a bitwise-or of the two integers.
257// The types of the two values must be equal.

Callers 1

EqualMethod · 0.95

Calls 4

valMethod · 0.95
assertTypesEqualFunction · 0.85
TypeMethod · 0.65
NameMethod · 0.65

Tested by

no test coverage detected