Searched refs:LPI (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 73 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, 154 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues() argument 156 SmallVector<Value*, 8> UseWorkList(LPI->use_begin(), LPI->use_end()); in substituteLPadValues() 170 if (LPI->getNumUses() == 0) return; in substituteLPadValues() 174 Type *LPadType = LPI->getType(); in substituteLPadValues() 181 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues() 200 LandingPadInst *LPI = LPads[I]; in setupFunctionContext() local 201 IRBuilder<> Builder(LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext() 216 substituteLPadValues(LPI, ExnVal, SelVal); in setupFunctionContext() 359 LandingPadInst *LPI = UnwindBlock->getLandingPadInst(); in lowerAcrossUnwindEdges() local [all …]
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 296 void visitLandingPadInst(LandingPadInst &LPI); 1749 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst() argument 1750 BasicBlock *BB = LPI.getParent(); in visitLandingPadInst() 1754 Assert1(LPI.getNumClauses() > 0 || LPI.isCleanup(), in visitLandingPadInst() 1755 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI); in visitLandingPadInst() 1763 "only by the unwind edge of an invoke.", &LPI); in visitLandingPadInst() 1768 Assert1(LPI.getParent()->getLandingPadInst() == &LPI, in visitLandingPadInst() 1770 &LPI); in visitLandingPadInst() 1775 Assert1(LPI.getPersonalityFn() == PersonalityFn, in visitLandingPadInst() 1776 "Personality function doesn't match others in function", &LPI); in visitLandingPadInst() [all …]
|
D | AsmWriter.cpp | 1882 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) { in printInstruction() local 1888 if (LPI->isCleanup()) in printInstruction() 1891 for (unsigned i = 0, e = LPI->getNumClauses(); i != e; ++i) { in printInstruction() 1892 if (i != 0 || LPI->isCleanup()) Out << "\n"; in printInstruction() 1893 if (LPI->isCatch(i)) in printInstruction() 1898 writeOperand(LPI->getClause(i), true); in printInstruction()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfException.cpp | 122 const LandingPadInfo *LPI = *I; in ComputeActionsTable() local 123 const std::vector<int> &TypeIds = LPI->TypeIds; in ComputeActionsTable() 124 unsigned NumShared = PrevLPI ? SharedTypeIds(LPI, PrevLPI) : 0; in ComputeActionsTable() 178 PrevLPI = LPI; in ComputeActionsTable()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 166 LandingPadInst *LPI = Invoke.getLandingPadInst(); in HandleCallsInBlockInlinedThroughInvoke() local 172 unsigned NumClauses = LPI->getNumClauses(); in HandleCallsInBlockInlinedThroughInvoke() 175 L->addClause(LPI->getClause(i)); in HandleCallsInBlockInlinedThroughInvoke()
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 279 llvm::LandingPadInst *LPI = dyn_cast<llvm::LandingPadInst>(User); in PersonalityHasOnlyCXXUses() local 280 if (!LPI) return false; in PersonalityHasOnlyCXXUses() 282 for (unsigned I = 0, E = LPI->getNumClauses(); I != E; ++I) { in PersonalityHasOnlyCXXUses() 285 llvm::Value *Val = LPI->getClause(I)->stripPointerCasts(); in PersonalityHasOnlyCXXUses() 286 if (LPI->isCatch(I)) { in PersonalityHasOnlyCXXUses()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 873 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition() local 874 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition() 875 PN->addIncoming(LPI, BB); in UnswitchNontrivialCondition()
|