set lvalue-ness and location on register nodes