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

Method fixed_def

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

Source from the content-addressed store, hash-verified

410 #[inline]
411 #[must_use]
412 pub fn fixed_def(value: Value, reg: PhysReg) -> Self {
413 Self::new(OperandKind::Def(value), OperandConstraint::Fixed(reg))
414 }
415
416 /// Create an `Operand` that designates a definition of a `Value` that must
417 /// be in a specific register. This value is written to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected