| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 758 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 759 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps() 762 llvm::copy(ReductionOps, getRHSExprs().end()); in setReductionOps() 797 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument 811 Clause->setReductionOps(ReductionOps); in Create() 860 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 861 assert(ReductionOps.size() == varlist_size() && "Number of task reduction " in setReductionOps() 864 llvm::copy(ReductionOps, getRHSExprs().end()); in setReductionOps() 872 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create() argument 881 Clause->setReductionOps(ReductionOps); in Create() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 104 SmallVector<const Expr *, 4> ReductionOps; member 174 ArrayRef<const Expr *> ReductionOps); 1192 ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps); 1216 const Expr *RHSExprs, const Expr *ReductionOps); 1264 ArrayRef<const Expr *> ReductionOps, 2072 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGOpenMPRuntimeGPU.h | 278 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGStmtOpenMP.cpp | 1264 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local 1275 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseInit() 1282 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit() 1288 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit() 1474 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local 1488 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseFinal() 1508 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal() 3734 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local 3741 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in emitScanBasedDirectiveDecls() 3749 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirectiveDecls() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 768 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument 775 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen() 4797 ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument 4836 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) { in emitReductionFunction() 4861 for (const Expr *E : ReductionOps) { in emitReductionFunction() 4909 const Expr *LHSExprs, const Expr *RHSExprs, const Expr *ReductionOps) { in emitPrivateReduction() argument 4935 const OMPDeclareReductionDecl *UDR = getReductionInit(ReductionOps); in emitPrivateReduction() 5032 const Expr *ReductionOp = ReductionOps; in emitPrivateReduction() 5141 emitSingleReductionCombiner(CGF, ReductionOps, Privates, in emitPrivateReduction() 5230 ArrayRef<const Expr *> ReductionOps = FilteredReductionOps; in emitReduction() local [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1657 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument 1671 ReductionOps, Options); in emitReduction() 1740 emitSingleReductionCombiner(CGF, ReductionOps[I], Privates[I], in emitReduction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 21748 ReductionOpsListType ReductionOps; member in __anon07b2d7741c111::HorizontalReduction 21877 const ReductionOpsListType &ReductionOps) { in createOp() argument 21878 bool UseSelect = ReductionOps.size() == 2 || in createOp() 21880 (ReductionOps.size() == 1 && in createOp() 21881 any_of(ReductionOps.front(), IsaPred<SelectInst>)); in createOp() 21882 assert((!UseSelect || ReductionOps.size() != 2 || in createOp() 21883 isa<SelectInst>(ReductionOps[1][0])) && in createOp() 21888 propagateIRFlags(Sel->getCondition(), ReductionOps[0], nullptr, in createOp() 21890 propagateIRFlags(Op, ReductionOps[1], nullptr, in createOp() 21895 propagateIRFlags(Op, ReductionOps[0], nullptr, /*IncludeWrapFlags=*/false); in createOp() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 3851 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3943 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps, 4190 void setReductionOps(ArrayRef<Expr *> ReductionOps); 4239 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate); 4421 void setReductionOps(ArrayRef<Expr *> ReductionOps); 4432 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps); 4483 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 18683 SmallVector<Expr *, 8> ReductionOps; member 18711 ReductionOps.reserve(Size); in ReductionData() 18729 ReductionOps.emplace_back(ReductionOp); in push() 18746 ReductionOps.emplace_back(ReductionOp); in push() 19641 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause() 19663 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause() 19683 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause()
|