Home
last modified time | relevance | path

Searched refs:RecurrenceDescriptor (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandReductions.cpp60 RecurrenceDescriptor::MinMaxRecurrenceKind getMRK(Intrinsic::ID ID) { in getMRK()
63 return RecurrenceDescriptor::MRK_SIntMax; in getMRK()
65 return RecurrenceDescriptor::MRK_SIntMin; in getMRK()
67 return RecurrenceDescriptor::MRK_UIntMax; in getMRK()
69 return RecurrenceDescriptor::MRK_UIntMin; in getMRK()
71 return RecurrenceDescriptor::MRK_FloatMax; in getMRK()
73 return RecurrenceDescriptor::MRK_FloatMin; in getMRK()
75 return RecurrenceDescriptor::MRK_Invalid; in getMRK()
111 RecurrenceDescriptor::MinMaxRecurrenceKind MRK = getMRK(ID); in expandReductions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h298 RecurrenceDescriptor::MinMaxRecurrenceKind RK,
304 RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind =
305 RecurrenceDescriptor::MRK_Invalid,
311 RecurrenceDescriptor::MinMaxRecurrenceKind
312 MinMaxKind = RecurrenceDescriptor::MRK_Invalid,
333 RecurrenceDescriptor &Desc, Value *Src,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp42 bool RecurrenceDescriptor::areAllUsesIn(Instruction *I, in areAllUsesIn()
50 bool RecurrenceDescriptor::isIntegerRecurrenceKind(RecurrenceKind Kind) { in isIntegerRecurrenceKind()
65 bool RecurrenceDescriptor::isFloatingPointRecurrenceKind(RecurrenceKind Kind) { in isFloatingPointRecurrenceKind()
69 bool RecurrenceDescriptor::isArithmeticRecurrenceKind(RecurrenceKind Kind) { in isArithmeticRecurrenceKind()
189 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar()
191 RecurrenceDescriptor &RedDes, in AddReductionVar()
449 RecurrenceDescriptor RD( in AddReductionVar()
459 RecurrenceDescriptor::InstDesc
460 RecurrenceDescriptor::isMinMaxSelectCmpPattern(Instruction *I, InstDesc &Prev) { in isMinMaxSelectCmpPattern()
517 RecurrenceDescriptor::InstDesc
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp755 RecurrenceDescriptor::MinMaxRecurrenceKind RK, in createMinMaxOp()
761 case RecurrenceDescriptor::MRK_UIntMin: in createMinMaxOp()
764 case RecurrenceDescriptor::MRK_UIntMax: in createMinMaxOp()
767 case RecurrenceDescriptor::MRK_SIntMin: in createMinMaxOp()
770 case RecurrenceDescriptor::MRK_SIntMax: in createMinMaxOp()
773 case RecurrenceDescriptor::MRK_FloatMin: in createMinMaxOp()
776 case RecurrenceDescriptor::MRK_FloatMax: in createMinMaxOp()
789 if (RK == RecurrenceDescriptor::MRK_FloatMin || in createMinMaxOp()
790 RK == RecurrenceDescriptor::MRK_FloatMax) in createMinMaxOp()
803 RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind, in getOrderedReduction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIVDescriptors.h62 class RecurrenceDescriptor {
89 RecurrenceDescriptor() = default;
91 RecurrenceDescriptor(Value *Start, Instruction *Exit, RecurrenceKind K, in RecurrenceDescriptor() function
172 RecurrenceDescriptor &RedDes,
182 RecurrenceDescriptor &RedDes,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp613 RecurrenceDescriptor RedDes; in canVectorizeInstrs()
614 if (RecurrenceDescriptor::isReductionPHI(Phi, TheLoop, RedDes, DB, AC, in canVectorizeInstrs()
645 if (RecurrenceDescriptor::isFirstOrderRecurrence(Phi, TheLoop, in canVectorizeInstrs()
DLoopVectorize.cpp540 void clearReductionWrapFlags(RecurrenceDescriptor &RdxDesc);
3687 RecurrenceDescriptor RdxDesc = (*Legal->getReductionVars())[Phi]; in fixReduction()
3689 RecurrenceDescriptor::RecurrenceKind RK = RdxDesc.getRecurrenceKind(); in fixReduction()
3692 RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind = in fixReduction()
3709 if (RK == RecurrenceDescriptor::RK_IntegerMinMax || in fixReduction()
3710 RK == RecurrenceDescriptor::RK_FloatMinMax) { in fixReduction()
3720 Constant *Iden = RecurrenceDescriptor::getRecurrenceIdentity( in fixReduction()
3817 unsigned Op = RecurrenceDescriptor::getRecurrenceBinOp(RK); in fixReduction()
3888 RecurrenceDescriptor &RdxDesc) { in clearReductionWrapFlags()
3889 RecurrenceDescriptor::RecurrenceKind RK = RdxDesc.getRecurrenceKind(); in clearReductionWrapFlags()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h211 using ReductionList = DenseMap<PHINode *, RecurrenceDescriptor>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp669 RecurrenceDescriptor RD; in findInnerReductionPhi()
670 if (RecurrenceDescriptor::isReductionPHI(PHI, L, RD)) in findInnerReductionPhi()
684 RecurrenceDescriptor RD; in findInductionAndReductions()