Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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()
204 substituteLPadValues(LPI, ExnVal, SelVal); in setupFunctionContext()
[all …]
DMachineFunction.cpp686 if (const auto *LPI = dyn_cast<LandingPadInst>(FirstI)) { in addLandingPad() local
691 if (LPI->isCleanup()) in addLandingPad()
697 for (unsigned I = LPI->getNumClauses(); I != 0; --I) { in addLandingPad()
698 Value *Val = LPI->getClause(I - 1); in addLandingPad()
699 if (LPI->isCatch(I - 1)) { in addLandingPad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp833 if (auto *LPI = dyn_cast<LandingPadInst>(I)) in runEHOnFunction() local
834 LandingPads.insert(LPI); in runEHOnFunction()
840 for (LandingPadInst *LPI : LandingPads) { in runEHOnFunction()
841 IRB.SetInsertPoint(LPI); in runEHOnFunction()
843 for (unsigned I = 0, E = LPI->getNumClauses(); I < E; ++I) { in runEHOnFunction()
844 Constant *Clause = LPI->getClause(I); in runEHOnFunction()
848 if (LPI->isFilter(I)) { in runEHOnFunction()
861 Value *Undef = UndefValue::get(LPI->getType()); in runEHOnFunction()
866 LPI->replaceAllUsesWith(Pair1); in runEHOnFunction()
867 ToErase.push_back(LPI); in runEHOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp106 const LandingPadInfo *LPI = *I; in computeActionsTable() local
107 const std::vector<int> &TypeIds = LPI->TypeIds; in computeActionsTable()
108 unsigned NumShared = PrevLPI ? sharedTypeIDs(LPI, PrevLPI) : 0; in computeActionsTable()
162 PrevLPI = LPI; in computeActionsTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DVerifier.cpp489 void visitLandingPadInst(LandingPadInst &LPI);
3624 if (auto *LPI = dyn_cast<LandingPadInst>(&I)) { in visitEHPadPredecessors() local
3633 LPI); in visitEHPadPredecessors()
3689 void Verifier::visitLandingPadInst(LandingPadInst &LPI) { in visitLandingPadInst() argument
3692 Assert(LPI.getNumClauses() > 0 || LPI.isCleanup(), in visitLandingPadInst()
3693 "LandingPadInst needs at least one clause or to be a cleanup.", &LPI); in visitLandingPadInst()
3695 visitEHPadPredecessors(LPI); in visitLandingPadInst()
3698 LandingPadResultTy = LPI.getType(); in visitLandingPadInst()
3700 Assert(LandingPadResultTy == LPI.getType(), in visitLandingPadInst()
3703 &LPI); in visitLandingPadInst()
[all …]
DAsmWriter.cpp3786 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) { in printInstruction() local
3789 if (LPI->isCleanup() || LPI->getNumClauses() != 0) in printInstruction()
3792 if (LPI->isCleanup()) in printInstruction()
3795 for (unsigned i = 0, e = LPI->getNumClauses(); i != e; ++i) { in printInstruction()
3796 if (i != 0 || LPI->isCleanup()) Out << "\n"; in printInstruction()
3797 if (LPI->isCatch(i)) in printInstruction()
3802 writeOperand(LPI->getClause(i), true); in printInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SpeculationHardening.cpp682 for (const LandingPadInfo &LPI : MF.getLandingPads()) in runOnMachineFunction() local
683 EntryBlocks.push_back(LPI.LandingPadBlock); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1335 LandingPadInst *LPI = BB->getLandingPadInst(); in UnswitchNontrivialCondition() local
1336 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition()
1337 PN->addIncoming(LPI, BB); in UnswitchNontrivialCondition()