Searched refs:CoroBegin (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h89 CoroBeginInst *CoroBegin; member in struct:llvm::coro::Shape
135 return cast<CoroIdInst>(CoroBegin->getId());
141 return cast<AnyCoroIdRetconInst>(CoroBegin->getId());
175 auto FTy = CoroBegin->getFunction()->getFunctionType();
H A DCoroutines.cpp227 Shape.CoroBegin = nullptr;
237 static CoroSaveInst *createCoroSave(CoroBeginInst *CoroBegin, argument
242 cast<CoroSaveInst>(CallInst::Create(Fn, CoroBegin, "", SuspendInst));
298 if (CoroBegin)
305 CoroBegin = CB;
326 if (!CoroBegin) {
351 auto Id = CoroBegin->getId();
371 createCoroSave(CoroBegin, Suspend);
474 CF->replaceAllUsesWith(CoroBegin);
H A DCoroSplit.cpp737 Value *OldVFrame = cast<Value>(VMap[Shape.CoroBegin]);
771 coro::replaceCoroFree(cast<CoroIdInst>(VMap[Shape.CoroBegin->getId()]),
810 // set Info parameter of CoroBegin to point at this constant. Example:
987 auto *CoroBegin = Shape.CoroBegin; local
988 auto *CoroId = CoroBegin->getId();
1001 CoroBegin->replaceAllUsesWith(VFrame);
1003 CoroBegin->replaceAllUsesWith(CoroBegin->getMem());
1010 CoroBegin
1086 simplifySuspendPoint(CoroSuspendInst *Suspend, CoroBeginInst *CoroBegin) argument
[all...]
H A DCoroFrame.cpp489 // alloca that dominates CoroBegin. If that is the case, insertSpills will copy
497 : PtrUseVisitor(DL), DT(DT), CoroBegin(CB) {}
501 if (DT.dominates(&I, &CoroBegin))
521 const CoroBeginInst &CoroBegin; member in struct:__anon5515::AllocaUseVisitor
587 auto *CB = Shape.CoroBegin;
708 // Unless, it is not dominated by CoroBegin, then it will be
751 // dominated by CoroBegin.
772 // If we discovered such uses not dominated by CoroBegin, see if any of them
1388 if (isCoroutineStructureIntrinsic(I) || &I == Shape.CoroBegin)
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp73 llvm::CallInst *CoroBegin = nullptr; member in struct:clang::CodeGen::CGCoroData
422 // Emit "if (coro.free(CoroId, CoroBegin)) Deallocate;"
594 auto *CoroBegin = Builder.CreateCall( local
596 CurCoro.Data->CoroBegin = CoroBegin;
705 if (CurCoro.Data && CurCoro.Data->CoroBegin) {
706 return RValue::get(CurCoro.Data->CoroBegin);
749 CurCoro.Data->CoroBegin = Call;

Completed in 182 milliseconds