Home
last modified time | relevance | path

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

12

/external/llvm/lib/Analysis/
DEHPersonalities.cpp98 Value *ParentPad = CatchRet->getCatchSwitchParentPad(); in colorEHFunclets() local
99 if (isa<ConstantTokenNone>(ParentPad)) in colorEHFunclets()
102 SuccColor = cast<Instruction>(ParentPad)->getParent(); in colorEHFunclets()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DEHPersonalities.cpp125 Value *ParentPad = CatchRet->getCatchSwitchParentPad(); in colorEHFunclets() local
126 if (isa<ConstantTokenNone>(ParentPad)) in colorEHFunclets()
129 SuccColor = cast<Instruction>(ParentPad)->getParent(); in colorEHFunclets()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp211 Value *ParentPad) { in getEHPadFromPredecessor() argument
216 if (CatchSwitch->getParentPad() != ParentPad) in getEHPadFromPredecessor()
222 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
500 const Value *ParentPad; in calculateClrEHStateNumbers() local
502 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
504 ParentPad = CSI->getParentPad(); in calculateClrEHStateNumbers()
507 if (isa<ConstantTokenNone>(ParentPad)) in calculateClrEHStateNumbers()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp220 Value *ParentPad) { in getEHPadFromPredecessor() argument
225 if (CatchSwitch->getParentPad() != ParentPad) in getEHPadFromPredecessor()
231 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
510 const Value *ParentPad; in calculateClrEHStateNumbers() local
512 ParentPad = CPI->getParentPad(); in calculateClrEHStateNumbers()
514 ParentPad = CSI->getParentPad(); in calculateClrEHStateNumbers()
517 if (isa<ConstantTokenNone>(ParentPad)) in calculateClrEHStateNumbers()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp668 LLVMValueRef ParentPad = CloneValue(LLVMGetParentCatchSwitch(Src)); in CloneInstruction() local
673 Dst = LLVMBuildCatchPad(Builder, ParentPad, in CloneInstruction()
678 LLVMValueRef ParentPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local
683 Dst = LLVMBuildCleanupPad(Builder, ParentPad, in CloneInstruction()
688 LLVMValueRef ParentPad = CloneValue(LLVMGetOperand(Src, 0)); in CloneInstruction() local
694 Dst = LLVMBuildCatchSwitch(Builder, ParentPad, UnwindBB, NumHandlers, Name); in CloneInstruction()
/external/llvm/include/llvm/IR/
DInstrTypes.h1123 void init(Value *ParentPad, ArrayRef<Value *> Args, const Twine &NameStr);
1127 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
1130 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
1156 void setParentPad(Value *ParentPad) {
1157 assert(ParentPad);
1158 Op<-1>() = ParentPad;
DInstructions.h3953 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved);
3961 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
3969 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
3979 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
3983 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3986 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
3989 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3998 void setParentPad(Value *ParentPad) { setOperand(0, ParentPad); }
4120 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4123 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values,
[all …]
DIRBuilder.h726 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
729 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
733 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args,
735 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
738 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
741 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstrTypes.h1157 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
1160 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
1164 void init(Value *ParentPad, ArrayRef<Value *> Args, const Twine &NameStr);
1189 void setParentPad(Value *ParentPad) {
1190 assert(ParentPad);
1191 Op<-1>() = ParentPad;
DInstructions.h4202 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4210 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
4217 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved);
4227 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4231 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4235 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
4238 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4247 void setParentPad(Value *ParentPad) { setOperand(0, ParentPad); }
4364 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4367 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values,
[all …]
DIRBuilder.h904 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
907 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
911 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args,
913 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
916 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
919 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/external/clang/lib/CodeGen/
DCGException.cpp883 llvm::Value *ParentPad = CGF.CurrentFuncletPad; in emitCatchPadBlock() local
884 if (!ParentPad) in emitCatchPadBlock()
885 ParentPad = llvm::ConstantTokenNone::get(CGF.getLLVMContext()); in emitCatchPadBlock()
891 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
1334 llvm::Value *ParentPad = CurrentFuncletPad; in getTerminateHandler() local
1335 if (!ParentPad) in getTerminateHandler()
1336 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext()); in getTerminateHandler()
1337 CurrentFuncletPad = Builder.CreateCleanupPad(ParentPad); in getTerminateHandler()
DCGCleanup.cpp941 llvm::Value *ParentPad = CurrentFuncletPad; in PopCleanupBlock() local
942 if (!ParentPad) in PopCleanupBlock()
943 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext()); in PopCleanupBlock()
944 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad); in PopCleanupBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp661 Value *ParentPad = nullptr; in ehAwareSplitEdge() local
663 ParentPad = FuncletPad->getParentPad(); in ehAwareSplitEdge()
665 ParentPad = CatchSwitch->getParentPad(); in ehAwareSplitEdge()
669 auto *NewCleanupPad = CleanupPadInst::Create(ParentPad, {}, "", NewBB); in ehAwareSplitEdge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp794 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
798 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
802 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
806 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
809 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
813 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
828 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() argument
830 assert(ParentPad && NumReservedValues); in init()
836 Op<0>() = ParentPad; in init()
876 void FuncletPadInst::init(Value *ParentPad, ArrayRef<Value *> Args, in init() argument
[all …]
DCore.cpp2724 LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad, in LLVMBuildCatchPad() argument
2727 return wrap(unwrap(B)->CreateCatchPad(unwrap(ParentPad), in LLVMBuildCatchPad()
2732 LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad, in LLVMBuildCleanupPad() argument
2735 if (ParentPad == nullptr) { in LLVMBuildCleanupPad()
2737 ParentPad = wrap(Constant::getNullValue(Ty)); in LLVMBuildCleanupPad()
2739 return wrap(unwrap(B)->CreateCleanupPad(unwrap(ParentPad), in LLVMBuildCleanupPad()
2748 LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad, in LLVMBuildCatchSwitch() argument
2751 if (ParentPad == nullptr) { in LLVMBuildCatchSwitch()
2753 ParentPad = wrap(Constant::getNullValue(Ty)); in LLVMBuildCatchSwitch()
2755 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwrap(UnwindBB), in LLVMBuildCatchSwitch()
DVerifier.cpp3565 auto *ParentPad = CPI.getParentPad(); in visitCleanupPadInst() local
3566 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad), in visitCleanupPadInst()
3746 auto *ParentPad = CatchSwitch.getParentPad(); in visitCatchSwitchInst() local
3747 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad), in visitCatchSwitchInst()
3748 "CatchSwitchInst has an invalid parent.", ParentPad); in visitCatchSwitchInst()
3758 if (getParentPad(I) == ParentPad) in visitCatchSwitchInst()
/external/llvm/lib/IR/
DInstructions.cpp987 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
991 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
995 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
999 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
1002 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
1006 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
1021 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() argument
1023 assert(ParentPad && NumReservedValues); in init()
1029 Op<0>() = ParentPad; in init()
1079 void FuncletPadInst::init(Value *ParentPad, ArrayRef<Value *> Args, in init() argument
[all …]
DVerifier.cpp3332 auto *ParentPad = CPI.getParentPad(); in visitCleanupPadInst() local
3333 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad), in visitCleanupPadInst()
3513 auto *ParentPad = CatchSwitch.getParentPad(); in visitCatchSwitchInst() local
3514 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad), in visitCatchSwitchInst()
3515 "CatchSwitchInst has an invalid parent.", ParentPad); in visitCatchSwitchInst()
3525 if (getParentPad(I) == ParentPad) in visitCatchSwitchInst()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DCore.h3148 LLVMValueRef LLVMBuildCatchPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3151 LLVMValueRef LLVMBuildCleanupPad(LLVMBuilderRef B, LLVMValueRef ParentPad,
3154 LLVMValueRef LLVMBuildCatchSwitch(LLVMBuilderRef B, LLVMValueRef ParentPad,
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp626 if (auto *ParentPad = in HandleInlinedEHPad() local
636 UnwindDestToken = getUnwindDestToken(ParentPad, FuncletUnwindMap); in HandleInlinedEHPad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp706 if (auto *ParentPad = in HandleInlinedEHPad() local
716 UnwindDestToken = getUnwindDestToken(ParentPad, FuncletUnwindMap); in HandleInlinedEHPad()
/external/llvm/lib/AsmParser/
DLLParser.cpp5442 Value *ParentPad; in ParseCatchSwitch() local
5452 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
5483 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size()); in ParseCatchSwitch()
5515 Value *ParentPad = nullptr; in ParseCleanupPad() local
5524 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCleanupPad()
5531 Inst = CleanupPadInst::Create(ParentPad, Args); in ParseCleanupPad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3925 Value *ParentPad = in parseFunctionBody() local
3949 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
3964 Value *ParentPad = in parseFunctionBody() local
3981 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()
3983 I = CatchPadInst::Create(ParentPad, Args); in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4913 Value *ParentPad = in parseFunctionBody() local
4937 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
4952 Value *ParentPad = in parseFunctionBody() local
4969 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()
4971 I = CatchPadInst::Create(ParentPad, Args); in parseFunctionBody()

12