public ReturnInst CreateAggregateRet(ReadOnlySpan <Value> retVals) { using var retValHandles = new MarshaledArray <Value, LLVMValueRef>(retVals, (value) => value.Handle); var handle = Handle.BuildAggregateRet(retValHandles); return(Context.GetOrCreate <ReturnInst>(handle)); }