Home
last modified time | relevance | path

Searched refs:LPI (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp76 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
157 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues() argument
159 SmallVector<Value *, 8> UseWorkList(LPI->user_begin(), LPI->user_end()); in substituteLPadValues()
175 if (LPI->getNumUses() == 0) in substituteLPadValues()
180 Type *LPadType = LPI->getType(); in substituteLPadValues()
187 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues()
206 LandingPadInst *LPI = LPads[I]; in setupFunctionContext() local
207 IRBuilder<> Builder(LPI->getParent(), in setupFunctionContext()
208 LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext()
224 substituteLPadValues(LPI, ExnVal, SelVal); in setupFunctionContext()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp96 const LandingPadInfo *LPI = *I; in computeActionsTable() local
97 const std::vector<int> &TypeIds = LPI->TypeIds; in computeActionsTable()
98 unsigned NumShared = PrevLPI ? sharedTypeIDs(LPI, PrevLPI) : 0; in computeActionsTable()
151 PrevLPI = LPI; in computeActionsTable()
/external/llvm/lib/IR/
DVerifier.cpp402 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()
[all …]
DAsmWriter.cpp2868 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) { in printInstruction() local
2871 if (LPI->isCleanup() || LPI->getNumClauses() != 0) in printInstruction()
2874 if (LPI->isCleanup()) in printInstruction()
2877 for (unsigned i = 0, e = LPI->getNumClauses(); i != e; ++i) { in printInstruction()
2878 if (i != 0 || LPI->isCleanup()) Out << "\n"; in printInstruction()
2879 if (LPI->isCatch(i)) in printInstruction()
2884 writeOperand(LPI->getClause(i), true); in printInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp280 if (const auto *LPI = dyn_cast<LandingPadInst>(FNP)) in set() local
281 LPads.push_back(LPI); in set()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1069 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition() local
1070 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition()
1071 PN->addIncoming(LPI, BB); in UnswitchNontrivialCondition()
/external/clang/lib/CodeGen/
DCGException.cpp237 static bool LandingPadHasOnlyCXXUses(llvm::LandingPadInst *LPI) { in LandingPadHasOnlyCXXUses() argument
238 for (unsigned I = 0, E = LPI->getNumClauses(); I != E; ++I) { in LandingPadHasOnlyCXXUses()
241 llvm::Value *Val = LPI->getClause(I)->stripPointerCasts(); in LandingPadHasOnlyCXXUses()
242 if (LPI->isCatch(I)) { in LandingPadHasOnlyCXXUses()