Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DEHPersonalities.cpp95 Value *ParentPad = CatchRet->getParentPad(); in colorEHFunclets() local
96 if (isa<ConstantTokenNone>(ParentPad)) in colorEHFunclets()
99 SuccColor = cast<Instruction>(ParentPad)->getParent(); in colorEHFunclets()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp206 Value *ParentPad) { in getEHPadFromPredecessor() argument
211 if (CatchSwitch->getParentPad() != ParentPad) in getEHPadFromPredecessor()
217 if (CleanupPad->getParentPad() != ParentPad) in getEHPadFromPredecessor()
467 Value *ParentPad; in calculateClrEHStateNumbers() local
482 ParentPad = Cleanup->getParentPad(); in calculateClrEHStateNumbers()
510 ParentPad = CatchSwitch->getParentPad(); in calculateClrEHStateNumbers()
517 if ((Pred = getEHPadFromPredecessor(Pred, ParentPad))) in calculateClrEHStateNumbers()
543 Value *ParentPad = CatchRet->getParentPad(); in calculateCatchReturnSuccessorColors() local
545 if (isa<ConstantTokenNone>(ParentPad)) in calculateCatchReturnSuccessorColors()
548 Color = cast<Instruction>(ParentPad)->getParent(); in calculateCatchReturnSuccessorColors()
/external/llvm/include/llvm/IR/
DInstrTypes.h1119 void init(Value *ParentPad, ArrayRef<Value *> Args, const Twine &NameStr);
1123 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
1126 explicit FuncletPadInst(Instruction::FuncletPadOps Op, Value *ParentPad,
1152 void setParentPad(Value *ParentPad) {
1153 assert(ParentPad);
1154 Op<-1>() = ParentPad;
DInstructions.h3840 void init(Value *ParentPad, BasicBlock *UnwindDest, unsigned NumReserved);
3848 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
3856 CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
3866 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
3870 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3873 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest,
3876 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3885 void setParentPad(Value *ParentPad) { setOperand(0, ParentPad); }
4005 explicit CleanupPadInst(Value *ParentPad, ArrayRef<Value *> Args,
4008 : FuncletPadInst(Instruction::CleanupPad, ParentPad, Args, Values,
[all …]
DIRBuilder.h711 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB,
714 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
718 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args,
720 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
723 CleanupPadInst *CreateCleanupPad(Value *ParentPad,
726 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/external/clang/lib/CodeGen/
DCGException.cpp881 llvm::Value *ParentPad = CGF.CurrentFuncletPad; in emitCatchPadBlock() local
882 if (!ParentPad) in emitCatchPadBlock()
883 ParentPad = llvm::ConstantTokenNone::get(CGF.getLLVMContext()); in emitCatchPadBlock()
889 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
1330 llvm::Value *ParentPad = CurrentFuncletPad; in getTerminateHandler() local
1331 if (!ParentPad) in getTerminateHandler()
1332 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext()); in getTerminateHandler()
1333 Builder.CreateCleanupPad(ParentPad); in getTerminateHandler()
DCGCleanup.cpp912 llvm::Value *ParentPad = CurrentFuncletPad; in PopCleanupBlock() local
913 if (!ParentPad) in PopCleanupBlock()
914 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext()); in PopCleanupBlock()
915 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad); in PopCleanupBlock()
/external/llvm/lib/IR/
DInstructions.cpp869 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
873 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
877 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
881 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest, in CatchSwitchInst() argument
884 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0, in CatchSwitchInst()
888 init(ParentPad, UnwindDest, NumReservedValues + 1); in CatchSwitchInst()
903 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest, in init() argument
905 assert(ParentPad && NumReservedValues); in init()
911 Op<0>() = ParentPad; in init()
950 void FuncletPadInst::init(Value *ParentPad, ArrayRef<Value *> Args, in init() argument
[all …]
DVerifier.cpp3021 auto *ParentPad = CPI.getParentPad(); in visitCleanupPadInst() local
3022 Assert(isa<CatchSwitchInst>(ParentPad) || isa<ConstantTokenNone>(ParentPad) || in visitCleanupPadInst()
3023 isa<CleanupPadInst>(ParentPad) || isa<CatchPadInst>(ParentPad), in visitCleanupPadInst()
3079 auto *ParentPad = CatchSwitch.getParentPad(); in visitCatchSwitchInst() local
3080 Assert(isa<CatchSwitchInst>(ParentPad) || isa<ConstantTokenNone>(ParentPad) || in visitCatchSwitchInst()
3081 isa<CleanupPadInst>(ParentPad) || isa<CatchPadInst>(ParentPad), in visitCatchSwitchInst()
3082 "CatchSwitchInst has an invalid parent.", ParentPad); in visitCatchSwitchInst()
/external/llvm/lib/AsmParser/
DLLParser.cpp5223 Value *ParentPad; in ParseCatchSwitch() local
5233 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCatchSwitch()
5264 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size()); in ParseCatchSwitch()
5296 Value *ParentPad = nullptr; in ParseCleanupPad() local
5305 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS)) in ParseCleanupPad()
5312 Inst = CleanupPadInst::Create(ParentPad, Args); in ParseCleanupPad()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4475 Value *ParentPad = in parseFunctionBody() local
4499 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
4514 Value *ParentPad = in parseFunctionBody() local
4531 I = CleanupPadInst::Create(ParentPad, Args); in parseFunctionBody()
4533 I = CatchPadInst::Create(ParentPad, Args); in parseFunctionBody()