Olympus-HPC / proteus

Programmable JIT Compilation and Optimization for C/C++ using LLVM
Apache License 2.0
6 stars 0 forks source link

Refactor pass implementation #45

Open koparasy opened 8 hours ago

koparasy commented 8 hours ago

The current pass implementation is hard to parse. We should implement some class at least that reflects the expectation of the runtime library.

ggeorgakoudis commented 6 hours ago

For example, move instrumentation function creation to semantically named methods, e.g., getOrCreateJitLaunchKernelFunction