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

Declarations

gen/tools/clang/include/clang/AST/DeclNodes.inc
  509 OMPDECLAREMAPPER(OMPDeclareMapper, ValueDecl)

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/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
  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,
  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) {
  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);
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(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) {
  342 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 };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
tools/clang/include/clang/AST/ASTNodeTraverser.h
  412   void VisitOMPDeclareMapperDecl(const OMPDeclareMapperDecl *D) {
tools/clang/include/clang/AST/DeclBase.h
 2474   static const ToTy *doit(const DeclContext *Val) {
 2478   static ToTy *doit(DeclContext *Val) {
 2491     return To::classofKind(Val.getDeclKind());
 2521   static ToTy *doit(::clang::DeclContext *Val) {
 2522     return ::clang::cast_convert_decl_context<ToTy>::doit(Val);
 2536   static ::clang::DeclContext *doit(const FromTy *Val) {
 2537     return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/DeclOpenMP.h
  236                        OMPDeclareMapperDecl *PrevDeclInScope)
  240   void setPrevDeclInScope(OMPDeclareMapperDecl *Prev) {
  249   static OMPDeclareMapperDecl *Create(ASTContext &C, DeclContext *DC,
  252                                       OMPDeclareMapperDecl *PrevDeclInScope);
  254   static OMPDeclareMapperDecl *CreateDeserialized(ASTContext &C, unsigned ID,
  292   OMPDeclareMapperDecl *getPrevDeclInScope();
  293   const OMPDeclareMapperDecl *getPrevDeclInScope() const;
  297   static DeclContext *castToDeclContext(const OMPDeclareMapperDecl *D) {
  300   static OMPDeclareMapperDecl *castFromDeclContext(const DeclContext *DC) {
tools/clang/include/clang/AST/GlobalDecl.h
   62   GlobalDecl(const OMPDeclareMapperDecl *D) { Init(D); }
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1616   for (auto *C : D->clauselists())
 1618   TRY_TO(TraverseType(D->getType()));
tools/clang/include/clang/Sema/Sema.h
 9451   OMPDeclareMapperDecl *ActOnOpenMPDeclareMapperDirectiveStart(
 9456   void ActOnOpenMPDeclareMapperDirectiveVarDecl(OMPDeclareMapperDecl *DMD,
 9462   ActOnOpenMPDeclareMapperDirectiveEnd(OMPDeclareMapperDecl *D, Scope *S,
tools/clang/lib/AST/ASTContext.cpp
 9976   else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D))
tools/clang/lib/AST/DeclOpenMP.cpp
  174 OMPDeclareMapperDecl *
  178                              OMPDeclareMapperDecl *PrevDeclInScope) {
  179   return new (C, DC) OMPDeclareMapperDecl(OMPDeclareMapper, DC, L, Name, T,
  183 OMPDeclareMapperDecl *OMPDeclareMapperDecl::CreateDeserialized(ASTContext &C,
  186   auto *D = new (C, ID)
  187       OMPDeclareMapperDecl(OMPDeclareMapper, /*DC=*/nullptr, SourceLocation(),
  218 OMPDeclareMapperDecl *OMPDeclareMapperDecl::getPrevDeclInScope() {
  219   return cast_or_null<OMPDeclareMapperDecl>(
  223 const OMPDeclareMapperDecl *OMPDeclareMapperDecl::getPrevDeclInScope() const {
  224   return cast_or_null<OMPDeclareMapperDecl>(
tools/clang/lib/AST/DeclPrinter.cpp
  106     void VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D);
  442         isa<OMPDeclareMapperDecl>(*D) || isa<OMPRequiresDecl>(*D) ||
 1688 void DeclPrinter::VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D) {
tools/clang/lib/AST/ItaniumMangle.cpp
   64       isa<OMPDeclareMapperDecl>(DC)) {
tools/clang/lib/AST/MicrosoftMangle.cpp
  101       isa<OMPDeclareMapperDecl>(DC)) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDecl.cpp
  148     return CGM.EmitOMPDeclareMapper(cast<OMPDeclareMapperDecl>(&D), this);
 2527 void CodeGenModule::EmitOMPDeclareMapper(const OMPDeclareMapperDecl *D,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7152                      const OMPDeclareMapperDecl *>
 7873   MappableExprsHandler(const OMPDeclareMapperDecl &Dir, CodeGenFunction &CGF)
 8098     const auto *CurMapperDir = CurDir.get<const OMPDeclareMapperDecl *>();
 8098     const auto *CurMapperDir = CurDir.get<const OMPDeclareMapperDecl *>();
 8831 void CGOpenMPRuntime::emitUserDefinedMapper(const OMPDeclareMapperDecl *D,
tools/clang/lib/CodeGen/CGOpenMPRuntime.h
  361   llvm::DenseMap<const OMPDeclareMapperDecl *, llvm::Function *> UDMMap;
  365                      SmallVector<const OMPDeclareMapperDecl *, 4>>;
  838   void emitUserDefinedMapper(const OMPDeclareMapperDecl *D,
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2468     } else if (auto *DMD = dyn_cast<OMPDeclareMapperDecl>(Global)) {
 5455     EmitOMPDeclareMapper(cast<OMPDeclareMapperDecl>(D));
tools/clang/lib/CodeGen/CodeGenModule.h
 1277   void EmitOMPDeclareMapper(const OMPDeclareMapperDecl *D,
tools/clang/lib/CodeGen/ModuleBuilder.cpp
  243           } else if (auto *DMD = dyn_cast<OMPDeclareMapperDecl>(Member)) {
  243           } else if (auto *DMD = dyn_cast<OMPDeclareMapperDecl>(Member)) {
tools/clang/lib/Sema/SemaDecl.cpp
 6408       isa<OMPDeclareMapperDecl>(DC))
 6420       isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC))
tools/clang/lib/Sema/SemaExpr.cpp
  317   auto *DMD = dyn_cast<OMPDeclareMapperDecl>(CurContext);
  317   auto *DMD = dyn_cast<OMPDeclareMapperDecl>(CurContext);
tools/clang/lib/Sema/SemaOpenMP.cpp
12785           !isa<OMPDeclareMapperDecl>(Underlying))
15147       auto *DMD = cast<OMPDeclareMapperDecl>(D);
15147       auto *DMD = cast<OMPDeclareMapperDecl>(D);
15833 OMPDeclareMapperDecl *Sema::ActOnOpenMPDeclareMapperDirectiveStart(
15844   OMPDeclareMapperDecl *PrevDMD = nullptr;
15855     llvm::DenseMap<OMPDeclareMapperDecl *, bool> UsedAsPrevious;
15858       auto *PrevDecl = cast<OMPDeclareMapperDecl>(Filter.next());
15858       auto *PrevDecl = cast<OMPDeclareMapperDecl>(Filter.next());
15863         if (OMPDeclareMapperDecl *D = PrevDecl->getPrevDeclInScope())
15879     auto *PrevDMDInScope = PrevDMD =
15880         cast<OMPDeclareMapperDecl>(PrevDeclInScope);
15895   auto *DMD = OMPDeclareMapperDecl::Create(Context, DC, StartLoc, Name,
15895   auto *DMD = OMPDeclareMapperDecl::Create(Context, DC, StartLoc, Name,
15911 void Sema::ActOnOpenMPDeclareMapperDirectiveVarDecl(OMPDeclareMapperDecl *DMD,
15926 Sema::ActOnOpenMPDeclareMapperDirectiveEnd(OMPDeclareMapperDecl *D, Scope *S,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 3130 TemplateDeclInstantiator::VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D) {
 3149   auto *PrevDeclInScope = D->getPrevDeclInScope();
 3151     PrevDeclInScope = cast<OMPDeclareMapperDecl>(
 3155   OMPDeclareMapperDecl *NewDMD = SemaRef.ActOnOpenMPDeclareMapperDirectiveStart(
 5332         isa<OMPDeclareMapperDecl>(ParentDC)) &&
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  450     void VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D);
 2625 void ASTDeclReader::VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D) {
 2774       isa<OMPDeclareMapperDecl>(D) || isa<OMPAllocateDecl>(D))
 3872     D = OMPDeclareMapperDecl::CreateDeserialized(Context, ID, Record.readInt());
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  151     void VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D);
 1822 void ASTDeclWriter::VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D) {
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; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1580     { typedef _Tp const     type; };
 1629     { typedef _Tp   type; };
 1983     { typedef _Up     type; };
 1999     { typedef typename remove_reference<_Tp>::type*     type; };
 2003     : public __add_pointer_helper<_Tp>