Searched refs:AllocInst (Results 1 – 1 of 1) sorted by relevance
1407 auto *AllocInst = CoroId->getCoroAlloc(); in handleNoSuspendCoroutine() local1411 coro::replaceCoroFree(SwitchId, /*Elide=*/AllocInst != nullptr); in handleNoSuspendCoroutine()1412 if (AllocInst) { in handleNoSuspendCoroutine()1413 IRBuilder<> Builder(AllocInst); in handleNoSuspendCoroutine()1417 AllocInst->replaceAllUsesWith(Builder.getFalse()); in handleNoSuspendCoroutine()1418 AllocInst->eraseFromParent(); in handleNoSuspendCoroutine()