And performs a bitwise-and of the two integers. The types of the two values must be equal.
(x, y *Value)
| 249 | // And performs a bitwise-and of the two integers. |
| 250 | // The types of the two values must be equal. |
| 251 | func (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. |
no test coverage detected