Home
last modified time | relevance | path

Searched refs:ParentPad (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DEHPersonalities.cpp124 Value *ParentPad = CatchRet->getCatchSwitchParentPad(); in colorEHFunclets() local
125 if (isa<ConstantTokenNone>(ParentPad)) in colorEHFunclets()
128 SuccColor = cast<Instruction>(ParentPad)->getParent(); in colorEHFunclets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp221 Value *ParentPad) { in getEHPadFromPredecessor() argument
226 if (CatchSwitch->getParentPad() != ParentPad) in getEHPadFromPredecessor()
232 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
511 const Value *ParentPad; in calculateClrEHStateNumbers() local
513 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
515 ParentPad = CSI->getParentPad(); in calculateClrEHStateNumbers()
518 if (isa<ConstantTokenNone>(ParentPad)) in calculateClrEHStateNumbers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
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, ArrayRef<Value *> Args,
4400 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values,
[all …]
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;
DIRBuilder.h1115 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
1118 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
1122 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args,
1124 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
1127 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
1130 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp992 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
996 : Instruction(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
1000 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
1004 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
1007 : Instruction(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
1011 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
1026 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() argument
1028 assert(ParentPad && NumReservedValues); in init()
1034 Op<0>() = ParentPad; in init()
1074 void FuncletPadInst::init(Value *ParentPad, ArrayRef<Value *> Args, in init() argument
[all …]
DCore.cpp3142 LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, in LLVMBuildCatchPad() argument
3145 return wrap(unwrap(B)->CreateCatchPad(unwrap(ParentPad), in LLVMBuildCatchPad()
3150 LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, in LLVMBuildCleanupPad() argument
3153 if (ParentPad == nullptr) { in LLVMBuildCleanupPad()
3155 ParentPad = wrap(Constant::getNullValue(Ty)); in LLVMBuildCleanupPad()
3157 return wrap(unwrap(B)->CreateCleanupPad(unwrap(ParentPad), in LLVMBuildCleanupPad()
3166 LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, in LLVMBuildCatchSwitch() argument
3169 if (ParentPad == nullptr) { in LLVMBuildCatchSwitch()
3171 ParentPad = wrap(Constant::getNullValue(Ty)); in LLVMBuildCatchSwitch()
3173 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwrap(UnwindBB), in LLVMBuildCatchSwitch()
DVerifier.cpp3786 auto *ParentPad = CPI.getParentPad(); in visitCleanupPadInst() local
3787 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad), in visitCleanupPadInst()
3967 auto *ParentPad = CatchSwitch.getParentPad(); in visitCatchSwitchInst() local
3968 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad), in visitCatchSwitchInst()
3969 "CatchSwitchInst has an invalid parent.", ParentPad); in visitCatchSwitchInst()
3979 if (getParentPad(I) == ParentPad) in visitCatchSwitchInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp854 Value *ParentPad = nullptr; in ehAwareSplitEdge() local
856 ParentPad = FuncletPad->getParentPad(); in ehAwareSplitEdge()
858 ParentPad = CatchSwitch->getParentPad(); in ehAwareSplitEdge()
862 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, "", NewBB); in ehAwareSplitEdge()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3611 LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3614 LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3617 LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp702 if (auto *ParentPad = in HandleInlinedEHPad() local
712 UnwindDestToken = getUnwindDestToken(ParentPad, FuncletUnwindMap); in HandleInlinedEHPad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4298 Value *ParentPad = in parseFunctionBody() local
4322 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
4337 Value *ParentPad = in parseFunctionBody() local
4354 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()
4356 I = CatchPadInst::Create(ParentPad, Args); in parseFunctionBody()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp6234 Value *ParentPad; in ParseCatchSwitch() local
6243 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
6274 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size()); in ParseCatchSwitch()
6306 Value *ParentPad = nullptr; in ParseCleanupPad() local
6315 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCleanupPad()
6322 Inst = CleanupPadInst::Create(ParentPad, Args); in ParseCleanupPad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1648 Value *ParentPad = I.getCatchSwitchParentPad(); in visitCatchRet() local
1650 if (isa<ConstantTokenNone>(ParentPad)) in visitCatchRet()
1653 SuccessorColor = cast<Instruction>(ParentPad)->getParent(); in visitCatchRet()