MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / fixed_use

Method fixed_use

src/function.rs:403–405  ·  view source on GitHub ↗
(value: Value, reg: PhysReg)

Source from the content-addressed store, hash-verified

401 #[inline]
402 #[must_use]
403 pub fn fixed_use(value: Value, reg: PhysReg) -> Self {
404 Self::new(OperandKind::Use(value), OperandConstraint::Fixed(reg))
405 }
406
407 /// Create an `Operand` that designates a definition of a `Value` that must
408 /// be in a specific register. This value is written to by the instruction

Callers

nothing calls this directly

Calls 1

UseClass · 0.85

Tested by

no test coverage detected