Compiler Optimizations For Irregular Memory Access Patterns In The Pgas Programming Model