Searched refs:CoroId (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroElide.cpp | 299 bool Lowerer::processCoroId(CoroIdInst *CoroId, AAResults &AA, in processCoroId() argument 307 for (User *U : CoroId->users()) { in processCoroId() 335 ConstantArray *Resumers = CoroId->getInfo().Resumers; in processCoroId() 343 bool ShouldElide = shouldElide(CoroId->getFunction(), DT); in processCoroId() 354 elideHeapAllocations(CoroId->getFunction(), FrameSizeAndAlign->first, in processCoroId() 356 coro::replaceCoroFree(CoroId, /*Elide=*/true); in processCoroId() 361 << "Elide " << CoroId->getCoroutine()->getName() << " in " in processCoroId() 362 << CoroId->getFunction()->getName() << "\n"; in processCoroId()
|
| H A D | CoroEarly.cpp | 142 static void setCannotDuplicate(CoroIdInst *CoroId) { in setCannotDuplicate() argument 143 for (User *U : CoroId->users()) in setCannotDuplicate() 149 CoroIdInst *CoroId = nullptr; in lowerEarlyIntrinsics() local 188 CoroId = cast<CoroIdInst>(&I); in lowerEarlyIntrinsics() 215 if (CoroId) in lowerEarlyIntrinsics() 217 CF->setArgOperand(0, CoroId); in lowerEarlyIntrinsics()
|
| H A D | Coroutines.cpp | 130 void coro::replaceCoroFree(CoroIdInst *CoroId, bool Elide) { in replaceCoroFree() argument 132 for (User *U : CoroId->users()) in replaceCoroFree() 140 Elide ? ConstantPointerNull::get(Type::getInt8PtrTy(CoroId->getContext())) in replaceCoroFree()
|
| H A D | CoroInternal.h | 26 void replaceCoroFree(CoroIdInst *CoroId, bool Elide);
|
| H A D | CoroSplit.cpp | 1174 CoroIdInst *CoroId = Shape.getSwitchCoroId(); in updateCoroFrame() local 1175 if (CoroAllocInst *CA = CoroId->getCoroAlloc()) { in updateCoroFrame() 1390 auto *CoroId = CoroBegin->getId(); in handleNoSuspendCoroutine() local 1391 auto *AllocInst = CoroId->getCoroAlloc(); in handleNoSuspendCoroutine() 1394 auto SwitchId = cast<CoroIdInst>(CoroId); in handleNoSuspendCoroutine()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 68 llvm::CallInst *CoroId = nullptr; member 91 llvm::CallInst *CoroId, in createCoroData() argument 107 CurCoro.Data->CoroId = CoroId; in createCoroData() 488 auto *CoroId = Builder.CreateCall( in EmitCoroutineBody() local 491 createCoroData(*this, CurCoro, CoroId); in EmitCoroutineBody() 499 CGM.getIntrinsic(llvm::Intrinsic::coro_alloc), {CoroId}); in EmitCoroutineBody() 531 CGM.getIntrinsic(llvm::Intrinsic::coro_begin), {CoroId, Phi}); in EmitCoroutineBody() 566 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId); in EmitCoroutineBody() 569 CoroId->setArgOperand(1, PromiseAddrVoidPtr); in EmitCoroutineBody() 685 if (CurCoro.Data && CurCoro.Data->CoroId) { in EmitCoroutineIntrinsic() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Async/IR/ |
| H A D | AsyncTypes.td | 79 def Async_CoroIdType : Async_Type<"CoroId", "coro.id"> {
|