Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInternal.h89 CoroBeginInst *CoroBegin; member
135 return cast<CoroIdInst>(CoroBegin->getId()); in getSwitchCoroId()
141 return cast<AnyCoroIdRetconInst>(CoroBegin->getId()); in getRetconCoroId()
175 auto FTy = CoroBegin->getFunction()->getFunctionType(); in getRetconResultTypes()
DCoroutines.cpp227 Shape.CoroBegin = nullptr; in clear()
237 static CoroSaveInst *createCoroSave(CoroBeginInst *CoroBegin, in createCoroSave() argument
242 cast<CoroSaveInst>(CallInst::Create(Fn, CoroBegin, "", SuspendInst)); in createCoroSave()
298 if (CoroBegin) in buildFrom()
305 CoroBegin = CB; in buildFrom()
326 if (!CoroBegin) { in buildFrom()
351 auto Id = CoroBegin->getId(); in buildFrom()
371 createCoroSave(CoroBegin, Suspend); in buildFrom()
474 CF->replaceAllUsesWith(CoroBegin); in buildFrom()
DCoroSplit.cpp737 Value *OldVFrame = cast<Value>(VMap[Shape.CoroBegin]); in create()
771 coro::replaceCoroFree(cast<CoroIdInst>(VMap[Shape.CoroBegin->getId()]), in create()
987 auto *CoroBegin = Shape.CoroBegin; in handleNoSuspendCoroutine() local
988 auto *CoroId = CoroBegin->getId(); in handleNoSuspendCoroutine()
1001 CoroBegin->replaceAllUsesWith(VFrame); in handleNoSuspendCoroutine()
1003 CoroBegin->replaceAllUsesWith(CoroBegin->getMem()); in handleNoSuspendCoroutine()
1010 CoroBegin->replaceAllUsesWith(UndefValue::get(CoroBegin->getType())); in handleNoSuspendCoroutine()
1014 CoroBegin->eraseFromParent(); in handleNoSuspendCoroutine()
1087 CoroBeginInst *CoroBegin) { in simplifySuspendPoint() argument
1110 if (SubFn->getFrame() != CoroBegin) in simplifySuspendPoint()
[all …]
DCoroFrame.cpp497 : PtrUseVisitor(DL), DT(DT), CoroBegin(CB) {} in AllocaUseVisitor()
501 if (DT.dominates(&I, &CoroBegin)) in visit()
521 const CoroBeginInst &CoroBegin; member
587 auto *CB = Shape.CoroBegin; in insertSpills()
1388 if (isCoroutineStructureIntrinsic(I) || &I == Shape.CoroBegin) in buildCoroutineFrame()