Searched refs:ReductionData (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp980 static Optional<TTI::ReductionData> getReductionData(Instruction *I) {
983 return TTI::ReductionData(TTI::RK_Arithmetic, I->getOpcode(), L, R);
992 return TTI::ReductionData(TTI::RK_MinMax, CI->getOpcode(), L, R);
997 return TTI::ReductionData(TTI::RK_UnsignedMinMax, CI->getOpcode(), L, R);
1017 Optional<TTI::ReductionData> RD = getReductionData(I);
1063 Optional<TTI::ReductionData> NextLevelRD =
1104 Optional<TTI::ReductionData> RD = getReductionData(RdxStart);
1169 Optional<TTI::ReductionData> RD = getReductionData(RdxStart);
1197 Optional<TTI::ReductionData> RDLevel = getReductionData(RdxOp);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp6546 OperationData ReductionData;
6689 ReductionData = getOperationData(B);
6695 if (ReductionData.getLHS() == Phi) {
6697 B = dyn_cast<Instruction>(ReductionData.getRHS());
6698 ReductionData = getOperationData(B);
6699 } else if (ReductionData.getRHS() == Phi) {
6701 B = dyn_cast<Instruction>(ReductionData.getLHS());
6702 ReductionData = getOperationData(B);
6706 if (!ReductionData.isVectorizable(B))
6721 Stack.push_back(std::make_pair(B, ReductionData
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h827 struct ReductionData { struct in class:llvm::TargetTransformInfo
828 ReductionData() = delete;
829 ReductionData(ReductionKind Kind, unsigned Opcode, Value *LHS, Value *RHS) function in struct:llvm::TargetTransformInfo::ReductionData
837 bool hasSameData(ReductionData &RD) const {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h132 struct ReductionData { struct in class:clang::CodeGen::ReductionCodeGen
141 ReductionData(const Expr *Shared, const Expr *Ref, const Expr *Private, function in struct:clang::CodeGen::ReductionCodeGen::ReductionData
147 SmallVector<ReductionData, 4> ClausesData;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp118 struct ReductionData { struct in class:__anon2086::DSAStackTy
122 ReductionData() = default;
133 llvm::SmallDenseMap<const ValueDecl *, ReductionData, 4>;
1407 ReductionData &ReductionData = getTopOfStack().ReductionMap[D];
1408 assert(ReductionData.ReductionRange.isInvalid() &&
1415 ReductionData.set(BOK, SR);
1433 ReductionData &ReductionData = getTopOfStack().ReductionMap[D];
1434 assert(ReductionData
[all...]

Completed in 104 milliseconds