|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
gen/tools/clang/include/clang/AST/DeclNodes.inc 515 OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
tools/clang/include/clang/Sema/Sema.h 157 class OMPDeclareReductionDecl;
tools/clang/lib/CodeGen/CGOpenMPRuntime.h 44 class OMPDeclareReductionDecl;
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 406 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *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 136 OMPDeclareReductionDecl *PrevDeclInScope);
138 void setPrevDeclInScope(OMPDeclareReductionDecl *Prev) {
144 static OMPDeclareReductionDecl *
146 QualType T, OMPDeclareReductionDecl *PrevDeclInScope);
148 static OMPDeclareReductionDecl *CreateDeserialized(ASTContext &C,
195 OMPDeclareReductionDecl *getPrevDeclInScope();
196 const OMPDeclareReductionDecl *getPrevDeclInScope() const;
200 static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) {
203 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) {
tools/clang/include/clang/AST/GlobalDecl.h 61 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); }
tools/clang/include/clang/AST/RecursiveASTVisitor.h 1608 TRY_TO(TraverseStmt(D->getCombiner()));
1609 if (auto *Initializer = D->getInitializer())
1611 TRY_TO(TraverseType(D->getType()));
tools/clang/include/clang/AST/TextNodeDumper.h 312 void VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D);
tools/clang/lib/AST/ASTContext.cpp 9976 else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D))
tools/clang/lib/AST/DeclOpenMP.cpp 136 QualType Ty, OMPDeclareReductionDecl *PrevDeclInScope)
144 OMPDeclareReductionDecl *OMPDeclareReductionDecl::Create(
146 QualType T, OMPDeclareReductionDecl *PrevDeclInScope) {
147 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name,
151 OMPDeclareReductionDecl *
153 return new (C, ID) OMPDeclareReductionDecl(
158 OMPDeclareReductionDecl *OMPDeclareReductionDecl::getPrevDeclInScope() {
159 return cast_or_null<OMPDeclareReductionDecl>(
162 const OMPDeclareReductionDecl *
164 return cast_or_null<OMPDeclareReductionDecl>(
tools/clang/lib/AST/DeclPrinter.cpp 105 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
441 if (isa<OMPThreadPrivateDecl>(*D) || isa<OMPDeclareReductionDecl>(*D) ||
1651 void DeclPrinter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) {
1671 case OMPDeclareReductionDecl::DirectInit:
1674 case OMPDeclareReductionDecl::CopyInit:
1677 case OMPDeclareReductionDecl::CallInit:
1681 if (D->getInitializerKind() == OMPDeclareReductionDecl::DirectInit)
tools/clang/lib/AST/ItaniumMangle.cpp 63 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) ||
tools/clang/lib/AST/MicrosoftMangle.cpp 100 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) ||
tools/clang/lib/AST/TextNodeDumper.cpp 1449 const OMPDeclareReductionDecl *D) {
1458 case OMPDeclareReductionDecl::DirectInit:
1461 case OMPDeclareReductionDecl::CopyInit:
1464 case OMPDeclareReductionDecl::CallInit:
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDecl.cpp 145 return CGM.EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(&D), this);
2520 void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 791 static const OMPDeclareReductionDecl *
797 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl()))
797 if (const auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl()))
803 const OMPDeclareReductionDecl *DRD,
862 const OMPDeclareReductionDecl *DRD,
956 const OMPDeclareReductionDecl *DRD) {
1058 const OMPDeclareReductionDecl *DRD =
1199 const OMPDeclareReductionDecl *DRD =
1405 CodeGenFunction *CGF, const OMPDeclareReductionDecl *D) {
1417 D->getInitializerKind() == OMPDeclareReductionDecl::CallInit ? Init
1431 CGOpenMPRuntime::getUserDefinedReduction(const OMPDeclareReductionDecl *D) {
5546 if (const auto *DRD =
5547 dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) {
6569 isa<OMPDeclareReductionDecl>(D) ||
9751 isa<OMPDeclareReductionDecl>(GD.getDecl()))
tools/clang/lib/CodeGen/CGOpenMPRuntime.h 147 const OMPDeclareReductionDecl *DRD);
350 typedef llvm::DenseMap<const OMPDeclareReductionDecl *,
356 SmallVector<const OMPDeclareReductionDecl *, 4>>
832 const OMPDeclareReductionDecl *D);
835 getUserDefinedReduction(const OMPDeclareReductionDecl *D);
tools/clang/lib/CodeGen/CodeGenModule.cpp 2464 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Global)) {
5451 EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D));
tools/clang/lib/CodeGen/CodeGenModule.h 1273 void EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D,
tools/clang/lib/CodeGen/ModuleBuilder.cpp 240 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) {
240 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(Member)) {
tools/clang/lib/Sema/SemaDecl.cpp 6407 if (DC->isFunctionOrMethod() || isa<OMPDeclareReductionDecl>(DC) ||
6420 isa<OMPDeclareReductionDecl>(DC) || isa<OMPDeclareMapperDecl>(DC))
tools/clang/lib/Sema/SemaExpr.cpp 304 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext);
304 auto *DRD = dyn_cast<OMPDeclareReductionDecl>(CurContext);
tools/clang/lib/Sema/SemaOpenMP.cpp12784 if (!isa<OMPDeclareReductionDecl>(Underlying) &&
12830 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D))
12830 else if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(D))
13402 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl());
13402 auto *DRD = cast<OMPDeclareReductionDecl>(DRDRef->getDecl());
15592 OMPDeclareReductionDecl *PrevDRD = nullptr;
15603 llvm::DenseMap<OMPDeclareReductionDecl *, bool> UsedAsPrevious;
15606 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next());
15606 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next());
15611 if (OMPDeclareReductionDecl *D = PrevDecl->getPrevDeclInScope())
15627 auto *PrevDRDInScope = PrevDRD =
15628 cast<OMPDeclareReductionDecl>(PrevDeclInScope);
15645 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second,
15645 auto *DRD = OMPDeclareReductionDecl::Create(Context, DC, TyData.second,
15661 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15661 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15708 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15708 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15722 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15722 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15770 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15770 auto *DRD = cast<OMPDeclareReductionDecl>(D);
15778 DRD->setInitializer(Initializer, OMPDeclareReductionDecl::CallInit);
15782 ? OMPDeclareReductionDecl::DirectInit
15783 : OMPDeclareReductionDecl::CopyInit);
15794 PushOnScopeChains(cast<OMPDeclareReductionDecl>(D), S,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 3030 OMPDeclareReductionDecl *D) {
3051 auto *PrevDeclInScope = D->getPrevDeclInScope();
3053 PrevDeclInScope = cast<OMPDeclareReductionDecl>(
3060 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl());
3060 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl());
3103 if (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit) {
3115 (D->getInitializerKind() == OMPDeclareReductionDecl::CallInit &&
3117 (D->getInitializerKind() != OMPDeclareReductionDecl::CallInit &&
5331 isa<OMPDeclareReductionDecl>(ParentDC) ||
tools/clang/lib/Serialization/ASTReaderDecl.cpp 449 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
2608 void ASTDeclReader::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D) {
2773 if (isa<OMPThreadPrivateDecl>(D) || isa<OMPDeclareReductionDecl>(D) ||
3869 D = OMPDeclareReductionDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp 150 void VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *D);
1808 void ASTDeclWriter::VisitOMPDeclareReductionDecl(OMPDeclareReductionDecl *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>