/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | OpenMPClause.cpp | 740 void OMPReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates() argument 741 assert(Privates.size() == varlist_size() && in setPrivates() 743 std::copy(Privates.begin(), Privates.end(), varlist_end()); in setPrivates() 798 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() argument 808 Clause->setPrivates(Privates); in Create() 839 void OMPTaskReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates() argument 840 assert(Privates.size() == varlist_size() && in setPrivates() 842 std::copy(Privates.begin(), Privates.end(), varlist_end()); in setPrivates() 870 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() argument 877 Clause->setPrivates(Privates); in Create() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 771 ArrayRef<const Expr *> Privates, in ReductionCodeGen() argument 778 const auto *IPriv = Privates.begin(); in ReductionCodeGen() 2886 createPrivatesRecordDecl(CodeGenModule &CGM, ArrayRef<PrivateDataTy> Privates) { in createPrivatesRecordDecl() argument 2887 if (!Privates.empty()) { in createPrivatesRecordDecl() 2894 for (const auto &Pair : Privates) { in createPrivatesRecordDecl() 2967 ArrayRef<PrivateDataTy> Privates) { in createKmpTaskTWithPrivatesRecordDecl() argument 2976 if (const RecordDecl *PrivateRD = createPrivatesRecordDecl(CGM, Privates)) in createKmpTaskTWithPrivatesRecordDecl() 3159 ArrayRef<PrivateDataTy> Privates) { in emitTaskPrivateMappingFunction() argument 3243 const VarDecl *VD = Args[PrivateVarsPos[Privates[Counter].second.Original]]; in emitTaskPrivateMappingFunction() 3262 ArrayRef<PrivateDataTy> Privates, bool ForDup) { in emitPrivatesInit() argument [all …]
|
H A D | CGStmtOpenMP.cpp | 1225 SmallVector<const Expr *, 4> Privates; in EmitOMPReductionClauseInit() local 1236 Privates.append(C->privates().begin(), C->privates().end()); in EmitOMPReductionClauseInit() 1250 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit() 1254 auto *IPriv = Privates.begin(); in EmitOMPReductionClauseInit() 1433 llvm::SmallVector<const Expr *, 8> Privates; in EmitOMPReductionClauseFinal() local 1444 Privates.append(C->privates().begin(), C->privates().end()); in EmitOMPReductionClauseFinal() 1467 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal() 3591 SmallVector<const Expr *, 4> Privates; in emitScanBasedDirectiveDecls() local 3598 Privates.append(C->privates().begin(), C->privates().end()); in emitScanBasedDirectiveDecls() 3607 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirectiveDecls() [all …]
|
H A D | CGOpenMPRuntimeGPU.h | 275 ArrayRef<const Expr *> Privates,
|
H A D | CGOpenMPRuntime.h | 172 ArrayRef<const Expr *> Privates, 1209 ArrayRef<const Expr *> Privates, ArrayRef<const Expr *> LHSExprs, 1267 ArrayRef<const Expr *> Privates, 2075 ArrayRef<const Expr *> Privates,
|
H A D | CGOpenMPRuntimeGPU.cpp | 1656 CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> Privates, in emitReduction() argument 1672 CGOpenMPRuntime::emitReduction(CGF, Loc, Privates, LHSExprs, RHSExprs, in emitReduction() 1678 llvm::SmallVector<const ValueDecl *, 4> PrivatesReductions(Privates.size()); in emitReduction() 1680 for (const Expr *DRE : Privates) { in emitReduction() 1704 for (const Expr *Private : Privates) { in emitReduction() 1742 emitSingleReductionCombiner(CGF, ReductionOps[I], Privates[I], in emitReduction()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 3276 void setPrivates(ArrayRef<Expr *> Privates); 3408 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, 3595 void setPrivates(ArrayRef<Expr *> Privates); 3683 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, 3826 void setPrivates(ArrayRef<Expr *> Privates); 3927 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 18053 SmallVector<Expr *, 8> Privates; member 18079 Privates.reserve(Size); in ReductionData() 18096 Privates.emplace_back(nullptr); in push() 18112 Privates.emplace_back(Private); in push() 18981 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause() 19002 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause() 19022 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause() 19087 SmallVector<Expr *, 8> Privates; in ActOnOpenMPLinearClause() local 19108 Privates.push_back(nullptr); in ActOnOpenMPLinearClause() 19175 Privates.push_back(PrivateRef); in ActOnOpenMPLinearClause() [all …]
|