Add codegen for inout arguments