Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp67 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
136 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues() argument
138 SmallVector<Value *, 8> UseWorkList(LPI->user_begin(), LPI->user_end()); in substituteLPadValues()
154 if (LPI->use_empty()) in substituteLPadValues()
159 Type *LPadType = LPI->getType(); in substituteLPadValues()
166 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues()
184 for (LandingPadInst *LPI : LPads) { in setupFunctionContext()
185 IRBuilder<> Builder(LPI->getParent(), in setupFunctionContext()
186 LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext()
202 substituteLPadValues(LPI, ExnVal, SelVal); in setupFunctionContext()
[all …]
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp67 void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
133 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, in substituteLPadValues() argument
135 SmallVector<Value *, 8> UseWorkList(LPI->user_begin(), LPI->user_end()); in substituteLPadValues()
151 if (LPI->use_empty()) in substituteLPadValues()
156 Type *LPadType = LPI->getType(); in substituteLPadValues()
163 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues()
181 for (LandingPadInst *LPI : LPads) { in setupFunctionContext()
182 IRBuilder<> Builder(LPI->getParent(), in setupFunctionContext()
183 LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext()
199 substituteLPadValues(LPI, ExnVal, SelVal); in setupFunctionContext()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp460 static void TransferClausesToLandingPadInst(LandingPadInst *LPI, in TransferClausesToLandingPadInst() argument
462 LLVMContext &Context = LPI->getContext(); in TransferClausesToLandingPadInst()
475 LPI->addClause(EHSel->getArgOperand(j)); in TransferClausesToLandingPadInst()
478 LPI->addClause(GV->getInitializer()); in TransferClausesToLandingPadInst()
484 LPI->setCleanup(true); in TransferClausesToLandingPadInst()
495 LPI->addClause(ConstantArray::get(AType, TyInfo)); in TransferClausesToLandingPadInst()
506 LPI->addClause(EHSel->getArgOperand(j)); in TransferClausesToLandingPadInst()
509 LPI->addClause(GV->getInitializer()); in TransferClausesToLandingPadInst()
602 LandingPadInst *LPI = Builder.CreateLandingPad(LPadSlotTy, PersFn, 0); in UpgradeExceptionHandling() local
603 Value *LPExn = Builder.CreateExtractValue(LPI, 0); in UpgradeExceptionHandling()
[all …]
DVerifier.cpp298 void visitLandingPadInst(LandingPadInst &LPI);
1422 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst() argument
1423 BasicBlock *BB = LPI.getParent(); in visitLandingPadInst()
1427 Assert1(LPI.getNumClauses() > 0 || LPI.isCleanup(), in visitLandingPadInst()
1428 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI); in visitLandingPadInst()
1436 "only by the unwind edge of an invoke.", &LPI); in visitLandingPadInst()
1441 Assert1(LPI.getParent()->getLandingPadInst() == &LPI, in visitLandingPadInst()
1443 &LPI); in visitLandingPadInst()
1448 Assert1(LPI.getPersonalityFn() == PersonalityFn, in visitLandingPadInst()
1449 "Personality function doesn't match others in function", &LPI); in visitLandingPadInst()
[all …]
DAsmWriter.cpp1756 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) { in printInstruction() local
1762 if (LPI->isCleanup()) in printInstruction()
1765 for (unsigned i = 0, e = LPI->getNumClauses(); i != e; ++i) { in printInstruction()
1766 if (i != 0 || LPI->isCleanup()) Out << "\n"; in printInstruction()
1767 if (LPI->isCatch(i)) in printInstruction()
1772 writeOperand(LPI->getClause(i), true); in printInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp882 if (auto *LPI = dyn_cast<LandingPadInst>(I)) in runEHOnFunction() local
883 LandingPads.insert(LPI); in runEHOnFunction()
888 for (LandingPadInst *LPI : LandingPads) { in runEHOnFunction()
889 IRB.SetInsertPoint(LPI); in runEHOnFunction()
891 for (unsigned i = 0, e = LPI->getNumClauses(); i < e; ++i) { in runEHOnFunction()
892 Constant *Clause = LPI->getClause(i); in runEHOnFunction()
896 if (LPI->isFilter(i)) { in runEHOnFunction()
909 Value *Undef = UndefValue::get(LPI->getType()); in runEHOnFunction()
915 LPI->replaceAllUsesWith(Pair1); in runEHOnFunction()
916 ToErase.push_back(LPI); in runEHOnFunction()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSjLjEHPrepare.cpp451 if (LandingPadInst *LPI = II->getUnwindDest()->getLandingPadInst()) in insertSjLjEHSupport() local
452 if (!PersonalityFn) PersonalityFn = LPI->getPersonalityFn(); in insertSjLjEHSupport()
472 if (LandingPadInst *LPI = II->getUnwindDest()->getLandingPadInst()) in insertSjLjEHSupport() local
473 if (!PersonalityFn) PersonalityFn = LPI->getPersonalityFn(); in insertSjLjEHSupport()
497 if (LandingPadInst *LPI = II->getUnwindDest()->getLandingPadInst()) in insertSjLjEHSupport() local
498 LandingPads.push_back(LPI); in insertSjLjEHSupport()
757 LandingPadInst *LPI = LPads[I]; in setupFunctionContext() local
758 IRBuilder<> Builder(LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext()
764 Type *LPadType = LPI->getType(); in setupFunctionContext()
769 LPI->replaceAllUsesWith(LPadVal); in setupFunctionContext()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp107 const LandingPadInfo *LPI = *I; in computeActionsTable() local
108 const std::vector<int> &TypeIds = LPI->TypeIds; in computeActionsTable()
109 unsigned NumShared = PrevLPI ? sharedTypeIDs(LPI, PrevLPI) : 0; in computeActionsTable()
162 PrevLPI = LPI; in computeActionsTable()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfException.cpp122 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/IR/
DVerifier.cpp430 void visitLandingPadInst(LandingPadInst &LPI);
3185 if (auto *LPI = dyn_cast<LandingPadInst>(&I)) { in visitEHPadPredecessors() local
3194 LPI); in visitEHPadPredecessors()
3250 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst() argument
3253 Assert(LPI.getNumClauses() > 0 || LPI.isCleanup(), in visitLandingPadInst()
3254 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI); in visitLandingPadInst()
3256 visitEHPadPredecessors(LPI); in visitLandingPadInst()
3259 LandingPadResultTy = LPI.getType(); in visitLandingPadInst()
3261 Assert(LandingPadResultTy == LPI.getType(), in visitLandingPadInst()
3264 &LPI); in visitLandingPadInst()
[all …]
DAsmWriter.cpp2941 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) { in printInstruction() local
2944 if (LPI->isCleanup() || LPI->getNumClauses() != 0) in printInstruction()
2947 if (LPI->isCleanup()) in printInstruction()
2950 for (unsigned i = 0, e = LPI->getNumClauses(); i != e; ++i) { in printInstruction()
2951 if (i != 0 || LPI->isCleanup()) Out << "\n"; in printInstruction()
2952 if (LPI->isCatch(i)) in printInstruction()
2957 writeOperand(LPI->getClause(i), true); in printInstruction()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInlineFunction.cpp280 if (LandingPadInst *LPI = dyn_cast<LandingPadInst>(I)) { in InvokeInliningInfo() local
281 CallerLPad = LPI; in InvokeInliningInfo()
505 LandingPadInst *LPI = Invoke.getLandingPadInst(); in HandleCallsInBlockInlinedThroughInvoke() local
510 if (LPI) // FIXME: New EH - This won't be NULL in the new EH. in HandleCallsInBlockInlinedThroughInvoke()
512 unsigned NumClauses = LPI->getNumClauses(); in HandleCallsInBlockInlinedThroughInvoke()
515 L->addClause(LPI->getClause(i)); in HandleCallsInBlockInlinedThroughInvoke()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp479 void visitLandingPadInst(LandingPadInst &LPI);
3403 if (auto *LPI = dyn_cast<LandingPadInst>(&I)) { in visitEHPadPredecessors() local
3412 LPI); in visitEHPadPredecessors()
3468 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst() argument
3471 Assert(LPI.getNumClauses() > 0 || LPI.isCleanup(), in visitLandingPadInst()
3472 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI); in visitLandingPadInst()
3474 visitEHPadPredecessors(LPI); in visitLandingPadInst()
3477 LandingPadResultTy = LPI.getType(); in visitLandingPadInst()
3479 Assert(LandingPadResultTy == LPI.getType(), in visitLandingPadInst()
3482 &LPI); in visitLandingPadInst()
[all …]
DAsmWriter.cpp3614 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) { in printInstruction() local
3617 if (LPI->isCleanup() || LPI->getNumClauses() != 0) in printInstruction()
3620 if (LPI->isCleanup()) in printInstruction()
3623 for (unsigned i = 0, e = LPI->getNumClauses(); i != e; ++i) { in printInstruction()
3624 if (i != 0 || LPI->isCleanup()) Out << "\n"; in printInstruction()
3625 if (LPI->isCatch(i)) in printInstruction()
3630 writeOperand(LPI->getClause(i), true); in printInstruction()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp671 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition() local
672 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition()
673 PN->addIncoming(LPI, BB); in UnswitchNontrivialCondition()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp317 if (const auto *LPI = dyn_cast<LandingPadInst>(FNP)) in set() local
318 LPads.push_back(LPI); in set()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1126 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition() local
1127 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition()
1128 PN->addIncoming(LPI, BB); in UnswitchNontrivialCondition()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1298 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition() local
1299 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition()
1300 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()
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart3.csv2080 "+","PL","LPI","Lipie","Lipie","SL","--3-----","RL","1301",,"5051N 01931E",
6418 ,"SE","LPI","Link�ping","Linkoping","E","-234----","AI","9601",,,
18290 ,"US","LPI","Lapoint","Lapoint","UT","--3-----","RL","9901",,,
D2013-1_UNLOCODE_CodeListPart1.csv4731 ,"BE","LPI","Laplaigne","Laplaigne","WHT","1-3-----","RN","0307",,"5031N 00326E",
12565 ,"CL","LPI","La Pintana","La Pintana","RM","--3-----","RN","0501",,"3332S 07035W",
13606 ,"CN","LPI","Leping","Leping","44","--3-----","RL","0607",,"2314N 11302E",
31752 ,"FI","LPI","Lappi","Lappi","LS","--3-----","AF","9912",,,
37780 ,"FR","LPI","Lespinasse","Lespinasse","31","--3-----","RL","0003",,,