Lines Matching defs:LPI
65 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
159 void SjLjEHPrepareImpl::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal,
161 SmallVector<Value *, 8> UseWorkList(LPI->users());
177 if (LPI->use_empty())
180 // There are still some uses of LPI. Construct an aggregate with the exception
181 // values and replace the LPI with that aggregate.
182 Type *LPadType = LPI->getType();
189 LPI->replaceAllUsesWith(LPadVal);
208 for (LandingPadInst *LPI : LPads) {
209 IRBuilder<> Builder(LPI->getParent(),
210 LPI->getParent()->getFirstInsertionPt());
230 substituteLPadValues(LPI, ExnVal, SelVal);
357 LandingPadInst *LPI = UnwindBlock->getLandingPadInst();
371 LPI->moveBefore(UnwindBlock->begin());