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

Method class

cranelift/codegen/src/machinst/reg.rs:113–116  ·  view source on GitHub ↗

Get the class of this register.

(self)

Source from the content-addressed store, hash-verified

111
112 /// Get the class of this register.
113 pub fn class(self) -> RegClass {
114 assert!(!self.to_spillslot().is_some());
115 VReg::from(self.0).class()
116 }
117
118 /// Is this a real (physical) reg?
119 pub fn is_real(self) -> bool {

Callers 15

gen_spillMethod · 0.45
gen_reloadMethod · 0.45
preg_to_pinned_vregFunction · 0.45
fromMethod · 0.45
emitMethod · 0.45
compute_frame_layoutMethod · 0.45
gen_retval_loadsMethod · 0.45
is_reg_saved_in_prologueFunction · 0.45
mov64Method · 0.45
mov32Method · 0.45
show_regFunction · 0.45

Calls 1

fromFunction · 0.85

Tested by

no test coverage detected