Not returns !x. The type of x must be Bool.
(x *Value)
| 48 | |
| 49 | // Not returns !x. The type of x must be Bool. |
| 50 | func (b *Builder) Not(x *Value) *Value { |
| 51 | assertTypesEqual(x.ty, b.m.Types.Bool) |
| 52 | return b.val(b.m.Types.Bool, b.llvm.CreateNot(x.llvm, "!"+x.Name())) |
| 53 | } |
| 54 | |
| 55 | // Invert returns ~x. |
| 56 | func (b *Builder) Invert(x *Value) *Value { |
nothing calls this directly
no test coverage detected