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

Method regclass_early_def

src/function.rs:391–396  ·  view source on GitHub ↗
(value: Value, class: RegClass)

Source from the content-addressed store, hash-verified

389 #[inline]
390 #[must_use]
391 pub fn regclass_early_def(value: Value, class: RegClass) -> Self {
392 Self::new(
393 OperandKind::EarlyDef(value),
394 OperandConstraint::Class(class),
395 )
396 }
397
398 /// Create an `Operand` that designates a use of a `Value` that must be in a
399 /// specific register. This value is read by the instruction and may be

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected