Home
last modified time | relevance | path

Searched refs:CatchPadInst (Results 1 – 25 of 48) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWasmEHPrepare.cpp187 if (isa<CatchPadInst>(Pad)) in runOnFunction()
233 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); in runOnFunction()
314 auto *CPI = cast<CatchPadInst>(FPI); in prepareEHPad()
344 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo()
DWinEHPrepare.cpp141 ArrayRef<const CatchPadInst *> Handlers) { in addTryBlockMapEntry()
147 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry()
192 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes()
246 SmallVector<const CatchPadInst *, 2> Handlers; in calculateCXXStateNumbers()
248 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers()
353 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers()
423 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC()
558 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); in calculateClrEHStateNumbers()
589 if (const auto *Catch = dyn_cast<CatchPadInst>(Pad)) { in calculateClrEHStateNumbers()
939 auto *CatchPad = dyn_cast_or_null<CatchPadInst>(FuncletPad); in removeImplausibleInstructions()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp132 ArrayRef<const CatchPadInst *> Handlers) { in addTryBlockMapEntry()
138 for (const CatchPadInst *CPI : Handlers) { in addTryBlockMapEntry()
183 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes()
237 SmallVector<const CatchPadInst *, 2> Handlers; in calculateCXXStateNumbers()
239 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers()
343 cast<CatchPadInst>((*CatchSwitch->handler_begin())->getFirstNonPHI()); in calculateSEHStateNumbers()
413 if (isa<CatchPadInst>(EHPad)) in isTopLevelPadForMSVC()
548 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); in calculateClrEHStateNumbers()
579 if (const auto *Catch = dyn_cast<CatchPadInst>(Pad)) { in calculateClrEHStateNumbers()
935 auto *CatchPad = dyn_cast_or_null<CatchPadInst>(FuncletPad); in removeImplausibleInstructions()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1468 static CatchPadInst *getEmptyKey() { in markAliveBlocks()
1469 return DenseMapInfo<CatchPadInst *>::getEmptyKey(); in markAliveBlocks()
1471 static CatchPadInst *getTombstoneKey() { in markAliveBlocks()
1472 return DenseMapInfo<CatchPadInst *>::getTombstoneKey(); in markAliveBlocks()
1474 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks()
1478 static bool isEqual(CatchPadInst *LHS, CatchPadInst *RHS) { in markAliveBlocks()
1487 SmallDenseMap<CatchPadInst *, detail::DenseSetEmpty, 4, in markAliveBlocks()
1488 CatchPadDenseMapInfo, detail::DenseSetPair<CatchPadInst *>> in markAliveBlocks()
1495 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks()
DInlineFunction.cpp219 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper()
311 if (isa<CatchPadInst>(ExitedPad)) in getUnwindDestTokenHelper()
349 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken()
375 if (isa<CatchPadInst>(AncestorPad)) in getUnwindDestToken()
456 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke()
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h437 ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc);
440 ModRefInfo getModRefInfo(const CatchPadInst *I, const Value *P, in getModRefInfo()
496 return getModRefInfo((const CatchPadInst *)I, Loc); in getModRefInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp2119 static CatchPadInst *getEmptyKey() { in markAliveBlocks()
2120 return DenseMapInfo<CatchPadInst *>::getEmptyKey(); in markAliveBlocks()
2123 static CatchPadInst *getTombstoneKey() { in markAliveBlocks()
2124 return DenseMapInfo<CatchPadInst *>::getTombstoneKey(); in markAliveBlocks()
2127 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks()
2132 static bool isEqual(CatchPadInst *LHS, CatchPadInst *RHS) { in markAliveBlocks()
2141 SmallDenseMap<CatchPadInst *, detail::DenseSetEmpty, 4, in markAliveBlocks()
2142 CatchPadDenseMapInfo, detail::DenseSetPair<CatchPadInst *>> in markAliveBlocks()
2149 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks()
DInlineFunction.cpp258 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper()
350 if (isa<CatchPadInst>(ExitedPad)) in getUnwindDestTokenHelper()
388 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad)) in getUnwindDestToken()
418 if (isa<CatchPadInst>(AncestorPad)) in getUnwindDestToken()
566 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DAliasAnalysis.h598 ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc);
601 ModRefInfo getModRefInfo(const CatchPadInst *I, const Value *P, in getModRefInfo()
648 return getModRefInfo((const CatchPadInst *)I, Loc); in getModRefInfo()
/external/llvm/include/llvm/IR/
DInstructions.h4158 class CatchPadInst : public FuncletPadInst {
4160 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args,
4165 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args,
4172 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args,
4177 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertBefore);
4179 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args,
4183 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertAtEnd);
4238 CatchPadInst *getCatchPad() const { return cast<CatchPadInst>(Op<0>()); }
4239 void setCatchPad(CatchPadInst *CatchPad) {
DInstVisitor.h208 RetTy visitCatchPadInst(CatchPadInst &I) { DELEGATE(FuncletPadInst); } in visitCatchPadInst()
DInstruction.def178 HANDLE_FUNCLETPAD_INST(50, CatchPad , CatchPadInst)
DIRBuilder.h733 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args,
735 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
744 CatchReturnInst *CreateCatchRet(CatchPadInst *CatchPad, BasicBlock *BB) { in CreateCatchRet()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h4403 class CatchPadInst : public FuncletPadInst {
4405 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args,
4410 explicit CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args,
4417 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args,
4422 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertBefore);
4425 static CatchPadInst *Create(Value *CatchSwitch, ArrayRef<Value *> Args,
4429 CatchPadInst(CatchSwitch, Args, Values, NameStr, InsertAtEnd);
4486 CatchPadInst *getCatchPad() const { return cast<CatchPadInst>(Op<0>()); }
4487 void setCatchPad(CatchPadInst *CatchPad) {
DInstVisitor.h211 RetTy visitCatchPadInst(CatchPadInst &I) { DELEGATE(FuncletPadInst); } in visitCatchPadInst()
DInstruction.def182 HANDLE_FUNCLETPAD_INST(50, CatchPad , CatchPadInst)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h50 class CatchPadInst; variable
826 void visitCatchPad(const CatchPadInst &I);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def178 HANDLE_FUNCLETPAD_INST(50, CatchPad , CatchPadInst)
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp368 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DSparsePropagation.cpp533 CatchPadInst *CatchPad = Builder.CreateCatchPad(CatchSwitch, {}); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Dinvalid-eh.ll85 ;T6: ; CHECK6: Block containg CatchPadInst must be jumped to only by its catchswitch
403 ;T23: ; CHECK23: CatchPadInst needs to be directly nested in a CatchSwitchInst.
/external/llvm/test/Verifier/
Dinvalid-eh.ll83 ;T6: ; CHECK6: Block containg CatchPadInst must be jumped to only by its catchswitch
401 ;T23: ; CHECK23: CatchPadInst needs to be directly nested in a CatchSwitchInst.
/external/llvm/lib/IR/
DVerifier.cpp431 void visitCatchPadInst(CatchPadInst &CPI);
3198 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors()
3291 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst()
3312 Assert(isa<CatchPadInst>(CatchReturn.getOperand(0)), in visitCatchReturnInst()
3533 Assert(isa<CatchPadInst>(Handler->getFirstNonPHI()), in visitCatchSwitchInst()
4057 Assert(isa<CatchPadInst>(CS.getArgOperand(0)), in visitIntrinsicCallSite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAliasAnalysis.cpp474 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp481 void visitCatchPadInst(CatchPadInst &CPI);
3416 if (auto *CPI = dyn_cast<CatchPadInst>(&I)) { in visitEHPadPredecessors()
3524 void Verifier::visitCatchPadInst(CatchPadInst &CPI) { in visitCatchPadInst()
3545 Assert(isa<CatchPadInst>(CatchReturn.getOperand(0)), in visitCatchReturnInst()
3766 Assert(isa<CatchPadInst>(Handler->getFirstNonPHI()), in visitCatchSwitchInst()
4384 Assert(isa<CatchPadInst>(CS.getArgOperand(0)), in visitIntrinsicCallSite()

12