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

Declarations

include/llvm/IR/Metadata.def
  110 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILabel)

References

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/MachineInstr.h
  412   const DILabel *getDebugLabel() const;
include/llvm/CodeGen/SelectionDAG.h
 1313   SDDbgLabel *getDbgLabel(DILabel *Label, const DebugLoc &DL, unsigned O);
include/llvm/IR/DIBuilder.h
   86     Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
  613     DILabel *
  818     Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
  825     Instruction *insertLabel(DILabel *LabelInfo, const DILocation *DL,
include/llvm/IR/DebugInfoMetadata.h
 2844   static DILabel *getImpl(LLVMContext &Context, DIScope *Scope,
 2851   static DILabel *getImpl(LLVMContext &Context, Metadata *Scope,
include/llvm/IR/IntrinsicInst.h
  189     DILabel *getLabel() const {
  190       return cast<DILabel>(getRawLabel());
include/llvm/IR/Metadata.h
 1042   static void dispatchRecalculateHash(NodeTy *N, std::true_type) {
 1046   static void dispatchRecalculateHash(NodeTy *, std::false_type) {}
 1048   static void dispatchResetHash(NodeTy *N, std::true_type) {
 1052   static void dispatchResetHash(NodeTy *, std::false_type) {}
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     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;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  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) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  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;
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/Bitcode/Writer/BitcodeWriter.cpp
  342   void writeDILabel(const DILabel *N,
 1859     const DILabel *N, SmallVectorImpl<uint64_t> &Record,
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  919   const DILabel *V = MI->getDebugLabel();
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  255         const DILabel *RawLabel = MI.getDebugLabel();
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 1083   } else if (isa<const DILabel>(Node)) {
 1085                         cast<const DILabel>(Node), nullptr /* IA */);
 1250   const auto *DILabel = Label.getLabel();
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1497   } else if (isa<const DILabel>(Node)) {
 1499         std::make_unique<DbgLabel>(cast<const DILabel>(Node),
 1595     const DILabel *Label = cast<DILabel>(IL.first);
 1595     const DILabel *Label = cast<DILabel>(IL.first);
 1623     } else if (auto *DL = dyn_cast<DILabel>(DN)) {
 1864       else if (auto *DL = dyn_cast<DILabel>(DN))
lib/CodeGen/AsmPrinter/DwarfDebug.h
  235   DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr)
  240   const DILabel *getLabel() const { return cast<DILabel>(getEntity()); }
  240   const DILabel *getLabel() const { return cast<DILabel>(getEntity()); }
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  443 void DwarfUnit::addSourceLine(DIE &Die, const DILabel *L) {
lib/CodeGen/AsmPrinter/DwarfUnit.h
  194   void addSourceLine(DIE &Die, const DILabel *L);
lib/CodeGen/LiveDebugVariables.cpp
  355   const DILabel *Label; ///< The debug info label we are part of.
  366   UserLabel(const DILabel *label, DebugLoc L, SlotIndex Idx)
  370   bool match(const DILabel *L, const DILocation *IA,
  510   } else if (const auto *L = dyn_cast<const DILabel>(Node)) {
  510   } else if (const auto *L = dyn_cast<const DILabel>(Node)) {
  666   const DILabel *Label = MI.getDebugLabel();
lib/CodeGen/MachineInstr.cpp
  811 const DILabel *MachineInstr::getDebugLabel() const {
  813   return cast<DILabel>(getOperand(0).getMetadata());
 1608       auto *DIL = dyn_cast<DILabel>(MO.getMetadata());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8123 SDDbgLabel *SelectionDAG::getDbgLabel(DILabel *Label,
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 5887     DILabel *Label = DI.getLabel();
lib/IR/AsmWriter.cpp
 2124 static void writeDILabel(raw_ostream &Out, const DILabel *N,
lib/IR/DIBuilder.cpp
  714 DILabel *DIBuilder::createLabel(
  719   auto *Node =
  720       DILabel::get(VMContext, cast_or_null<DILocalScope>(Context), Name,
  865 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL,
  872 Instruction *DIBuilder::insertLabel(DILabel *LabelInfo, const DILocation *DL,
  963     DILabel *LabelInfo, const DILocation *DL,
lib/IR/DebugInfoMetadata.cpp
  811 DILabel *DILabel::getImpl(LLVMContext &Context, Metadata *Scope,
lib/IR/LLVMContextImpl.h
  249   using KeyTy = MDNodeKeyImpl<NodeTy>;
  251   static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) {
  255   static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) {
  255   static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) {
  986   MDNodeKeyImpl(const DILabel *N)
  990   bool isKeyOf(const DILabel *RHS) const {
 1139   using KeyTy = MDNodeKeyImpl<NodeTy>;
 1140   using SubsetEqualTy = MDNodeSubsetEqualImpl<NodeTy>;
 1142   static inline NodeTy *getEmptyKey() {
 1143     return DenseMapInfo<NodeTy *>::getEmptyKey();
 1146   static inline NodeTy *getTombstoneKey() {
 1147     return DenseMapInfo<NodeTy *>::getTombstoneKey();
 1152   static unsigned getHashValue(const NodeTy *N) {
 1156   static bool isEqual(const KeyTy &LHS, const NodeTy *RHS) {
 1162   static bool isEqual(const NodeTy *LHS, const NodeTy *RHS) {
 1162   static bool isEqual(const NodeTy *LHS, const NodeTy *RHS) {
lib/IR/Metadata.cpp
  761 static T *uniquifyImpl(T *N, DenseSet<T *, InfoT> &Store) {
  761 static T *uniquifyImpl(T *N, DenseSet<T *, InfoT> &Store) {
  761 static T *uniquifyImpl(T *N, DenseSet<T *, InfoT> &Store) {
  762   if (T *U = getUniqued(Store, N))
  778   static const bool value = sizeof(check<NodeTy>(nullptr)) == sizeof(Yes);
lib/IR/MetadataImpl.h
   22 static T *getUniqued(DenseSet<T *, InfoT> &Store,
   22 static T *getUniqued(DenseSet<T *, InfoT> &Store,
   42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
   42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
lib/IR/Verifier.cpp
 1270 void Verifier::visitDILabel(const DILabel &N) {
 4972   DILabel *Label = DLI.getLabel();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4069   auto *L =
usr/include/c++/7.4.0/bits/unique_ptr.h
  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;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
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; };