Searched refs:AllocInst (Results 1 – 1 of 1) sorted by relevance
1276 auto *AllocInst = CoroId->getCoroAlloc(); in handleNoSuspendCoroutine() local1280 coro::replaceCoroFree(SwitchId, /*Elide=*/AllocInst != nullptr); in handleNoSuspendCoroutine()1281 if (AllocInst) { in handleNoSuspendCoroutine()1282 IRBuilder<> Builder(AllocInst); in handleNoSuspendCoroutine()1286 AllocInst->replaceAllUsesWith(Builder.getFalse()); in handleNoSuspendCoroutine()1287 AllocInst->eraseFromParent(); in handleNoSuspendCoroutine()