Add helper functions for computing the Location of load, store,