Searched refs:ReductionData (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 888 struct ReductionData { struct 889 ReductionData() = delete; 890 ReductionData(ReductionKind Kind, unsigned Opcode, Value *LHS, Value *RHS) in ReductionData() argument 898 bool hasSameData(ReductionData &RD) const { in hasSameData() argument 904 static Optional<ReductionData> getReductionData(Instruction *I) { in getReductionData() 907 return ReductionData(RK_Arithmetic, I->getOpcode(), L, R); in getReductionData() 916 return ReductionData(RK_MinMax, CI->getOpcode(), L, R); in getReductionData() 921 return ReductionData(RK_UnsignedMinMax, CI->getOpcode(), L, R); in getReductionData() 941 Optional<ReductionData> RD = getReductionData(I); in matchPairwiseReductionAtLevel() 985 Optional<ReductionData> NextLevelRD = in matchPairwiseReductionAtLevel() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 6420 OperationData ReductionData; member in __anon0e4247bf1f11::HorizontalReduction 6563 ReductionData = getOperationData(B); in matchAssociativeReduction() 6569 if (ReductionData.getLHS() == Phi) { in matchAssociativeReduction() 6571 B = dyn_cast<Instruction>(ReductionData.getRHS()); in matchAssociativeReduction() 6572 ReductionData = getOperationData(B); in matchAssociativeReduction() 6573 } else if (ReductionData.getRHS() == Phi) { in matchAssociativeReduction() 6575 B = dyn_cast<Instruction>(ReductionData.getLHS()); in matchAssociativeReduction() 6576 ReductionData = getOperationData(B); in matchAssociativeReduction() 6580 if (!ReductionData.isVectorizable(B)) in matchAssociativeReduction() 6595 Stack.push_back(std::make_pair(B, ReductionData.getFirstOperandIndex())); in matchAssociativeReduction() [all …]
|