Previously we decided to check in files that we generate with tablegen. The justification at the time was that it helped reviewers unfamiliar with `offload-tblgen` see the actual changes to the headers in PRs. After trying it for a while, it's ended up causing some headaches and is also not how tablegen is used elsewhere in LLVM. This changes our use of tablegen to be more conventional. Where possible, files are still clang-formatted, but this is no longer a hard requirement. Because `OffloadErrcodes.inc` is shared with libomptarget it now gets generated in a more appropriate place.
Offload New API
This directory contains the implementation of the experimental work-in-progress new API for Offload. It builds on top of the existing plugin implementations but provides a single level of abstraction suitable for runtimes for languages other than OpenMP to be built on top of.
See the API definition readme for implementation details.