MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wrapping_neg

Method wrapping_neg

cranelift/codegen/src/ir/immediates.rs:69–71  ·  view source on GitHub ↗

Return self negated.

(self)

Source from the content-addressed store, hash-verified

67
68 /// Return self negated.
69 pub fn wrapping_neg(self) -> Self {
70 Self(self.0.wrapping_neg())
71 }
72
73 /// Returns the value of this immediate.
74 pub fn bits(&self) -> i64 {

Callers 12

build_jump_tableMethod · 0.80
parse_i64Function · 0.80
maybe_from_u64Method · 0.80
xneg32Method · 0.80
xneg64Method · 0.80
vneg8x16Method · 0.80
vneg16x8Method · 0.80
vneg32x4Method · 0.80
vneg64x2Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected