Lines Matching refs:CPI
1163 static bool hasExceptionPointerOrCodeUser(const CatchPadInst *CPI) { in hasExceptionPointerOrCodeUser() argument
1164 for (const User *U : CPI->users()) { in hasExceptionPointerOrCodeUser()
1179 const CatchPadInst *CPI) { in mapWasmLandingPadIndex() argument
1184 CPI->getNumArgOperands() == 1 && in mapWasmLandingPadIndex()
1185 cast<Constant>(CPI->getArgOperand(0))->isNullValue(); in mapWasmLandingPadIndex()
1188 bool IsCatchLongjmp = CPI->getNumArgOperands() == 0; in mapWasmLandingPadIndex()
1192 for (const User *U : CPI->users()) { in mapWasmLandingPadIndex()
1223 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) { in PrepareEHLandingPad() local
1224 if (hasExceptionPointerOrCodeUser(CPI)) { in PrepareEHLandingPad()
1230 unsigned VReg = FuncInfo->getCatchPadExceptionPointerVReg(CPI, PtrRC); in PrepareEHLandingPad()
1254 if (const auto *CPI = dyn_cast<CatchPadInst>(LLVMBB->getFirstNonPHI())) in PrepareEHLandingPad() local
1255 mapWasmLandingPadIndex(MBB, CPI); in PrepareEHLandingPad()