Referrers returns the list of instructions that have this value as one of their operands; it may contain duplicates if an instruction has a repeated operand.

Referrers actually returns a pointer through which the caller may perform mutations to the object's state.

Referrers is currently only defined if Parent()!=nil, i.e. for the function-local values FreeVar, Parameter, Functions (iff anonymous) and all value-defining instructions. It returns nil for named Functions, Builtin, Const and Global.

Instruction.Operands contains the inverse of this relation.

Referrers is referenced in 4 repositories