[Chapel Merge] This PR generates GPU code from a function written

Branch: refs/heads/master
Revision: 8e03c9e
Author: slnguyen
Log Message:

Merge pull request #17116 from slnguyen/split-codegen1

This PR generates GPU code from a function written in chapel if LLVM is enabled and the locale model is set to 'CHPL_LOCALE_MODEL=gpu'.

Reviewed by @lydia-duncan and @mppf

  • [x] local testing with llvm

Modified Files:
M compiler/codegen/codegen.cpp
M compiler/codegen/symbol.cpp
M compiler/include/clangUtil.h
M compiler/include/codegen.h
M compiler/include/flags_list.h
M compiler/llvm/clangUtil.cpp
M third-party/llvm/Makefile
M third-party/llvm/install-llvm.sh

Compare: https://github.com/chapel-lang/chapel/compare/cdb3ab2f12d4...8e03c9e25772