Home
last modified time | relevance | path

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

/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/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/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/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/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/llvm/lib/Transforms/Utils/
DInlineFunction.cpp626 if (auto *ParentPad = in HandleInlinedEHPad() local
636 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/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()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1274 Value *ParentPad = I.getCatchSwitchParentPad(); in visitCatchRet() local
1276 if (isa<ConstantTokenNone>(ParentPad)) in visitCatchRet()
1279 SuccessorColor = cast<Instruction>(ParentPad)->getParent(); in visitCatchRet()