/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 183 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 184 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 239 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() local 240 Handlers.push_back(CatchPad); in calculateCXXStateNumbers() 253 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local 254 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 255 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers() 342 const auto *CatchPad = in calculateSEHStateNumbers() local 344 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers() 346 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 194 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 195 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 253 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() local 254 Handlers.push_back(CatchPad); in calculateCXXStateNumbers() 277 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local 278 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 279 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers() 375 const auto *CatchPad = in calculateSEHStateNumbers() local 377 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers() 379 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() [all …]
|
D | WasmEHPrepare.cpp | 430 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 431 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 193 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 194 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 249 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() local 250 Handlers.push_back(CatchPad); in calculateCXXStateNumbers() 263 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local 264 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 265 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers() 353 const auto *CatchPad = in calculateSEHStateNumbers() local 355 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers() 357 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() [all …]
|
D | WasmEHPrepare.cpp | 362 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 363 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
/external/llvm-project/llvm/test/CodeGen/WinEH/ |
D | wineh-demotion.ll | 105 ; CHECK: [[CatchPad:%[^ ]+]] = catchpad within %cs2 [] 110 ; CHECK: catchret from [[CatchPad]] to label 298 ; CHECK-NEXT: %[[CatchPad:[^ ]+]] = catchpad within %cs1 [] 306 ; CHECK-NEXT: catchret from %[[CatchPad]] to label %[[SplitLeft:[^ ]+]] 316 ; CHECK: catchret from %[[CatchPad]] to label %join
|
/external/llvm/test/CodeGen/WinEH/ |
D | wineh-demotion.ll | 105 ; CHECK: [[CatchPad:%[^ ]+]] = catchpad within %cs2 [] 110 ; CHECK: catchret from [[CatchPad]] to label 298 ; CHECK-NEXT: %[[CatchPad:[^ ]+]] = catchpad within %cs1 [] 306 ; CHECK-NEXT: catchret from %[[CatchPad]] to label %[[SplitLeft:[^ ]+]] 316 ; CHECK: catchret from %[[CatchPad]] to label %join
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 436 case Instruction::CatchPad: in isFenceLike() 456 case Instruction::CatchPad: in isEHPad()
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 270 case CatchPad: return "catchpad"; in getOpcodeName() 489 case Instruction::CatchPad: in mayReadFromMemory() 511 case Instruction::CatchPad: in mayWriteToMemory()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Instruction.h | 568 case Instruction::CatchPad: 596 case Instruction::CatchPad:
|
D | Instructions.h | 4441 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4446 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4476 return I->getOpcode() == Instruction::CatchPad; 4489 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore); 4490 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd); 4492 void init(Value *CatchPad, BasicBlock *BB); 4501 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4503 assert(CatchPad); 4505 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore); 4508 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Instruction.h | 612 case Instruction::CatchPad: 640 case Instruction::CatchPad:
|
D | Instructions.h | 4435 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4440 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4470 return I->getOpcode() == Instruction::CatchPad; 4483 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore); 4484 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd); 4486 void init(Value *CatchPad, BasicBlock *BB); 4495 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4497 assert(CatchPad); 4499 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore); 4502 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | Instruction.cpp | 328 case CatchPad: return "catchpad"; in getOpcodeName() 550 case Instruction::CatchPad: in mayReadFromMemory() 570 case Instruction::CatchPad: in mayWriteToMemory()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instruction.cpp | 304 case CatchPad: return "catchpad"; in getOpcodeName() 522 case Instruction::CatchPad: in mayReadFromMemory() 542 case Instruction::CatchPad: in mayWriteToMemory()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 261 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local 262 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 290 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 495 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local 496 for (User *U : CatchPad->users()) { in getUnwindDestToken() 501 CatchPad)) && in getUnwindDestToken() 569 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 570 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 254 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local 255 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 283 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 488 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local 489 for (User *U : CatchPad->users()) { in getUnwindDestToken() 494 CatchPad)) && in getUnwindDestToken() 562 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 563 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 4163 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4168 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4197 return I->getOpcode() == Instruction::CatchPad; 4211 void init(Value *CatchPad, BasicBlock *BB); 4212 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore); 4213 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd); 4221 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4223 assert(CatchPad); 4225 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore); 4227 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, [all …]
|
D | Instruction.h | 414 case Instruction::CatchPad:
|
/external/llvm-project/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 554 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument 557 return getModRefInfo(CatchPad, Loc, AAQIP); in getModRefInfo() 560 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 536 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument 539 return getModRefInfo(CatchPad, Loc, AAQIP); in getModRefInfo() 542 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | SparsePropagation.cpp | 530 CatchPadInst *CatchPad = Builder.CreateCatchPad(CatchSwitch, {}); in TEST_F() local 531 Builder.CreateCatchRet(CatchPad, Exit); in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1474 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 1476 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks() 1495 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local 1496 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
|
D | InlineFunction.cpp | 219 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local 220 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 248 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 456 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 457 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
/external/llvm-project/llvm/tools/llvm-c-test/ |
D | echo.cpp | 726 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local 730 Dst = LLVMBuildCleanupRet(Builder, CatchPad, Unwind); in CloneInstruction() 734 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local 736 Dst = LLVMBuildCatchRet(Builder, CatchPad, SuccBB); in CloneInstruction()
|