12 #ifndef LLVM_TRANSFORMS_COROUTINES_H
13 #define LLVM_TRANSFORMS_COROUTINES_H
18 class PassManagerBuilder;
aarch64 AArch64 CCMP Pass
Pass * createCoroSplitPass()
Split up coroutines into multiple functions driving their state machines.
Pass * createCoroEarlyPass()
Lower coroutine intrinsics that are not needed by later passes.
Pass * createCoroCleanupPass()
Lower all remaining coroutine intrinsics.
Pass * createCoroElidePass()
Analyze coroutines use sites, devirtualize resume/destroy calls and elide heap allocation for corouti...
void addCoroutinePassesToExtensionPoints(PassManagerBuilder &Builder)
Add all coroutine passes to appropriate extension points.