| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCReduceCRLogicals.cpp | 389 bool splitBlockOnBinaryCROp(CRLogicalOpInfo &CRI); 587 CRLogicalOpInfo CRI = AllCRLogicalOps[Idx]; in handleCROp() local 588 if (CRI.IsBinary && CRI.ContainedInBlock && CRI.SingleUse && CRI.FeedsBR && in handleCROp() 589 CRI.DefsSingleUse) { in handleCROp() 590 Changed = splitBlockOnBinaryCROp(CRI); in handleCROp() 614 bool PPCReduceCRLogicals::splitBlockOnBinaryCROp(CRLogicalOpInfo &CRI) { in splitBlockOnBinaryCROp() argument 615 if (CRI.CopyDefs.first == CRI.CopyDefs.second) { in splitBlockOnBinaryCROp() 620 if (CRI.TrueDefs.first->isCopy() || CRI.TrueDefs.second->isCopy() || in splitBlockOnBinaryCROp() 621 CRI.TrueDefs.first->isPHI() || CRI.TrueDefs.second->isPHI()) { in splitBlockOnBinaryCROp() 629 if (CRI.MI->getOpcode() != PPC::CROR && in splitBlockOnBinaryCROp() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 170 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest() local 171 return CRI->getUnwindDest(); in getCleanupRetUnwindDest() 843 if (auto *CRI = in cloneCommonBlocks() local 845 EdgeTargetsFunclet = (CRI->getCatchSwitchParentPad() == FuncletToken); in cloneCommonBlocks() 996 if (auto *CRI = dyn_cast<CatchReturnInst>(TI)) in removeImplausibleInstructions() local 997 IsUnreachableCatchret = CRI->getCatchPad() != CatchPad; in removeImplausibleInstructions() 1000 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) in removeImplausibleInstructions() local 1001 IsUnreachableCleanupret = CRI->getCleanupPad() != CleanupPad; in removeImplausibleInstructions()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1656 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in getCleanupRetUnwindDest() local 1657 return CRI->getUnwindDest(); in getCleanupRetUnwindDest() 1867 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB.getTerminator())) { in handleLongjmpableCallsForWasmSjLj() local 1868 if (CRI->unwindsToCaller()) { in handleLongjmpableCallsForWasmSjLj() 1869 IRB.SetInsertPoint(CRI); in handleLongjmpableCallsForWasmSjLj() 1870 ToErase.push_back(CRI); in handleLongjmpableCallsForWasmSjLj() 1871 IRB.CreateCleanupRet(CRI->getCleanupPad(), CatchDispatchLongjmpBB); in handleLongjmpableCallsForWasmSjLj()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 150 if (const auto *CRI = dyn_cast<CatchReturnInst>(U)) in isBlockValidForExtraction() local 151 if (!Result.count(const_cast<BasicBlock*>(CRI->getParent()))) in isBlockValidForExtraction() 161 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U)) in isBlockValidForExtraction() local 162 if (!Result.count(const_cast<BasicBlock*>(CRI->getParent()))) in isBlockValidForExtraction() 166 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) { in isBlockValidForExtraction() local 167 if (auto *UBB = CRI->getUnwindDest()) in isBlockValidForExtraction()
|
| H A D | InlineFunction.cpp | 691 if (auto *CRI = dyn_cast<CleanupReturnInst>(BB->getTerminator())) { in HandleInlinedEHPad() local 692 if (CRI->unwindsToCaller()) { in HandleInlinedEHPad() 693 auto *CleanupPad = CRI->getCleanupPad(); in HandleInlinedEHPad() 694 CleanupReturnInst::Create(CleanupPad, UnwindDest, CRI); in HandleInlinedEHPad() 695 CRI->eraseFromParent(); in HandleInlinedEHPad()
|
| H A D | Local.cpp | 2564 if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in removeUnwindEdge() local 2565 NewTI = CleanupReturnInst::Create(CRI->getCleanupPad(), nullptr, CRI); in removeUnwindEdge() 2566 UnwindDest = CRI->getUnwindDest(); in removeUnwindEdge()
|
| H A D | SimplifyCFG.cpp | 5248 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in simplifyUnreachable() local 5249 (void)CRI; in simplifyUnreachable() 5250 assert(CRI->hasUnwindDest() && CRI->getUnwindDest() == BB && in simplifyUnreachable()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1158 CleanupReturnInst::CleanupReturnInst(const CleanupReturnInst &CRI) in CleanupReturnInst() argument 1159 : Instruction(CRI.getType(), Instruction::CleanupRet, in CleanupReturnInst() 1161 CRI.getNumOperands(), in CleanupReturnInst() 1162 CRI.getNumOperands()) { in CleanupReturnInst() 1164 CRI.getSubclassData<Instruction::OpaqueField>()); in CleanupReturnInst() 1165 Op<0>() = CRI.Op<0>(); in CleanupReturnInst() 1166 if (CRI.hasUnwindDest()) in CleanupReturnInst() 1167 Op<1>() = CRI.Op<1>(); in CleanupReturnInst() 1205 CatchReturnInst::CatchReturnInst(const CatchReturnInst &CRI) in CatchReturnInst() argument 1206 : Instruction(Type::getVoidTy(CRI.getContext()), Instruction::CatchRet, in CatchReturnInst() [all …]
|
| H A D | Instruction.cpp | 738 if (const auto *CRI = dyn_cast<CleanupReturnInst>(this)) in mayThrow() local 739 return CRI->unwindsToCaller(); in mayThrow()
|
| H A D | Verifier.cpp | 554 void visitCleanupReturnInst(CleanupReturnInst &CRI); 4118 } else if (auto *CRI = dyn_cast<CleanupReturnInst>(TI)) { in visitEHPadPredecessors() local 4119 FromPad = CRI->getOperand(0); in visitEHPadPredecessors() 4120 Check(FromPad != ToPadParent, "A cleanupret must exit its cleanup", CRI); in visitEHPadPredecessors() 4265 if (auto *CRI = dyn_cast<CleanupReturnInst>(U)) { in visitFuncletPadInst() local 4266 UnwindDest = CRI->getUnwindDest(); in visitFuncletPadInst() 4454 void Verifier::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst() argument 4455 Check(isa<CleanupPadInst>(CRI.getOperand(0)), in visitCleanupReturnInst() 4456 "CleanupReturnInst needs to be provided a CleanupPad", &CRI, in visitCleanupReturnInst() 4457 CRI.getOperand(0)); in visitCleanupReturnInst() [all …]
|
| H A D | AsmWriter.cpp | 4199 } else if (const auto *CRI = dyn_cast<CatchReturnInst>(&I)) { in printInstruction() local 4201 writeOperand(CRI->getOperand(0), /*PrintType=*/false); in printInstruction() 4204 writeOperand(CRI->getOperand(1), /*PrintType=*/true); in printInstruction() 4205 } else if (const auto *CRI = dyn_cast<CleanupReturnInst>(&I)) { in printInstruction() local 4207 writeOperand(CRI->getOperand(0), /*PrintType=*/false); in printInstruction() 4210 if (CRI->hasUnwindDest()) in printInstruction() 4211 writeOperand(CRI->getOperand(1), /*PrintType=*/true); in printInstruction()
|
| H A D | Core.cpp | 2896 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMGetUnwindDest() local 2897 return wrap(CRI->getUnwindDest()); in LLVMGetUnwindDest() 2909 if (CleanupReturnInst *CRI = dyn_cast<CleanupReturnInst>(unwrap(Invoke))) { in LLVMSetUnwindDest() local 2910 return CRI->setUnwindDest(unwrap(B)); in LLVMSetUnwindDest()
|
| /openbsd-src/gnu/usr.bin/binutils/opcodes/ |
| H A D | fr30-opc.c | 1064 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (CRI), 0 } }, 1070 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (RJC), ',', OP (CRI), 0 } },
|
| H A D | frv-opc.c | 4070 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4076 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4082 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4088 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4094 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4100 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4106 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4112 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4118 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } },
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/ |
| H A D | fr30-opc.c | 1064 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (CRI), 0 } }, 1070 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (RJC), ',', OP (CRI), 0 } },
|
| H A D | frv-opc.c | 4108 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4114 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4120 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4126 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4132 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4138 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4144 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4150 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } }, 4156 { { MNEM, OP (PACK), ' ', OP (CRI), ',', OP (CRJ), ',', OP (CRK), 0 } },
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3012 const auto &CRI = cast<CleanupReturnInst>(I); in writeInstruction() local 3013 pushValue(CRI.getCleanupPad(), InstID, Vals); in writeInstruction() 3014 if (CRI.hasUnwindDest()) in writeInstruction() 3015 Vals.push_back(VE.getValueID(CRI.getUnwindDest())); in writeInstruction() 3020 const auto &CRI = cast<CatchReturnInst>(I); in writeInstruction() local 3021 pushValue(CRI.getCatchPad(), InstID, Vals); in writeInstruction() 3022 Vals.push_back(VE.getValueID(CRI.getSuccessor())); in writeInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2398 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst() argument 2404 bool CallAnalyzer::visitCatchReturnInst(CatchReturnInst &CRI) { in visitCatchReturnInst() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 4467 void visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst() 4468 LLVM_DEBUG(dbgs() << "CleanupReturn: " << CRI << "\n"); in visitCleanupReturnInst() 4472 void visitCatchReturnInst(CatchReturnInst &CRI) { in visitCatchReturnInst() 4473 LLVM_DEBUG(dbgs() << "CatchReturn: " << CRI << "\n"); in visitCatchReturnInst()
|
| H A D | AddressSanitizer.cpp | 993 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
|
| /openbsd-src/share/misc/ |
| H A D | airport | 377 CRI:Crooked Island, Bahamas
|