HomeSort by: relevance | last modified time | path
    Searched refs:UnwindDest (Results 1 - 15 of 15) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
WinEHPrepare.cpp 282 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest();
283 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest())
287 BasicBlock *UnwindDest = getCleanupRetUnwindDest(InnerCleanupPad);
291 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest())
400 BasicBlock *UnwindDest = InnerCatchSwitch->getUnwindDest();
401 if (!UnwindDest || UnwindDest == CatchSwitch->getUnwindDest())
405 BasicBlock *UnwindDest = getCleanupRetUnwindDest(InnerCleanupPad)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyCFGStackify.cpp 1136 MachineBasicBlock *UnwindDest = getFakeCallerBlock(MF);
1144 UnwindDest = Succ;
1148 if (EHPadStack.back() == UnwindDest)
1161 UnwindDestToTryRanges[UnwindDest].push_back(
1165 << "\nOriginal dest = " << UnwindDest->getName()
1244 MachineBasicBlock *UnwindDest = P.first;
1267 addTryDelegate(RangeBegin, RangeEnd, UnwindDest);
1353 auto *UnwindDest = EHInfo->getUnwindDest(EHPad);
1354 if (EHPadStack.back() != UnwindDest) {
1355 EHPadToUnwindDest[EHPad] = UnwindDest;
    [all...]
WebAssemblyExceptionInfo.cpp 131 auto *UnwindDest = EHInfo->getUnwindDest(EHPad);
133 auto *DstWE = getExceptionFor(UnwindDest);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
IRBuilder.cpp 700 Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest,
718 return Builder->CreateInvoke(FnStatepoint, NormalDest, UnwindDest, Args,
726 BasicBlock *NormalDest, BasicBlock *UnwindDest,
730 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest,
737 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags,
741 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags,
747 BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs,
750 this, ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest,
Verifier.cpp 2340 BasicBlock *UnwindDest;
2342 UnwindDest = II->getUnwindDest();
2344 UnwindDest = CSI->getUnwindDest();
2346 UnwindDest = cast<CleanupReturnInst>(Terminator)->getUnwindDest();
2347 return UnwindDest->getFirstNonPHI();
4089 BasicBlock *UnwindDest;
4091 UnwindDest = CRI->getUnwindDest();
4099 UnwindDest = CSI->getUnwindDest();
4101 UnwindDest = II->getUnwindDest();
4120 if (UnwindDest) {
    [all...]
Instructions.cpp 1092 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
1098 if (UnwindDest)
1100 init(ParentPad, UnwindDest, NumReservedValues + 1);
1104 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
1109 if (UnwindDest)
1111 init(ParentPad, UnwindDest, NumReservedValues + 1);
1126 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest,
1131 setNumHungOffUseOperands(UnwindDest ? 2 : 1);
1135 if (UnwindDest) {
1137 setUnwindDest(UnwindDest);
    [all...]
AsmWriter.cpp 4099 if (const BasicBlock *UnwindDest = CatchSwitch->getUnwindDest())
4100 writeOperand(UnwindDest, /*PrintType=*/true);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
InlineFunction.cpp 666 BasicBlock *UnwindDest = II->getUnwindDest();
669 assert(UnwindDest->getFirstNonPHI()->isEHPad() && "unexpected BasicBlock!");
676 for (Instruction &I : *UnwindDest) {
687 BasicBlock::iterator I = UnwindDest->begin();
703 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI);
749 CatchSwitch->getParentPad(), UnwindDest,
778 &*BB, UnwindDest, &FuncletUnwindMap))
787 UnwindDest->removePredecessor(InvokeBB);
2272 BasicBlock *UnwindDest = II->getUnwindDest();
2273 Instruction *FirstNonPHI = UnwindDest->getFirstNonPHI()
    [all...]
SimplifyCFG.cpp 4463 // set UnwindDest to nullptr.
4464 BasicBlock *UnwindDest = RI->getUnwindDest();
4465 Instruction *DestEHPad = UnwindDest ? UnwindDest->getFirstNonPHI() : nullptr;
4470 // be certain that UnwindDest and BB have no common predecessors (since they
4472 if (UnwindDest) {
4473 // First, go through the PHI nodes in UnwindDest and update any nodes that
4475 for (PHINode &DestPN : UnwindDest->phis()) {
4477 // Since BB unwinds to UnwindDest, it has to be in the PHI node.
4486 // Because BB and UnwindDest are both EH pads, all of thei
    [all...]
Local.cpp 2406 BasicBlock *UnwindDest;
2410 UnwindDest = CRI->getUnwindDest();
2419 UnwindDest = CatchSwitch->getUnwindDest();
2426 UnwindDest->removePredecessor(BB);
2430 DTU->applyUpdates({{DominatorTree::Delete, BB, UnwindDest}});
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
IRBuilder.h 816 BasicBlock *UnwindDest, ArrayRef<Value *> InvokeArgs,
824 BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags,
835 BasicBlock *UnwindDest, ArrayRef<Use> InvokeArgs,
1012 BasicBlock *NormalDest, BasicBlock *UnwindDest,
1017 InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args, OpBundles);
1023 BasicBlock *NormalDest, BasicBlock *UnwindDest,
1027 InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args);
1034 BasicBlock *UnwindDest, ArrayRef<Value *> Args,
1038 NormalDest, UnwindDest, Args, OpBundles, Name);
1042 BasicBlock *UnwindDest,
    [all...]
Instructions.h 4225 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4233 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4240 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved);
4250 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4254 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4258 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4261 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4280 void setUnwindDest(BasicBlock *UnwindDest) {
4281 assert(UnwindDest);
4283 setOperand(1, UnwindDest);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 4460 BasicBlock *UnwindDest = nullptr;
4462 UnwindDest = getBasicBlock(Record[Idx++]);
4463 if (!UnwindDest)
4467 I = CleanupReturnInst::Create(CleanupPad, UnwindDest);
4507 BasicBlock *UnwindDest = nullptr;
4509 UnwindDest = getBasicBlock(Record[Idx++]);
4510 if (!UnwindDest)
4518 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
IRTranslator.cpp 2482 for (auto &UnwindDest : UnwindDests) {
2483 UnwindDest.first->setIsEHPad();
2484 addSuccessorWithProb(InvokeMBB, UnwindDest.first, UnwindDest.second);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 1848 auto UnwindDest = I.getUnwindDest();
1851 (BPI && UnwindDest)
1852 ? BPI->getEdgeProbability(FuncInfo.MBB->getBasicBlock(), UnwindDest)
1854 findUnwindDestinations(FuncInfo, UnwindDest, UnwindDestProb, UnwindDests);
1855 for (auto &UnwindDest : UnwindDests) {
1856 UnwindDest.first->setIsEHPad();
1857 addSuccessorWithProb(FuncInfo.MBB, UnwindDest.first, UnwindDest.second);
2946 for (auto &UnwindDest : UnwindDests) {
2947 UnwindDest.first->setIsEHPad()
    [all...]

Completed in 42 milliseconds