| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 760 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 761 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps() 764 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 799 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument 811 Clause->setReductionOps(ReductionOps); in Create() 859 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 860 assert(ReductionOps.size() == varlist_size() && "Number of task reduction " in setReductionOps() 863 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 871 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create() argument 880 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 173 ArrayRef<const Expr *> ReductionOps); 1210 ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps); 1270 ArrayRef<const Expr *> ReductionOps, 2078 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGOpenMPRuntimeGPU.h | 278 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGStmtOpenMP.cpp | 1226 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local 1237 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseInit() 1244 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit() 1250 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit() 1436 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local 1447 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseFinal() 1467 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal() 3592 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local 3599 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in emitScanBasedDirectiveDecls() 3607 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirectiveDecls() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1658 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument 1673 ReductionOps, Options); in emitReduction() 1742 emitSingleReductionCombiner(CGF, ReductionOps[I], Privates[I], in emitReduction()
|
| H A D | CGOpenMPRuntime.cpp | 772 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument 779 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen() 4823 ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument 4862 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) { in emitReductionFunction() 4887 for (const Expr *E : ReductionOps) { in emitReductionFunction() 4934 ArrayRef<const Expr *> ReductionOps, in emitReduction() argument 4984 for (const Expr *E : ReductionOps) { in emitReduction() 5033 Privates, LHSExprs, RHSExprs, ReductionOps); in emitReduction() 5082 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction() 5088 for (const Expr *E : ReductionOps) { in emitReduction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 16661 ReductionOpsListType ReductionOps; member in __anon07b2d77415711::HorizontalReduction 16783 /// from \p ReductionOps, dropping nuw/nsw flags. 16786 const ReductionOpsListType &ReductionOps) { in createOp() argument 16787 bool UseSelect = ReductionOps.size() == 2 || in createOp() 16789 (ReductionOps.size() == 1 && in createOp() 16790 any_of(ReductionOps.front(), IsaPred<SelectInst>)); in createOp() 16791 assert((!UseSelect || ReductionOps.size() != 2 || in createOp() 16792 isa<SelectInst>(ReductionOps[1][0])) && in createOp() 16797 propagateIRFlags(Sel->getCondition(), ReductionOps[0], nullptr, in createOp() 16799 propagateIRFlags(Op, ReductionOps[ in createOp() 17007 __anon07b2d77415802(Instruction *TreeN, SmallVectorImpl<Value *> &ExtraArgs, SmallVectorImpl<Value *> &PossibleReducedVals, SmallVectorImpl<Instruction *> &ReductionOps) matchAssociativeReduction() argument [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 3318 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3410 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps, 3636 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3685 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate); 3867 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3878 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps); 3929 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 18059 SmallVector<Expr *, 8> ReductionOps; member 18082 ReductionOps.reserve(Size); in ReductionData() 18099 ReductionOps.emplace_back(ReductionOp); in push() 18115 ReductionOps.emplace_back(ReductionOp); 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()
|