Home | History | Annotate | Download | only in IR

Lines Matching refs:LPI

312     void visitLandingPadInst(LandingPadInst &LPI);
1917 void Verifier::visitLandingPadInst(LandingPadInst &LPI) {
1918 BasicBlock *BB = LPI.getParent();
1922 Assert1(LPI.getNumClauses() > 0 || LPI.isCleanup(),
1923 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI);
1931 "only by the unwind edge of an invoke.", &LPI);
1936 Assert1(LPI.getParent()->getLandingPadInst() == &LPI,
1938 &LPI);
1943 Assert1(LPI.getPersonalityFn() == PersonalityFn,
1944 "Personality function doesn't match others in function", &LPI);
1945 PersonalityFn = LPI.getPersonalityFn();
1949 &LPI);
1950 for (unsigned i = 0, e = LPI.getNumClauses(); i < e; ++i) {
1951 Value *Clause = LPI.getClause(i);
1952 Assert1(isa<Constant>(Clause), "Clause is not constant!", &LPI);
1953 if (LPI.isCatch(i)) {
1955 "Catch operand does not have pointer type!", &LPI);
1957 Assert1(LPI.isFilter(i), "Clause is neither catch nor filter!", &LPI);
1959 "Filter operand is not an array of constants!", &LPI);
1963 visitInstruction(LPI);