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

Method Xor

core/codegen/arithmetic.go:265–268  ·  view source on GitHub ↗

Xor performs a bitwise-xor of the two integers. The types of the two values must be equal.

(x, y *Value)

Source from the content-addressed store, hash-verified

263// Xor performs a bitwise-xor of the two integers.
264// The types of the two values must be equal.
265func (b *Builder) Xor(x, y *Value) *Value {
266 assertTypesEqual(x.Type(), y.Type())
267 return b.val(x.Type(), b.llvm.CreateXor(x.llvm, y.llvm, x.Name()+"^"+y.Name()))
268}
269
270// Shuffle performs a vector-shuffle operation of the two vector values x and y
271// with the specified indices.

Callers 2

hash64BitMethod · 0.80
buildWriteFuncsMethod · 0.80

Calls 4

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

Tested by

no test coverage detected