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

/external/llvm/lib/Analysis/
H A DEHPersonalities.cpp98 Value *ParentPad = CatchRet->getCatchSwitchParentPad(); local
99 if (isa<ConstantTokenNone>(ParentPad))
102 SuccColor = cast<Instruction>(ParentPad)->getParent();
/external/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp211 Value *ParentPad) {
216 if (CatchSwitch->getParentPad() != ParentPad)
222 if (CleanupPad->getParentPad() != ParentPad)
477 // per the ParentPad linkage on EH pads, but skipping over catchswitches).
500 const Value *ParentPad; local
502 ParentPad = CPI->getParentPad();
504 ParentPad = CSI->getParentPad();
507 if (isa<ConstantTokenNone>(ParentPad))
210 getEHPadFromPredecessor(const BasicBlock *BB, Value *ParentPad) argument
/external/llvm/include/llvm/IR/
H A 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) { argument
1157 assert(ParentPad);
1158 Op<-1>() = ParentPad;
H A 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, argument
3983 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3986 static CatchSwitchInst *Create(Value *ParentPad, BasicBlock *UnwindDest, argument
3989 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3998 void setParentPad(Value *ParentPad) { setOperand(0, ParentPad); } argument
4120 explicit CleanupPadInst(Value *ParentPad, ArrayRe
[all...]
H A DIRBuilder.h726 CatchSwitchInst *CreateCatchSwitch(Value *ParentPad, BasicBlock *UnwindBB, argument
729 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
733 CatchPadInst *CreateCatchPad(Value *ParentPad, ArrayRef<Value *> Args, argument
735 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
738 CleanupPadInst *CreateCleanupPad(Value *ParentPad, argument
741 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
/external/clang/lib/CodeGen/
H A DCGException.cpp883 llvm::Value *ParentPad = CGF.CurrentFuncletPad; local
884 if (!ParentPad)
885 ParentPad = llvm::ConstantTokenNone::get(CGF.getLLVMContext());
891 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers);
1334 llvm::Value *ParentPad = CurrentFuncletPad; local
1335 if (!ParentPad)
1336 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext());
1337 CurrentFuncletPad = Builder.CreateCleanupPad(ParentPad);
H A DCGCleanup.cpp941 llvm::Value *ParentPad = CurrentFuncletPad; local
942 if (!ParentPad)
943 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext());
944 CurrentFuncletPad = CPI = Builder.CreateCleanupPad(ParentPad);
/external/llvm/lib/IR/
H A DInstructions.cpp987 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
991 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0,
995 init(ParentPad, UnwindDest, NumReservedValues + 1);
999 CatchSwitchInst::CatchSwitchInst(Value *ParentPad, BasicBlock *UnwindDest,
1002 : TerminatorInst(ParentPad->getType(), Instruction::CatchSwitch, nullptr, 0,
1006 init(ParentPad, UnwindDest, NumReservedValues + 1);
1021 void CatchSwitchInst::init(Value *ParentPad, BasicBlock *UnwindDest,
1023 assert(ParentPad && NumReservedValues);
1029 Op<0>() = ParentPad;
1079 void FuncletPadInst::init(Value *ParentPad, ArrayRe
[all...]
H A DVerifier.cpp3332 auto *ParentPad = CPI.getParentPad(); local
3333 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad),
3513 auto *ParentPad = CatchSwitch.getParentPad(); local
3514 Assert(isa<ConstantTokenNone>(ParentPad) || isa<FuncletPadInst>(ParentPad),
3515 "CatchSwitchInst has an invalid parent.", ParentPad); local
3525 if (getParentPad(I) == ParentPad)
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp626 if (auto *ParentPad =
636 UnwindDestToken = getUnwindDestToken(ParentPad, FuncletUnwindMap);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp5442 Value *ParentPad;
5452 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS))
5483 CatchSwitchInst::Create(ParentPad, UnwindBB, Table.size());
5515 Value *ParentPad = nullptr;
5524 if (ParseValue(Type::getTokenTy(Context), ParentPad, PFS))
5531 Inst = CleanupPadInst::Create(ParentPad, Args);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4913 Value *ParentPad = local
4937 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers);
4952 Value *ParentPad = local
4969 I = CleanupPadInst::Create(ParentPad, Args);
4971 I = CatchPadInst::Create(ParentPad, Args);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1274 Value *ParentPad = I.getCatchSwitchParentPad();
1276 if (isa<ConstantTokenNone>(ParentPad))
1279 SuccessorColor = cast<Instruction>(ParentPad)->getParent();

Completed in 371 milliseconds