Turning control flow graphs into function calls: Code generation for heterogeneous architectures | IEEE Conference Publication | IEEE Xplore