Home
last modified time | relevance | path

Searched refs:CoroSuspends (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp152 Shape.CoroSuspends.clear(); in clear()
206 CoroSuspends.push_back(Suspend); in buildFrom()
211 CoroSuspends.push_back(Suspend); in buildFrom()
216 CoroSuspends.push_back(Suspend); in buildFrom()
222 FinalSuspendIndex = CoroSuspends.size() - 1; in buildFrom()
281 for (AnyCoroSuspendInst *CS : CoroSuspends) { in buildFrom()
306 for (auto *AnySuspend : CoroSuspends) { in buildFrom()
352 for (auto *AnySuspend : CoroSuspends) { in buildFrom()
438 FinalSuspendIndex != CoroSuspends.size() - 1) in buildFrom()
439 std::swap(CoroSuspends[FinalSuspendIndex], CoroSuspends.back()); in buildFrom()
H A DCoroSplit.cpp426 assert(cast<CoroSuspendInst>(Shape.CoroSuspends.back())->isFinal() && in markCoroutineAsDone()
429 ConstantInt *IndexVal = Shape.getIndex(Shape.CoroSuspends.size() - 1); in markCoroutineAsDone()
636 for (AnyCoroSuspendInst *CS : Shape.CoroSuspends) { in replaceCoroSuspends()
658 if (Shape.ABI == coro::ABI::Async && Shape.CoroSuspends.empty()) in replaceSwiftErrorOps()
1388 auto &S = Shape.CoroSuspends; in simplifySuspendPoints()
1494 Builder.CreateSwitch(Index, UnreachBB, Shape.CoroSuspends.size()); in createResumeEntryBlock()
1498 for (auto *AnyS : Shape.CoroSuspends) { in createResumeEntryBlock()
1713 Clones.reserve(Shape.CoroSuspends.size()); in splitAsyncCoroutine()
1714 for (size_t Idx = 0, End = Shape.CoroSuspends.size(); Idx != End; ++Idx) { in splitAsyncCoroutine()
1715 auto *Suspend = cast<CoroSuspendAsyncInst>(Shape.CoroSuspends[Idx]); in splitAsyncCoroutine()
[all …]
H A DCoroFrame.cpp325 for (auto *CSI : Shape.CoroSuspends) { in SuspendCrossingInfo()
796 for (auto *CoroSuspendInst : Shape.CoroSuspends) { in addFieldForAllocas()
1336 unsigned IndexBits = std::max(1U, Log2_64_Ceil(Shape.CoroSuspends.size())); in buildFrameType()
1451 for (AnyCoroSuspendInst *SuspendInst : CoroShape.CoroSuspends) in AllocaUseVisitor()
2662 for (auto *Suspend : Shape.CoroSuspends) { in eliminateSwiftErrorArgument()
2769 for (auto *CSI : Shape.CoroSuspends) { in sinkLifetimeStartMarkers()
2842 if (Shape.CoroSuspends.empty()) in collectFrameAlloca()
3102 if (Shape.ABI != coro::ABI::Async || !Shape.CoroSuspends.empty()) in buildCoroutineFrame()
3113 for (auto *CSI : Shape.CoroSuspends) { in buildCoroutineFrame()
H A DCoroInternal.h85 SmallVector<AnyCoroSuspendInst *, 4> CoroSuspends; member