Function cranelift_codegen_meta::gen_inst::get_constraint
source · fn get_constraint<'entries, 'table>(
operand: &'entries Operand,
ctrl_typevar: Option<&TypeVar>,
type_sets: &'table mut UniqueTable<'entries, TypeSet>
) -> String
Expand description
Get the value type constraint for an SSA value operand, where
ctrl_typevar
is the controlling type variable.
Each operand constraint is represented as a string, one of:
Concrete(vt)
, wherevt
is a value type name.Free(idx)
whereidx
is an index intotype_sets
.Same
,Lane
,AsTruthy
for controlling typevar-derived constraints.