search for: runscc

Displaying 2 results from an estimated 2 matches for "runscc".

2016 Jul 15
2
RFC: Coroutine Optimization Passes
...evisit of the SCC if there are any coroutine in it. This makes CGPassManager aware of a coroutine attribute and keep restarting the pipeline until no functions in SCC has coroutine attribute on them. https://reviews.llvm.org/D21569 Option 2: Add a ref parameter bool& Devirt parameter to runSCC virtual method. If a pass sets Devirt to true, it indicates to CGPassManager that the changes were made that require restart of the pipeline. https://reviews.llvm.org/D21570 Option 3: Similar to Option 2, but instead of an extra parameter to runSCC, I add another virtual function to CGSCC...
2016 Jul 15
4
RFC: Coroutine Optimization Passes
...repeated in P.S), or even some better way I did not think about? Thank you, Gor P.S. Option 1: https://reviews.llvm.org/D21569 (no longer relevant, since we are removing AttrKind::Coroutine) Option 2: https://reviews.llvm.org/D21570 (bool& Devirt in runSCC) Option 3: https://reviews.llvm.org/D21572 (virtual bool restatedRequested()) Option 4: Fake devirtualized call in a function pass, so that RefreshSCC will detect devirtualization and restart the pipeline by itself.