Home
last modified time | relevance | path

Searched refs:LandingPad (Results 1 – 25 of 63) sorted by relevance

123

/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp287 (MachineBasicBlock *LandingPad) { in getOrCreateLandingPadInfo() argument
291 if (LP.LandingPadBlock == LandingPad) in getOrCreateLandingPadInfo()
295 LandingPads.push_back(LandingPadInfo(LandingPad)); in getOrCreateLandingPadInfo()
301 void MachineModuleInfo::addInvoke(MachineBasicBlock *LandingPad, in addInvoke() argument
303 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addInvoke()
310 MCSymbol *MachineModuleInfo::addLandingPad(MachineBasicBlock *LandingPad) { in addLandingPad() argument
312 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addLandingPad()
327 addCatchTypeInfo(MachineBasicBlock *LandingPad, in addCatchTypeInfo() argument
329 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addCatchTypeInfo()
337 addFilterTypeInfo(MachineBasicBlock *LandingPad, in addFilterTypeInfo() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunction.cpp661 MachineFunction::getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad) { in getOrCreateLandingPadInfo() argument
665 if (LP.LandingPadBlock == LandingPad) in getOrCreateLandingPadInfo()
669 LandingPads.push_back(LandingPadInfo(LandingPad)); in getOrCreateLandingPadInfo()
673 void MachineFunction::addInvoke(MachineBasicBlock *LandingPad, in addInvoke() argument
675 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addInvoke()
680 MCSymbol *MachineFunction::addLandingPad(MachineBasicBlock *LandingPad) { in addLandingPad() argument
682 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addLandingPad()
685 const Instruction *FirstI = LandingPad->getBasicBlock()->getFirstNonPHI(); in addLandingPad()
692 addCleanup(LandingPad); in addLandingPad()
700 addCatchTypeInfo(LandingPad, in addLandingPad()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineFunction.cpp684 MachineFunction::getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad) { in getOrCreateLandingPadInfo() argument
688 if (LP.LandingPadBlock == LandingPad) in getOrCreateLandingPadInfo()
692 LandingPads.push_back(LandingPadInfo(LandingPad)); in getOrCreateLandingPadInfo()
696 void MachineFunction::addInvoke(MachineBasicBlock *LandingPad, in addInvoke() argument
698 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addInvoke()
703 MCSymbol *MachineFunction::addLandingPad(MachineBasicBlock *LandingPad) { in addLandingPad() argument
705 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad); in addLandingPad()
708 const Instruction *FirstI = LandingPad->getBasicBlock()->getFirstNonPHI(); in addLandingPad()
715 addCleanup(LandingPad); in addLandingPad()
723 addCatchTypeInfo(LandingPad, in addLandingPad()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineModuleInfo.h307 LandingPadInfo &getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad);
311 void addInvoke(MachineBasicBlock *LandingPad,
316 MCSymbol *addLandingPad(MachineBasicBlock *LandingPad);
329 void addCatchTypeInfo(MachineBasicBlock *LandingPad,
334 void addFilterTypeInfo(MachineBasicBlock *LandingPad,
339 void addCleanup(MachineBasicBlock *LandingPad);
341 void addSEHCatchHandler(MachineBasicBlock *LandingPad, const Function *Filter,
344 void addSEHCleanupHandler(MachineBasicBlock *LandingPad,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp207 const LandingPadInfo *LandingPad = LandingPads[i]; in computePadMap() local
208 for (unsigned j = 0, E = LandingPad->BeginLabels.size(); j != E; ++j) { in computePadMap()
209 MCSymbol *BeginLabel = LandingPad->BeginLabels[j]; in computePadMap()
263 const LandingPadInfo *LandingPad = LandingPads[P.PadIndex]; in computeCallSiteTable() local
264 assert(BeginLabel == LandingPad->BeginLabels[P.RangeIndex] && in computeCallSiteTable()
277 LastLabel = LandingPad->EndLabels[P.RangeIndex]; in computeCallSiteTable()
280 if (!LandingPad->LandingPadLabel) { in computeCallSiteTable()
288 LandingPad, in computeCallSiteTable()
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp198 const LandingPadInfo *LandingPad = LandingPads[i]; in computePadMap() local
199 for (unsigned j = 0, E = LandingPad->BeginLabels.size(); j != E; ++j) { in computePadMap()
200 MCSymbol *BeginLabel = LandingPad->BeginLabels[j]; in computePadMap()
254 const LandingPadInfo *LandingPad = LandingPads[P.PadIndex]; in computeCallSiteTable() local
255 assert(BeginLabel == LandingPad->BeginLabels[P.RangeIndex] && in computeCallSiteTable()
268 LastLabel = LandingPad->EndLabels[P.RangeIndex]; in computeCallSiteTable()
271 if (!LandingPad->LandingPadLabel) { in computeCallSiteTable()
279 LandingPad, in computeCallSiteTable()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp201 const LandingPadInfo *LandingPad = LandingPads[i]; in computePadMap() local
202 for (unsigned j = 0, E = LandingPad->BeginLabels.size(); j != E; ++j) { in computePadMap()
203 MCSymbol *BeginLabel = LandingPad->BeginLabels[j]; in computePadMap()
287 const LandingPadInfo *LandingPad = LandingPads[P.PadIndex]; in computeCallSiteTable() local
288 assert(BeginLabel == LandingPad->BeginLabels[P.RangeIndex] && in computeCallSiteTable()
302 LastLabel = LandingPad->EndLabels[P.RangeIndex]; in computeCallSiteTable()
305 if (!LandingPad->LandingPadLabel) { in computeCallSiteTable()
313 LandingPad, in computeCallSiteTable()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineFunction.h861 LandingPadInfo &getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad);
874 void addInvoke(MachineBasicBlock *LandingPad,
880 MCSymbol *addLandingPad(MachineBasicBlock *LandingPad);
883 void addCatchTypeInfo(MachineBasicBlock *LandingPad,
887 void addFilterTypeInfo(MachineBasicBlock *LandingPad,
891 void addCleanup(MachineBasicBlock *LandingPad);
893 void addSEHCatchHandler(MachineBasicBlock *LandingPad, const Function *Filter,
896 void addSEHCleanupHandler(MachineBasicBlock *LandingPad,
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineFunction.h949 LandingPadInfo &getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad);
962 void addInvoke(MachineBasicBlock *LandingPad,
968 MCSymbol *addLandingPad(MachineBasicBlock *LandingPad);
971 void addCatchTypeInfo(MachineBasicBlock *LandingPad,
975 void addFilterTypeInfo(MachineBasicBlock *LandingPad,
979 void addCleanup(MachineBasicBlock *LandingPad);
981 void addSEHCatchHandler(MachineBasicBlock *LandingPad, const Function *Filter,
984 void addSEHCleanupHandler(MachineBasicBlock *LandingPad,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp889 LandingPadInst *LandingPad = nullptr; in rewritePHIs() local
891 if ((LandingPad = dyn_cast_or_null<LandingPadInst>(BB.getFirstNonPHI()))) { in rewritePHIs()
895 ReplPHI = PHINode::Create(LandingPad->getType(), 1, "", LandingPad); in rewritePHIs()
896 ReplPHI->takeName(LandingPad); in rewritePHIs()
897 LandingPad->replaceAllUsesWith(ReplPHI); in rewritePHIs()
904 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI); in rewritePHIs()
920 if (LandingPad) { in rewritePHIs()
923 LandingPad->eraseFromParent(); in rewritePHIs()
/external/llvm-project/llvm/include/llvm/IR/
DStatepoint.h322 LandingPadInst *LandingPad = StatepointInvoke->getLandingPadInst(); in getGCRelocates() local
325 for (const User *LandingPadUser : LandingPad->users()) { in getGCRelocates()
/external/llvm/include/llvm/IR/
DStatepoint.h417 LandingPadInst *LandingPad = in getRelocates() local
421 for (const User *LandingPadUser : LandingPad->users()) { in getRelocates()
DInstruction.h416 case Instruction::LandingPad:
DInstruction.def196 HANDLE_OTHER_INST(64, LandingPad, LandingPadInst) // Landing pad instruction.
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DStatepoint.h423 LandingPadInst *LandingPad = StatepointInvoke->getLandingPadInst(); in getRelocates() local
426 for (const User *LandingPadUser : LandingPad->users()) { in getRelocates()
DInstruction.h598 case Instruction::LandingPad:
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp1538 LandingPadInst *LandingPad = nullptr; in rewritePHIs() local
1540 if ((LandingPad = dyn_cast_or_null<LandingPadInst>(BB.getFirstNonPHI()))) { in rewritePHIs()
1544 ReplPHI = PHINode::Create(LandingPad->getType(), 1, "", LandingPad); in rewritePHIs()
1545 ReplPHI->takeName(LandingPad); in rewritePHIs()
1546 LandingPad->replaceAllUsesWith(ReplPHI); in rewritePHIs()
1553 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI); in rewritePHIs()
1561 if (LandingPad) { in rewritePHIs()
1564 LandingPad->eraseFromParent(); in rewritePHIs()
/external/llvm/include/llvm-c/
DCore.h2918 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad);
2921 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx);
2924 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal);
2927 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad);
2930 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val);
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopSimplifyCFG.cpp375 if (auto *LandingPad = dyn_cast<LandingPadInst>(BB->getFirstNonPHI())) in handleDeadExits() local
376 DeadInstructions.emplace_back(LandingPad); in handleDeadExits()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h458 case Instruction::LandingPad: in isEHPad()
DInstruction.def196 HANDLE_OTHER_INST(64, LandingPad, LandingPadInst) // Landing pad instruction.
/external/llvm/lib/IR/
DCore.cpp2511 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad) { in LLVMGetNumClauses() argument
2512 return unwrap<LandingPadInst>(LandingPad)->getNumClauses(); in LLVMGetNumClauses()
2515 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx) { in LLVMGetClause() argument
2516 return wrap(unwrap<LandingPadInst>(LandingPad)->getClause(Idx)); in LLVMGetClause()
2519 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal) { in LLVMAddClause() argument
2520 unwrap<LandingPadInst>(LandingPad)-> in LLVMAddClause()
2524 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad) { in LLVMIsCleanup() argument
2525 return unwrap<LandingPadInst>(LandingPad)->isCleanup(); in LLVMIsCleanup()
2528 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val) { in LLVMSetCleanup() argument
2529 unwrap<LandingPadInst>(LandingPad)->setCleanup(Val); in LLVMSetCleanup()
/external/llvm-project/llvm/include/llvm-c/
DCore.h3666 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad);
3669 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx);
3672 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal);
3675 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad);
3678 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3629 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad);
3632 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx);
3635 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal);
3638 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad);
3641 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val);
/external/llvm-project/llvm/lib/IR/
DCore.cpp3238 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad) { in LLVMGetNumClauses() argument
3239 return unwrap<LandingPadInst>(LandingPad)->getNumClauses(); in LLVMGetNumClauses()
3242 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx) { in LLVMGetClause() argument
3243 return wrap(unwrap<LandingPadInst>(LandingPad)->getClause(Idx)); in LLVMGetClause()
3246 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal) { in LLVMAddClause() argument
3247 unwrap<LandingPadInst>(LandingPad)-> in LLVMAddClause()
3251 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad) { in LLVMIsCleanup() argument
3252 return unwrap<LandingPadInst>(LandingPad)->isCleanup(); in LLVMIsCleanup()
3255 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val) { in LLVMSetCleanup() argument
3256 unwrap<LandingPadInst>(LandingPad)->setCleanup(Val); in LLVMSetCleanup()

123