Displaying 1 result from an estimated 1 matches for "coroelide".
2016 Jul 15
2
RFC: Coroutine Optimization Passes
...ne that correspond to the code that needs to get executed after the
coroutine is resumed or destroyed. We also create a struct that will keep the
objects that need to persist across suspend points. This transformation is
done by CoroSplit CGSCC pass run as a part of the IPO optimizations pipeline.
CoroElide Pass: (Function Pass @ EP_ScalarOptimizerLate extension point)
---------------
The coroutine resumption intrinsics get replaced with direct calls to those
outlined functions where possible. Then inliner can inline much leaner and nicer
coroutine or any of the outlined parts as desired.
If we disco...