Searched refs:AllocInst (Results 1 – 2 of 2) sorted by relevance
1391 auto *AllocInst = CoroId->getCoroAlloc(); in handleNoSuspendCoroutine() local1395 coro::replaceCoroFree(SwitchId, /*Elide=*/AllocInst != nullptr); in handleNoSuspendCoroutine()1396 if (AllocInst) { in handleNoSuspendCoroutine()1397 IRBuilder<> Builder(AllocInst); in handleNoSuspendCoroutine()1401 AllocInst->replaceAllUsesWith(Builder.getFalse()); in handleNoSuspendCoroutine()1402 AllocInst->eraseFromParent(); in handleNoSuspendCoroutine()
2573 AllocaInst *AllocInst = dyn_cast<AllocaInst>(&BB->front()); in TEST_F() local2574 ASSERT_NE(AllocInst, nullptr); in TEST_F()2575 ArrayType *ArrType = dyn_cast<ArrayType>(AllocInst->getAllocatedType()); in TEST_F()2580 Instruction *IterInst = dyn_cast<Instruction>(AllocInst); in TEST_F()2585 EXPECT_EQ(DependAddrGEPIter->getPointerOperand(), AllocInst); in TEST_F()2605 EXPECT_EQ(DependBaseAddrGEP->getPointerOperand(), AllocInst); in TEST_F()2658 AllocaInst *AllocInst = dyn_cast<AllocaInst>(&BB->front()); in TEST_F() local2659 ASSERT_NE(AllocInst, nullptr); in TEST_F()2665 Instruction *IterInst = dyn_cast<Instruction>(AllocInst); in TEST_F()2670 EXPECT_EQ(DependAddrGEPIter->getPointerOperand(), AllocInst); in TEST_F()[all …]