Lines Matching refs:Catch
186 for (auto *Catch : Catches) { in hoistCatches() local
187 MachineBasicBlock *EHPad = getMatchingEHPad(Catch); in hoistCatches()
195 if (InsertPos == Catch) in hoistCatches()
198 EHPad->insert(InsertPos, Catch->removeFromParent()); in hoistCatches()
314 auto *Catch = WebAssembly::findCatch(EHPad); in addCatchRefsAndThrowRefs() local
315 auto *InsertPos = Catch->getIterator()->getNextNode(); in addCatchRefsAndThrowRefs()
317 if (Catch->getOpcode() == WebAssembly::CATCH) { in addCatchRefsAndThrowRefs()
318 MachineInstrBuilder MIB = BuildMI(*EHPad, InsertPos, Catch->getDebugLoc(), in addCatchRefsAndThrowRefs()
321 for (const auto &Def : Catch->defs()) in addCatchRefsAndThrowRefs()
326 for (const auto &Use : Catch->uses()) { in addCatchRefsAndThrowRefs()
330 } else if (Catch->getOpcode() == WebAssembly::CATCH_ALL) { in addCatchRefsAndThrowRefs()
331 BuildMI(*EHPad, InsertPos, Catch->getDebugLoc(), in addCatchRefsAndThrowRefs()
337 Catch->eraseFromParent(); in addCatchRefsAndThrowRefs()