Xor performs a bitwise-xor of the two integers. The types of the two values must be equal.
(x, y *Value)
| 263 | // Xor performs a bitwise-xor of the two integers. |
| 264 | // The types of the two values must be equal. |
| 265 | func (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. |
no test coverage detected