MCPcopy Create free account
hub / github.com/chc4/lineiform / bnot

Function bnot

tangle/src/oper.rs:508–518  ·  view source on GitHub ↗
(&mut self, val: JitTemp)

Source from the content-addressed store, hash-verified

506 }
507
508 pub fn bnot(&mut self, val: JitTemp) -> JitTemp {
509 use JitTemp::*;
510 match val {
511 Value(val, typ) => Value(self.builder.ins().bnot(val), typ),
512 Const8(c) => Const8(!c),
513 Const16(c) => Const16(!c),
514 Const32(c) => Const32(!c),
515 Const64(c) => Const64(!c),
516 _ => unimplemented!("bnot {:?}", val),
517 }
518 }
519

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected