/external/llvm-project/clang/lib/AST/ |
D | OpenMPClause.cpp | 692 void OMPReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates() argument 693 assert(Privates.size() == varlist_size() && in setPrivates() 695 std::copy(Privates.begin(), Privates.end(), varlist_end()); in setPrivates() 750 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() argument 760 Clause->setPrivates(Privates); in Create() 791 void OMPTaskReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates() argument 792 assert(Privates.size() == varlist_size() && in setPrivates() 794 std::copy(Privates.begin(), Privates.end(), varlist_end()); in setPrivates() 822 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() argument 829 Clause->setPrivates(Privates); in Create() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeGPU.cpp | 2603 ArrayRef<const Expr *> Privates, Address SrcBase, Address DestBase, in emitReductionListCopy() argument 2617 unsigned Size = Privates.size(); 2618 for (const Expr *Private : Privates) { 2810 ArrayRef<const Expr *> Privates, in emitInterWarpCopyFunction() argument 2883 for (const Expr *Private : Privates) { in emitInterWarpCopyFunction() 3108 CodeGenModule &CGM, ArrayRef<const Expr *> Privates, in emitShuffleAndReduceFunction() argument 3176 emitReductionListCopy(RemoteLaneToThread, CGF, ReductionArrayTy, Privates, in emitShuffleAndReduceFunction() 3250 emitReductionListCopy(ThreadCopy, CGF, ReductionArrayTy, Privates, in emitShuffleAndReduceFunction() 3270 CodeGenModule &CGM, ArrayRef<const Expr *> Privates, in emitListToGlobalCopyFunction() argument 3322 for (const Expr *Private : Privates) { in emitListToGlobalCopyFunction() [all …]
|
D | CGOpenMPRuntime.cpp | 782 ArrayRef<const Expr *> Privates, in ReductionCodeGen() argument 789 const auto *IPriv = Privates.begin(); in ReductionCodeGen() 3407 createPrivatesRecordDecl(CodeGenModule &CGM, ArrayRef<PrivateDataTy> Privates) { in createPrivatesRecordDecl() argument 3408 if (!Privates.empty()) { in createPrivatesRecordDecl() 3415 for (const auto &Pair : Privates) { in createPrivatesRecordDecl() 3488 ArrayRef<PrivateDataTy> Privates) { in createKmpTaskTWithPrivatesRecordDecl() argument 3497 if (const RecordDecl *PrivateRD = createPrivatesRecordDecl(CGM, Privates)) in createKmpTaskTWithPrivatesRecordDecl() 3680 ArrayRef<PrivateDataTy> Privates) { in emitTaskPrivateMappingFunction() argument 3764 const VarDecl *VD = Args[PrivateVarsPos[Privates[Counter].second.Original]]; in emitTaskPrivateMappingFunction() 3783 ArrayRef<PrivateDataTy> Privates, bool ForDup) { in emitPrivatesInit() argument [all …]
|
D | CGStmtOpenMP.cpp | 1178 SmallVector<const Expr *, 4> Privates; in EmitOMPReductionClauseInit() local 1189 Privates.append(C->privates().begin(), C->privates().end()); in EmitOMPReductionClauseInit() 1203 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit() 1207 auto *IPriv = Privates.begin(); in EmitOMPReductionClauseInit() 1396 llvm::SmallVector<const Expr *, 8> Privates; in EmitOMPReductionClauseFinal() local 1407 Privates.append(C->privates().begin(), C->privates().end()); in EmitOMPReductionClauseFinal() 1427 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal() 3161 SmallVector<const Expr *, 4> Privates; in emitScanBasedDirective() local 3172 Privates.append(C->privates().begin(), C->privates().end()); in emitScanBasedDirective() 3186 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirective() [all …]
|
D | CGOpenMPRuntimeGPU.h | 328 ArrayRef<const Expr *> Privates,
|
D | CGOpenMPRuntime.h | 174 ArrayRef<const Expr *> Privates, 1382 ArrayRef<const Expr *> Privates, 1442 ArrayRef<const Expr *> Privates, 2273 ArrayRef<const Expr *> Privates,
|
/external/clang/lib/AST/ |
D | OpenMPClause.cpp | 451 void OMPReductionClause::setPrivates(ArrayRef<Expr *> Privates) { in setPrivates() argument 452 assert(Privates.size() == varlist_size() && in setPrivates() 454 std::copy(Privates.begin(), Privates.end(), varlist_end()); in setPrivates() 482 ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, in Create() argument 489 Clause->setPrivates(Privates); in Create()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 3164 createPrivatesRecordDecl(CodeGenModule &CGM, ArrayRef<PrivateDataTy> Privates) { in createPrivatesRecordDecl() argument 3165 if (!Privates.empty()) { in createPrivatesRecordDecl() 3172 for (auto &&Pair : Privates) { in createPrivatesRecordDecl() 3236 ArrayRef<PrivateDataTy> Privates) { in createKmpTaskTWithPrivatesRecordDecl() argument 3245 if (auto *PrivateRD = createPrivatesRecordDecl(CGM, Privates)) { in createKmpTaskTWithPrivatesRecordDecl() 3420 ArrayRef<PrivateDataTy> Privates) { in emitTaskPrivateMappingFunction() argument 3482 auto *VD = Args[PrivateVarsPos[Privates[Counter].second.Original]]; in emitTaskPrivateMappingFunction() 3505 ArrayRef<PrivateDataTy> Privates, bool ForDup) { in emitPrivatesInit() argument 3519 for (auto &&Pair : Privates) { in emitPrivatesInit() 3578 ArrayRef<PrivateDataTy> Privates) { in checkInitIsRequired() argument [all …]
|
D | CGOpenMPRuntime.h | 898 ArrayRef<const Expr *> Privates,
|
D | CGStmtOpenMP.cpp | 1141 llvm::SmallVector<const Expr *, 8> Privates; in EmitOMPReductionClauseFinal() local 1148 Privates.append(C->privates().begin(), C->privates().end()); in EmitOMPReductionClauseFinal() 1157 *this, D.getLocEnd(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal() 3469 CodeGenFunction::OMPPrivateScope &Privates) { in mapParam() argument 3471 Privates.addPrivate( in mapParam()
|
/external/llvm-project/clang/include/clang/AST/ |
D | OpenMPClause.h | 2792 void setPrivates(ArrayRef<Expr *> Privates); 2924 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, 3111 void setPrivates(ArrayRef<Expr *> Privates); 3199 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, 3342 void setPrivates(ArrayRef<Expr *> Privates); 3443 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates,
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 9081 SmallVector<Expr *, 8> Privates; in ActOnOpenMPReductionClause() local 9109 Privates.push_back(nullptr); in ActOnOpenMPReductionClause() 9238 Privates.push_back(nullptr); in ActOnOpenMPReductionClause() 9530 Privates.push_back(PrivateDRE); in ActOnOpenMPReductionClause() 9541 ReductionIdScopeSpec.getWithLocInContext(Context), ReductionId, Privates, in ActOnOpenMPReductionClause() 9610 SmallVector<Expr *, 8> Privates; in ActOnOpenMPLinearClause() local 9626 Privates.push_back(nullptr); in ActOnOpenMPLinearClause() 9690 Privates.push_back(PrivateRef); in ActOnOpenMPLinearClause() 9732 ColonLoc, EndLoc, Vars, Privates, Inits, in ActOnOpenMPLinearClause()
|
/external/clang/include/clang/AST/ |
D | OpenMPClause.h | 1719 void setPrivates(ArrayRef<Expr *> Privates); 1809 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates,
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 14812 SmallVector<Expr *, 8> Privates; member 14838 Privates.reserve(Size); in ReductionData() 14855 Privates.emplace_back(nullptr); in push() 14871 Privates.emplace_back(Private); in push() 15697 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause() 15718 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause() 15738 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause() 15801 SmallVector<Expr *, 8> Privates; in ActOnOpenMPLinearClause() local 15816 Privates.push_back(nullptr); in ActOnOpenMPLinearClause() 15882 Privates.push_back(PrivateRef); in ActOnOpenMPLinearClause() [all …]
|