Lines Matching refs:LPI
402 void visitLandingPadInst(LandingPadInst &LPI);
2903 if (auto *LPI = dyn_cast<LandingPadInst>(&I)) { in visitEHPadPredecessors() local
2912 LPI); in visitEHPadPredecessors()
2936 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst() argument
2939 Assert(LPI.getNumClauses() > 0 || LPI.isCleanup(), in visitLandingPadInst()
2940 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI); in visitLandingPadInst()
2942 visitEHPadPredecessors(LPI); in visitLandingPadInst()
2945 LandingPadResultTy = LPI.getType(); in visitLandingPadInst()
2947 Assert(LandingPadResultTy == LPI.getType(), in visitLandingPadInst()
2950 &LPI); in visitLandingPadInst()
2952 Function *F = LPI.getParent()->getParent(); in visitLandingPadInst()
2954 "LandingPadInst needs to be in a function with a personality.", &LPI); in visitLandingPadInst()
2958 Assert(LPI.getParent()->getLandingPadInst() == &LPI, in visitLandingPadInst()
2960 &LPI); in visitLandingPadInst()
2962 for (unsigned i = 0, e = LPI.getNumClauses(); i < e; ++i) { in visitLandingPadInst()
2963 Constant *Clause = LPI.getClause(i); in visitLandingPadInst()
2964 if (LPI.isCatch(i)) { in visitLandingPadInst()
2966 "Catch operand does not have pointer type!", &LPI); in visitLandingPadInst()
2968 Assert(LPI.isFilter(i), "Clause is neither catch nor filter!", &LPI); in visitLandingPadInst()
2970 "Filter operand is not an array of constants!", &LPI); in visitLandingPadInst()
2974 visitInstruction(LPI); in visitLandingPadInst()