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

Method regclass_def

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

Source from the content-addressed store, hash-verified

376 #[inline]
377 #[must_use]
378 pub fn regclass_def(value: Value, class: RegClass) -> Self {
379 Self::new(OperandKind::Def(value), OperandConstraint::Class(class))
380 }
381
382 /// Create an `Operand` that designates a definition of a `Value` that must
383 /// be in a register from the given register class. This value is written to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected