/external/llvm/lib/Analysis/ |
D | EHPersonalities.cpp | 98 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/ |
D | WinEHPrepare.cpp | 211 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/ |
D | InstrTypes.h | 1123 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;
|
D | Instructions.h | 3953 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 …]
|
D | IRBuilder.h | 726 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/ |
D | CGException.cpp | 883 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()
|
D | CGCleanup.cpp | 941 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/ |
D | Instructions.cpp | 987 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 …]
|
D | Verifier.cpp | 3332 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/ |
D | InlineFunction.cpp | 626 if (auto *ParentPad = in HandleInlinedEHPad() local 636 UnwindDestToken = getUnwindDestToken(ParentPad, FuncletUnwindMap); in HandleInlinedEHPad()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 5442 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/ |
D | BitcodeReader.cpp | 4913 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/ |
D | SelectionDAGBuilder.cpp | 1274 Value *ParentPad = I.getCatchSwitchParentPad(); in visitCatchRet() local 1276 if (isa<ConstantTokenNone>(ParentPad)) in visitCatchRet() 1279 SuccessorColor = cast<Instruction>(ParentPad)->getParent(); in visitCatchRet()
|