Home
last modified time | relevance | path

Searched refs:LoopVectorizeHints (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h45 class LoopVectorizeHints {
89 LoopVectorizeHints(const Loop *L, bool InterleaveOnlyWhenForced,
122 return getForce() == LoopVectorizeHints::FK_Enabled || getWidth() > 1; in allowReordering()
131 return getForce() != LoopVectorizeHints::FK_Enabled && PotentiallyUnsafe; in isPotentiallyUnsafe()
174 bool doesNotMeet(Function *F, Loop *L, const LoopVectorizeHints &Hints);
204 LoopVectorizationRequirements *R, LoopVectorizeHints *H, DemandedBits *DB, in LoopVectorizationLegality()
458 LoopVectorizeHints *Hints;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp53 bool LoopVectorizeHints::Hint::validate(unsigned Val) { in validate()
68 LoopVectorizeHints::LoopVectorizeHints(const Loop *L, in LoopVectorizeHints() function in llvm::LoopVectorizeHints
93 void LoopVectorizeHints::setAlreadyVectorized() { in setAlreadyVectorized()
112 bool LoopVectorizeHints::allowVectorization( in allowVectorization()
114 if (getForce() == LoopVectorizeHints::FK_Disabled) { in allowVectorization()
120 if (VectorizeOnlyWhenForced && getForce() != LoopVectorizeHints::FK_Enabled) { in allowVectorization()
145 void LoopVectorizeHints::emitRemarkWithHints() const { in emitRemarkWithHints()
149 if (Force.Value == LoopVectorizeHints::FK_Disabled) in emitRemarkWithHints()
158 if (Force.Value == LoopVectorizeHints::FK_Enabled) { in emitRemarkWithHints()
171 const char *LoopVectorizeHints::vectorizeAnalysisPassName() const { in vectorizeAnalysisPassName()
[all …]
DLoopVectorize.cpp885 LoopVectorizeHints Hints(TheLoop, true /* doesn't matter */, *ORE); in reportVectorizationFailure()
969 const LoopVectorizeHints *Hints, in LoopVectorizationCostModel()
1508 const LoopVectorizeHints *Hints;
1540 LoopVectorizeHints Hints(OuterLp, true /*DisableInterleaving*/, *ORE); in isExplicitVecOuterLoop()
1544 if (Hints.getForce() == LoopVectorizeHints::FK_Undefined) in isExplicitVecOuterLoop()
2785 assert(Cost->Hints->getForce() == LoopVectorizeHints::FK_Enabled && in emitMemRuntimeChecks()
3127 LoopVectorizeHints Hints(Lp, true, *ORE); in createVectorizedLoopSkeleton()
5086 bool ForceVectorization = Hints->getForce() == LoopVectorizeHints::FK_Enabled; in selectVectorizationFactor()
7511 Function *F, Loop *L, LoopVectorizeHints &Hints, ProfileSummaryInfo *PSI, in getScalarEpilogueLowering()
7520 if (OptSize && Hints.getForce() != LoopVectorizeHints::FK_Enabled) in getScalarEpilogueLowering()
[all …]