/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 192 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in calculateStateNumbersForInvokes() local 193 FuncletUnwindDest = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateStateNumbersForInvokes() 248 auto *CatchPad = cast<CatchPadInst>(CatchPadBB->getFirstNonPHI()); in calculateCXXStateNumbers() local 249 Handlers.push_back(CatchPad); in calculateCXXStateNumbers() 262 for (const auto *CatchPad : Handlers) { in calculateCXXStateNumbers() local 263 FuncInfo.FuncletBaseStateMap[CatchPad] = CatchLow; in calculateCXXStateNumbers() 264 for (const User *U : CatchPad->users()) { in calculateCXXStateNumbers() 352 const auto *CatchPad = in calculateSEHStateNumbers() local 354 const BasicBlock *CatchPadBB = CatchPad->getParent(); in calculateSEHStateNumbers() 356 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() [all …]
|
D | WasmEHPrepare.cpp | 344 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo() local 345 const auto *UnwindBB = CatchPad->getCatchSwitch()->getUnwindDest(); in calculateWasmEHInfo()
|
/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/swiftshader/third_party/llvm-7.0/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()
|
D | Instruction.def | 178 HANDLE_FUNCLETPAD_INST(50, CatchPad , CatchPadInst)
|
/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-7.0/llvm/include/llvm/IR/ |
D | Instruction.h | 527 case Instruction::CatchPad: 555 case Instruction::CatchPad:
|
D | Instructions.h | 4408 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4413 : FuncletPadInst(Instruction::CatchPad, CatchSwitch, Args, Values, 4443 return I->getOpcode() == Instruction::CatchPad; 4456 CatchReturnInst(Value *CatchPad, BasicBlock *BB, Instruction *InsertBefore); 4457 CatchReturnInst(Value *CatchPad, BasicBlock *BB, BasicBlock *InsertAtEnd); 4459 void init(Value *CatchPad, BasicBlock *BB); 4468 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, 4470 assert(CatchPad); 4472 return new (2) CatchReturnInst(CatchPad, BB, InsertBefore); 4475 static CatchReturnInst *Create(Value *CatchPad, BasicBlock *BB, [all …]
|
D | Instruction.def | 182 HANDLE_FUNCLETPAD_INST(50, CatchPad , CatchPadInst)
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 258 auto *CatchPad = cast<CatchPadInst>(HandlerBlock->getFirstNonPHI()); in getUnwindDestTokenHelper() local 259 for (User *Child : CatchPad->users()) { in getUnwindDestTokenHelper() 287 assert(getParentPad(ChildUnwindDestToken) == CatchPad); in getUnwindDestTokenHelper() 492 auto *CatchPad = HandlerBlock->getFirstNonPHI(); in getUnwindDestToken() local 493 for (User *U : CatchPad->users()) { in getUnwindDestToken() 498 CatchPad)) && in getUnwindDestToken() 566 if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad)) in HandleCallsInBlockInlinedThroughInvoke() local 567 MemoKey = CatchPad->getCatchSwitch(); in HandleCallsInBlockInlinedThroughInvoke()
|
D | Local.cpp | 2127 static unsigned getHashValue(CatchPadInst *CatchPad) { in markAliveBlocks() 2129 CatchPad->value_op_begin(), CatchPad->value_op_end())); in markAliveBlocks() 2149 auto *CatchPad = cast<CatchPadInst>(HandlerBB->getFirstNonPHI()); in markAliveBlocks() local 2150 if (!HandlerSet.insert({CatchPad, Empty}).second) { in markAliveBlocks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instruction.cpp | 303 case CatchPad: return "catchpad"; in getOpcodeName() 512 case Instruction::CatchPad: in mayReadFromMemory() 532 case Instruction::CatchPad: in mayWriteToMemory()
|
D | Core.cpp | 2759 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCatchRet() argument 2761 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), in LLVMBuildCatchRet() 2765 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, in LLVMBuildCleanupRet() argument 2767 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), in LLVMBuildCleanupRet() 2820 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad) { in LLVMGetParentCatchSwitch() argument 2821 return wrap(unwrap<CatchPadInst>(CatchPad)->getCatchSwitch()); in LLVMGetParentCatchSwitch() 2824 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) { in LLVMSetParentCatchSwitch() argument 2825 unwrap<CatchPadInst>(CatchPad) in LLVMSetParentCatchSwitch()
|
/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:
|
D | Instruction.def | 178 HANDLE_FUNCLETPAD_INST(50, CatchPad , CatchPadInst)
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/ |
D | echo.cpp | 654 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local 658 Dst = LLVMBuildCleanupRet(Builder, CatchPad, Unwind); in CloneInstruction() 662 LLVMValueRef CatchPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local 664 Dst = LLVMBuildCatchRet(Builder, CatchPad, SuccBB); in CloneInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | SparsePropagation.cpp | 533 CatchPadInst *CatchPad = Builder.CreateCatchPad(CatchSwitch, {}); in TEST_F() local 534 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Core.h | 3144 LLVMValueRef LLVMBuildCleanupRet(LLVMBuilderRef B, LLVMValueRef CatchPad, 3146 LLVMValueRef LLVMBuildCatchRet(LLVMBuilderRef B, LLVMValueRef CatchPad, 3214 LLVMValueRef LLVMGetParentCatchSwitch(LLVMValueRef CatchPad); 3223 void LLVMSetParentCatchSwitch(LLVMValueRef CatchPad, LLVMValueRef CatchSwitch);
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 368 ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, in getModRefInfo() argument
|
/external/llvm/test/Verifier/ |
D | invalid-eh.ll | 33 ;T1: ; CHECK1: CatchReturnInst needs to be provided a CatchPad 43 ;T2: ; CHECK2: CatchReturnInst needs to be provided a CatchPad
|