Home
last modified time | relevance | path

Searched refs:ReductionOps (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang/lib/AST/
DOpenMPClause.cpp712 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument
713 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps()
716 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps()
751 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument
763 Clause->setReductionOps(ReductionOps); in Create()
811 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument
812 assert(ReductionOps.size() == varlist_size() && "Number of task reduction " in setReductionOps()
815 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps()
823 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create() argument
832 Clause->setReductionOps(ReductionOps); in Create()
[all …]
/external/clang/lib/AST/
DOpenMPClause.cpp471 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument
472 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps()
475 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps()
483 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create() argument
492 Clause->setReductionOps(ReductionOps); in Create()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.h107 SmallVector<const Expr *, 4> ReductionOps; member
175 ArrayRef<const Expr *> ReductionOps);
1385 ArrayRef<const Expr *> ReductionOps);
1445 ArrayRef<const Expr *> ReductionOps,
2276 ArrayRef<const Expr *> ReductionOps,
DCGOpenMPRuntimeGPU.h331 ArrayRef<const Expr *> ReductionOps,
DCGStmtOpenMP.cpp1179 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local
1190 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseInit()
1197 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit()
1203 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit()
1399 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local
1410 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseFinal()
1427 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal()
3162 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirective() local
3173 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in emitScanBasedDirective()
3186 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirective()
[all …]
DCGOpenMPRuntime.cpp783 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument
790 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen()
5371 ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument
5408 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) { in emitReductionFunction()
5437 for (const Expr *E : ReductionOps) { in emitReductionFunction()
5484 ArrayRef<const Expr *> ReductionOps, in emitReduction() argument
5534 for (const Expr *E : ReductionOps) { in emitReduction()
5583 LHSExprs, RHSExprs, ReductionOps); in emitReduction()
5632 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction()
5638 for (const Expr *E : ReductionOps) { in emitReduction()
[all …]
DCGOpenMPRuntimeGPU.cpp3915 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument
3928 ReductionOps, Options); in emitReduction()
3984 LHSExprs, RHSExprs, ReductionOps); in emitReduction()
4070 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps, in emitReduction()
4075 for (const Expr *E : ReductionOps) { in emitReduction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6101 ReductionOpsListType ReductionOps; member in __anoncaa0dc781f11::HorizontalReduction
6259 void initReductionOps(ReductionOpsListType &ReductionOps) { in initReductionOps() argument
6263 ReductionOps.assign(2, ReductionOpsType()); in initReductionOps()
6265 ReductionOps.assign(1, ReductionOpsType()); in initReductionOps()
6269 void addReductionOps(Instruction *I, ReductionOpsListType &ReductionOps) { in addReductionOps() argument
6273 ReductionOps[0].emplace_back(cast<SelectInst>(I)->getCondition()); in addReductionOps()
6274 ReductionOps[1].emplace_back(I); in addReductionOps()
6276 ReductionOps[0].emplace_back(I); in addReductionOps()
6340 const ReductionOpsListType &ReductionOps) const { in createOp()
6346 propagateIRFlags(Op, ReductionOps[0]); in createOp()
[all …]
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6437 ReductionOpsListType ReductionOps; member in __anon42e2fe642411::HorizontalReduction
6580 void initReductionOps(ReductionOpsListType &ReductionOps) { in initReductionOps() argument
6583 ReductionOps.assign(2, ReductionOpsType()); in initReductionOps()
6585 ReductionOps.assign(1, ReductionOpsType()); in initReductionOps()
6589 void addReductionOps(Instruction *I, ReductionOpsListType &ReductionOps) { in addReductionOps() argument
6592 ReductionOps[0].emplace_back(cast<SelectInst>(I)->getCondition()); in addReductionOps()
6593 ReductionOps[1].emplace_back(I); in addReductionOps()
6595 ReductionOps[0].emplace_back(I); in addReductionOps()
6659 const ReductionOpsListType &ReductionOps) const { in createOp()
6665 propagateIRFlags(Op, ReductionOps[0]); in createOp()
[all …]
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.h901 ArrayRef<const Expr *> ReductionOps,
DCGOpenMPRuntime.cpp4226 ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument
4260 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) { in emitReductionFunction()
4287 for (auto *E : ReductionOps) { in emitReductionFunction()
4332 ArrayRef<const Expr *> ReductionOps, in emitReduction() argument
4378 for (auto *E : ReductionOps) { in emitReduction()
4429 LHSExprs, RHSExprs, ReductionOps); in emitReduction()
4476 auto &&CodeGen = [&Privates, &LHSExprs, &RHSExprs, &ReductionOps]( in emitReduction()
4481 for (auto *E : ReductionOps) { in emitReduction()
4509 auto &&AtomicCodeGen = [Loc, &Privates, &LHSExprs, &RHSExprs, &ReductionOps]( in emitReduction()
4514 for (auto *E : ReductionOps) { in emitReduction()
DCGStmtOpenMP.cpp1144 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local
1151 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseFinal()
1157 *this, D.getLocEnd(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal()
/external/llvm-project/clang/include/clang/AST/
DOpenMPClause.h2834 void setReductionOps(ArrayRef<Expr *> ReductionOps);
2926 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps,
3152 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3201 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
3383 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3394 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps);
3445 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
/external/clang/include/clang/AST/
DOpenMPClause.h1761 void setReductionOps(ArrayRef<Expr *> ReductionOps);
1811 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3942 SmallVector<Value *, 16> ReductionOps; member in HorizontalReduction
4044 ReductionOps.push_back(TreeN); in matchAssociativeReduction()
4081 V.buildTree(makeArrayRef(&ReducedVals[i], ReduxWidth), ReductionOps); in tryToReduce()
/external/clang/lib/Sema/
DSemaOpenMP.cpp9084 SmallVector<Expr *, 8> ReductionOps; in ActOnOpenMPReductionClause() local
9122 ReductionOps.push_back(DeclareReductionRef.get()); in ActOnOpenMPReductionClause()
9124 ReductionOps.push_back(nullptr); in ActOnOpenMPReductionClause()
9241 ReductionOps.push_back(DeclareReductionRef.get()); in ActOnOpenMPReductionClause()
9533 ReductionOps.push_back(ReductionOp.get()); in ActOnOpenMPReductionClause()
9542 LHSs, RHSs, ReductionOps, buildPreInits(Context, ExprCaptures), in ActOnOpenMPReductionClause()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp14818 SmallVector<Expr *, 8> ReductionOps; member
14841 ReductionOps.reserve(Size); in ReductionData()
14858 ReductionOps.emplace_back(ReductionOp); in push()
14874 ReductionOps.emplace_back(ReductionOp); 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()