reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/BasicBlock.h
   36 class LandingPadInst;
include/llvm/IR/Instruction.def
  219 HANDLE_OTHER_INST(66, LandingPad, LandingPadInst)  // Landing pad instruction.
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
   72 class LandingPadInst;

References

include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
include/llvm/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/CodeGen/FunctionLoweringInfo.h
  283   void addSEHHandlersForLPads(ArrayRef<const LandingPadInst *> LPads);
include/llvm/IR/BasicBlock.h
  420   const LandingPadInst *getLandingPadInst() const;
  421   LandingPadInst *getLandingPadInst() {
include/llvm/IR/IRBuilder.h
  845   InstTy *Insert(InstTy *I, const Twine &Name = "") const {
  845   InstTy *Insert(InstTy *I, const Twine &Name = "") const {
 2390   LandingPadInst *CreateLandingPad(Type *Ty, unsigned NumClauses,
 2392     return Insert(LandingPadInst::Create(Ty, NumClauses), Name);
include/llvm/IR/InstVisitor.h
  198   RetTy visitLandingPadInst(LandingPadInst &I)    { DELEGATE(Instruction); }
include/llvm/IR/Instructions.h
 2796   LandingPadInst(const LandingPadInst &LP);
 2819   LandingPadInst *cloneImpl() const;
 2824   static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,
 2827   static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,
 3855   LandingPadInst *getLandingPadInst() const;
include/llvm/IR/Statepoint.h
  332     return isa<LandingPadInst>(Token) || isa<InvokeInst>(Token);
  341     if (!isa<LandingPadInst>(Token)) {
  423   LandingPadInst *LandingPad = StatepointInvoke->getLandingPadInst();
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   77     return isa_impl<To, From>::doit(Val);
   92     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  168   using ret_type = const To &; // Normal case, return Ty&
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  248                                typename cast_retty<X, const Y>::ret_type>::type
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  331                             typename cast_retty<X, const Y>::ret_type>::type
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
lib/Analysis/CFLGraph.h
  482     void visitLandingPadInst(LandingPadInst &Inst) {
lib/Analysis/ScalarEvolutionExpander.cpp
   95   if (isa<FuncletPadInst>(IP) || isa<LandingPadInst>(IP)) {
lib/AsmParser/LLParser.cpp
 6713   std::unique_ptr<LandingPadInst> LP(LandingPadInst::Create(Ty, 0));
 6713   std::unique_ptr<LandingPadInst> LP(LandingPadInst::Create(Ty, 0));
 6717     LandingPadInst::ClauseType CT;
 6719       CT = LandingPadInst::Catch;
 6721       CT = LandingPadInst::Filter;
 6732     if (CT == LandingPadInst::Catch) {
lib/Bitcode/Reader/BitcodeReader.cpp
 4706       LandingPadInst *LP = LandingPadInst::Create(Ty, NumClauses);
 4706       LandingPadInst *LP = LandingPadInst::Create(Ty, NumClauses);
 4709         LandingPadInst::ClauseType CT =
lib/Bitcode/Writer/BitcodeWriter.cpp
 2895     const LandingPadInst &LP = cast<LandingPadInst>(I);
 2895     const LandingPadInst &LP = cast<LandingPadInst>(I);
 2902         Vals.push_back(LandingPadInst::Catch);
 2904         Vals.push_back(LandingPadInst::Filter);
lib/CodeGen/DwarfEHPrepare.cpp
   58                             SmallVectorImpl<LandingPadInst *> &CleanupLPads);
  143     SmallVectorImpl<LandingPadInst *> &CleanupLPads) {
  147     for (auto *LP : CleanupLPads) {
  185   SmallVector<LandingPadInst*, 16> CleanupLPads;
  189     if (auto *LP = BB.getLandingPadInst())
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1695   if (!isa<LandingPadInst>(EHPadBB->front()))
 1728   const LandingPadInst &LP = cast<LandingPadInst>(U);
 1728   const LandingPadInst &LP = cast<LandingPadInst>(U);
lib/CodeGen/MachineFunction.cpp
  658   if (const auto *LPI = dyn_cast<LandingPadInst>(FirstI)) {
  658   if (const auto *LPI = dyn_cast<LandingPadInst>(FirstI)) {
lib/CodeGen/SafeStack.cpp
  404     } else if (auto LP = dyn_cast<LandingPadInst>(&I)) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  239       if (!isa<LandingPadInst>(PadInst)) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1705     if (isa<LandingPadInst>(Pad)) {
 2859 void SelectionDAGBuilder::visitLandingPad(const LandingPadInst &LP) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  715   void visitLandingPad(const LandingPadInst &LP);
lib/CodeGen/SjLjEHPrepare.cpp
   66   void substituteLPadValues(LandingPadInst *LPI, Value *ExnVal, Value *SelVal);
   67   Value *setupFunctionContext(Function &F, ArrayRef<LandingPadInst *> LPads);
  135 void SjLjEHPrepare::substituteLPadValues(LandingPadInst *LPI, Value *ExnVal,
  171                                            ArrayRef<LandingPadInst *> LPads) {
  183   for (LandingPadInst *LPI : LPads) {
  332     LandingPadInst *LPI = UnwindBlock->getLandingPadInst();
  356   SmallSetVector<LandingPadInst *, 16> LPads;
lib/IR/AsmWriter.cpp
 3777   } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) {
 3777   } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) {
lib/IR/BasicBlock.cpp
  380   if (isa<LandingPadInst>(FirstNonPHI))
  471   return isa<LandingPadInst>(getFirstNonPHI());
  475 const LandingPadInst *BasicBlock::getLandingPadInst() const {
  476   return dyn_cast<LandingPadInst>(getFirstNonPHI());
lib/IR/Core.cpp
 3203   return unwrap<LandingPadInst>(LandingPad)->getNumClauses();
 3207   return wrap(unwrap<LandingPadInst>(LandingPad)->getClause(Idx));
 3211   unwrap<LandingPadInst>(LandingPad)->
 3216   return unwrap<LandingPadInst>(LandingPad)->isCleanup();
 3220   unwrap<LandingPadInst>(LandingPad)->setCleanup(Val);
lib/IR/Instructions.cpp
  205 LandingPadInst::LandingPadInst(const LandingPadInst &LP)
  218 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses,
  221   return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore);
  224 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses,
  227   return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd);
  775 LandingPadInst *InvokeInst::getLandingPadInst() const {
  776   return cast<LandingPadInst>(getUnwindDest()->getFirstNonPHI());
 4254 LandingPadInst *LandingPadInst::cloneImpl() const {
 4255   return new LandingPadInst(*this);
lib/IR/Verifier.cpp
  487   void visitLandingPadInst(LandingPadInst &LPI);
 3594   if (auto *LPI = dyn_cast<LandingPadInst>(&I)) {
 3594   if (auto *LPI = dyn_cast<LandingPadInst>(&I)) {
 3659 void Verifier::visitLandingPadInst(LandingPadInst &LPI) {
 4505     if (LandingPadInst *LandingPad =
 4506             dyn_cast<LandingPadInst>(Call.getArgOperand(0))) {
lib/Target/AArch64/AArch64PromoteConstant.cpp
  289   if (isa<const LandingPadInst>(Instr))
lib/Target/Hexagon/HexagonCommonGEP.cpp
 1278       if (isa<InvokeInst>(I) || isa<LandingPadInst>(I))
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  745   SmallPtrSet<LandingPadInst *, 32> LandingPads;
  830     if (auto *LPI = dyn_cast<LandingPadInst>(I))
  830     if (auto *LPI = dyn_cast<LandingPadInst>(I))
  836   for (LandingPadInst *LPI : LandingPads) {
lib/Transforms/Coroutines/CoroFrame.cpp
  837                                     LandingPadInst *OriginalPad,
  889   LandingPadInst *LandingPad = nullptr;
  891   if ((LandingPad = dyn_cast_or_null<LandingPadInst>(BB.getFirstNonPHI()))) {
lib/Transforms/InstCombine/InstCombineInternal.h
  446   Instruction *visitLandingPadInst(LandingPadInst &LI);
lib/Transforms/InstCombine/InstructionCombining.cpp
 2805 Instruction *InstCombiner::visitLandingPadInst(LandingPadInst &LI) {
 3090     LandingPadInst *NLI = LandingPadInst::Create(LI.getType(),
 3090     LandingPadInst *NLI = LandingPadInst::Create(LI.getType(),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1134       if (InstrumentLandingPads && isa<LandingPadInst>(Inst))
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3557   void visitLandingPadInst(LandingPadInst &I) {
lib/Transforms/Scalar/LoopUnswitch.cpp
 1327     if (LandingPadInst *LPad = NewExit->getLandingPadInst()) {
 1334         LandingPadInst *LPI = BB->getLandingPadInst();
lib/Transforms/Scalar/NewGVN.cpp
 3693     if (isa<LandingPadInst>(Inst))
lib/Transforms/Utils/BasicBlockUtils.cpp
  737   LandingPadInst *LPad = OrigBB->getLandingPadInst();
lib/Transforms/Utils/EscapeEnumerator.cpp
   79   LandingPadInst *LPad =
   80       LandingPadInst::Create(ExnTy, 1, "cleanup.lpad", CleanupBB);
lib/Transforms/Utils/InlineFunction.cpp
  104     LandingPadInst *CallerLPad = nullptr;
  125       CallerLPad = cast<LandingPadInst>(I);
  136     LandingPadInst *getLandingPadInst() const { return CallerLPad; }
  144                        SmallPtrSetImpl<LandingPadInst*> &InlinedLPads);
  203     ResumeInst *RI, SmallPtrSetImpl<LandingPadInst *> &InlinedLPads) {
  596   SmallPtrSet<LandingPadInst*, 16> InlinedLPads;
  604   LandingPadInst *OuterLPad = Invoke.getLandingPadInst();
  605   for (LandingPadInst *InlinedLPad : InlinedLPads) {
 2039     if (isa<LandingPadInst>(FirstNonPHI)) {
lib/Transforms/Utils/SimplifyCFG.cpp
 3810   else if (isa<LandingPadInst>(RI->getParent()->getFirstNonPHI()) &&
 3844     auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI());
 3844     auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI());
 3900   auto *LPInst = cast<LandingPadInst>(BB->getFirstNonPHI());
 3900   auto *LPInst = cast<LandingPadInst>(BB->getFirstNonPHI());
 4200                  !isa<LandingPadInst>(BBI)) {
 5743 static bool TryToMergeLandingPad(LandingPadInst *LPad, BranchInst *BI,
 5756     LandingPadInst *LPad2 = dyn_cast<LandingPadInst>(I);
 5756     LandingPadInst *LPad2 = dyn_cast<LandingPadInst>(I);
 5833   if (LandingPadInst *LPad = dyn_cast<LandingPadInst>(I)) {
 5833   if (LandingPadInst *LPad = dyn_cast<LandingPadInst>(I)) {
tools/clang/lib/CodeGen/CGException.cpp
  257 static bool LandingPadHasOnlyCXXUses(llvm::LandingPadInst *LPI) {
  777   llvm::LandingPadInst *LPadInst =
 1473   llvm::LandingPadInst *LPadInst =
tools/polly/lib/Analysis/ScopDetection.cpp
 1214   if (isa<LandingPadInst>(&Inst) || isa<ResumeInst>(&Inst))
unittests/IR/IRBuilderTest.cpp
  352   LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(), 0, "LP");
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1983     { typedef _Up     type; };