Code Generation and Global Optimization Techniques for a Reconfigurable PRAM-NUMA Multicore Architecture - Code Generation and Global Optimization Techniques for a Reconfigurable PRAM-NUMA Multicore Architecture