Searched refs:ParentPad (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DEHPersonalities.cpp124 Value *ParentPad = CatchRet->getCatchSwitchParentPad(); local
125 if (isa<ConstantTokenNone>(ParentPad))
128 SuccColor = cast<Instruction>(ParentPad)->getParent();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp221 Value *ParentPad) {
226 if (CatchSwitch->getParentPad() != ParentPad)
232 if (CleanupPad->getParentPad() != ParentPad)
488 // per the ParentPad linkage on EH pads, but skipping over catchswitches).
511 const Value *ParentPad; local
513 ParentPad = CPI->getParentPad();
515 ParentPad = CSI->getParentPad();
518 if (isa<ConstantTokenNone>(ParentPad))
220 getEHPadFromPredecessor(const BasicBlock *BB, Value *ParentPad) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp904 llvm::Value *ParentPad = CGF.CurrentFuncletPad; local
905 if (!ParentPad)
906 ParentPad = llvm::ConstantTokenNone::get(CGF.getLLVMContext());
912 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers);
948 llvm::Value *ParentPad = CGF.CurrentFuncletPad; local
949 if (!ParentPad)
950 ParentPad = llvm::ConstantTokenNone::get(CGF.getLLVMContext());
956 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers);
1535 llvm::Value *ParentPad = CurrentFuncletPad; local
1536 if (!ParentPad)
[all...]
H A DCGCleanup.cpp982 llvm::Value *ParentPad = CurrentFuncletPad; local
983 if (!ParentPad)
984 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext());
985 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h2163 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
2166 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
2170 void init(Value *ParentPad, ArrayRef<Value *> Args, const Twine &NameStr);
2195 void setParentPad(Value *ParentPad) {
2196 assert(ParentPad);
2197 Op<-1>() = ParentPad;
H A DInstructions.h4235 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4243 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4250 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved);
4260 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4264 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4268 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4271 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4280 void setParentPad(Value *ParentPad) { setOperand(0, ParentPad); }
4397 explicit CleanupPadInst(Value *ParentPad, ArrayRe
[all...]
H A DIRBuilder.h1115 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB, argument
1118 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
1122 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args, argument
1124 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
1127 CleanupPadInst *CreateCleanupPad(Value *ParentPad, argument
1130 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp992 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, argument
996 : Instruction(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0,
1000 init(ParentPad, UnwindDest, NumReservedValues + 1);
1004 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, argument
1007 : Instruction(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0,
1011 init(ParentPad, UnwindDest, NumReservedValues + 1);
1026 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, argument
1028 assert(ParentPad && NumReservedValues);
1034 Op<0>() = ParentPad;
1074 void FuncletPadInst::init(Value *ParentPad, ArrayRe
1100 FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad, ArrayRef<Value *> Args, unsigned Values, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
H A DCore.cpp3142 LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3145 return wrap(unwrap(B)->CreateCatchPad(unwrap(ParentPad),
3150 LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3153 if (ParentPad == nullptr) {
3155 ParentPad = wrap(Constant::getNullValue(Ty));
3157 return wrap(unwrap(B)->CreateCleanupPad(unwrap(ParentPad),
3166 LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad,
3169 if (ParentPad == nullptr) {
3171 ParentPad = wrap(Constant::getNullValue(Ty));
3173 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwra
[all...]
H A DVerifier.cpp3786 auto *ParentPad = CPI.getParentPad(); local
3787 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad),
3967 auto *ParentPad = CatchSwitch.getParentPad(); local
3968 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad),
3969 "CatchSwitchInst has an invalid parent.", ParentPad); local
3979 if (getParentPad(I) == ParentPad)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp854 Value *ParentPad = nullptr; local
856 ParentPad = FuncletPad->getParentPad();
858 ParentPad = CatchSwitch->getParentPad();
862 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, "", NewBB);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h3611 LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3614 LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3617 LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp702 if (auto *ParentPad =
712 UnwindDestToken = getUnwindDestToken(ParentPad, FuncletUnwindMap);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4298 Value *ParentPad = local
4322 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers);
4337 Value *ParentPad = local
4354 I = CleanupPadInst::Create(ParentPad, Args);
4356 I = CatchPadInst::Create(ParentPad, Args);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp6234 Value *ParentPad;
6243 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS))
6274 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size());
6306 Value *ParentPad = nullptr;
6315 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS))
6322 Inst = CleanupPadInst::Create(ParentPad, Args);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1648 Value *ParentPad = I.getCatchSwitchParentPad(); local
1650 if (isa<ConstantTokenNone>(ParentPad))
1653 SuccessorColor = cast<Instruction>(ParentPad)->getParent();

Completed in 480 milliseconds