Home
last modified time | relevance | path

Searched refs:CRI (Results 1 – 21 of 21) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp389 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 DWinEHPrepare.cpp170 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 DWebAssemblyLowerEmscriptenEHSjLj.cpp1656 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 DCodeExtractor.cpp150 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 DInlineFunction.cpp691 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 DLocal.cpp2564 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 DSimplifyCFG.cpp5248 } 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 DInstructions.cpp1158 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 DInstruction.cpp738 if (const auto *CRI = dyn_cast<CleanupReturnInst>(this)) in mayThrow() local
739 return CRI->unwindsToCaller(); in mayThrow()
H A DVerifier.cpp554 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 DAsmWriter.cpp4199 } 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 DCore.cpp2896 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 Dfr30-opc.c1064 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (CRI), 0 } },
1070 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (RJC), ',', OP (CRI), 0 } },
H A Dfrv-opc.c4070 { { 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 Dfr30-opc.c1064 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (CRJ), ',', OP (CRI), 0 } },
1070 { { MNEM, ' ', OP (U4C), ',', OP (CCC), ',', OP (RJC), ',', OP (CRI), 0 } },
H A Dfrv-opc.c4108 { { 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 DBitcodeWriter.cpp3012 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 DInlineCost.cpp2398 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 DMemorySanitizer.cpp4467 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 DAddressSanitizer.cpp993 void visitCleanupReturnInst(CleanupReturnInst &CRI) { RetVec.push_back(&CRI); } in visitCleanupReturnInst()
/openbsd-src/share/misc/
H A Dairport377 CRI:Crooked Island, Bahamas