Home
last modified time | relevance | path

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

/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6101 ReductionOpsListType ReductionOps; member in __anonae696b3d1f11::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/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/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()