Searched refs:CoroId (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp340 bool Lowerer::processCoroId(CoroIdInst *CoroId, AAResults &AA, argument
348 for (User *U : CoroId->users()) {
376 ConstantArray *Resumers = CoroId->getInfo().Resumers;
384 bool ShouldElide = shouldElide(CoroId->getFunction(), DT);
389 return OptimizationRemarkMissed(DEBUG_TYPE, "CoroElide", CoroId)
390 << "'" << ore::NV("callee", CoroId->getCoroutine()->getName())
392 << ore::NV("caller", CoroId->getFunction()->getName())
397 return OptimizationRemarkMissed(DEBUG_TYPE, "CoroElide", CoroId)
398 << "'" << ore::NV("callee", CoroId->getCoroutine()->getName())
400 << ore::NV("caller", CoroId
[all...]
H A DCoroEarly.cpp163 static void setCannotDuplicate(CoroIdInst *CoroId) { argument
164 for (User *U : CoroId->users())
170 CoroIdInst *CoroId = nullptr; local
209 CoroId = cast<CoroIdInst>(&I);
236 if (CoroId)
238 CF->setArgOperand(0, CoroId);
H A DCoroutines.cpp123 // Replace all coro.frees associated with the provided CoroId either with 'null'
125 void coro::replaceCoroFree(CoroIdInst *CoroId, bool Elide) { argument
127 for (User *U : CoroId->users())
136 ? ConstantPointerNull::get(PointerType::get(CoroId->getContext(), 0))
H A DCoroInternal.h26 void replaceCoroFree(CoroIdInst *CoroId, bool Elide);
H A DCoroSplit.cpp1263 CoroIdInst *CoroId = Shape.getSwitchCoroId(); local
1264 if (CoroAllocInst *CA = CoroId->getCoroAlloc()) {
1482 auto *CoroId = CoroBegin->getId(); local
1483 auto *AllocInst = CoroId->getCoroAlloc();
1486 auto SwitchId = cast<CoroIdInst>(CoroId);
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp68 llvm::CallInst *CoroId = nullptr; member in struct:clang::CodeGen::CGCoroData
91 llvm::CallInst *CoroId,
107 CurCoro.Data->CoroId = CoroId;
466 // Emit "if (coro.free(CoroId, CoroBegin)) Deallocate;"
654 auto *CoroId = Builder.CreateCall( local
657 createCoroData(*this, CurCoro, CoroId);
665 CGM.getIntrinsic(llvm::Intrinsic::coro_alloc), {CoroId});
699 CGM.getIntrinsic(llvm::Intrinsic::coro_begin), {CoroId, Phi});
737 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId);
89 createCoroData(CodeGenFunction &CGF, CodeGenFunction::CGCoroInfo &CurCoro, llvm::CallInst *CoroId, CallExpr const *CoroIdExpr = nullptr) argument
[all...]

Completed in 78 milliseconds