Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp69 bool LoopVectorizeHints::Hint::validate(unsigned Val) { in validate()
83 LoopVectorizeHints::LoopVectorizeHints(const Loop *L, bool DisableInterleaving, in LoopVectorizeHints() function in llvm::LoopVectorizeHints
105 bool LoopVectorizeHints::allowVectorization(Function *F, Loop *L, in allowVectorization()
107 if (getForce() == LoopVectorizeHints::FK_Disabled) { in allowVectorization()
113 if (!AlwaysVectorize && getForce() != LoopVectorizeHints::FK_Enabled) { in allowVectorization()
138 void LoopVectorizeHints::emitRemarkWithHints() const { in emitRemarkWithHints()
142 if (Force.Value == LoopVectorizeHints::FK_Disabled) in emitRemarkWithHints()
151 if (Force.Value == LoopVectorizeHints::FK_Enabled) { in emitRemarkWithHints()
164 const char *LoopVectorizeHints::vectorizeAnalysisPassName() const { in vectorizeAnalysisPassName()
167 if (getForce() == LoopVectorizeHints::FK_Disabled) in vectorizeAnalysisPassName()
[all …]
DLoopVectorize.cpp1143 const LoopVectorizeHints &LH, in emitMissedWarning()
1147 if (LH.getForce() == LoopVectorizeHints::FK_Enabled) { in emitMissedWarning()
1180 const LoopVectorizeHints *Hints, in LoopVectorizationCostModel()
1602 const LoopVectorizeHints *Hints;
1634 LoopVectorizeHints Hints(OuterLp, true /*DisableInterleaving*/, *ORE); in isExplicitVecOuterLoop()
1638 if (Hints.getForce() == LoopVectorizeHints::FK_Undefined) in isExplicitVecOuterLoop()
2973 LoopVectorizeHints Hints(Lp, true, *ORE); in createVectorizedLoopSkeleton()
5036 bool ForceVectorization = Hints->getForce() == LoopVectorizeHints::FK_Enabled; in selectVectorizationFactor()
7253 OptimizationRemarkEmitter *ORE, LoopVectorizeHints &Hints) { in processLoopInVPlanNativePath()
7271 Hints.getForce() != LoopVectorizeHints::FK_Enabled && F->optForSize(); in processLoopInVPlanNativePath()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h58 class LoopVectorizeHints {
98 LoopVectorizeHints(const Loop *L, bool DisableInterleaving,
128 return getForce() == LoopVectorizeHints::FK_Enabled || getWidth() > 1; in allowReordering()
137 return getForce() != LoopVectorizeHints::FK_Enabled && PotentiallyUnsafe; in isPotentiallyUnsafe()
189 bool doesNotMeet(Function *F, Loop *L, const LoopVectorizeHints &Hints);
219 LoopVectorizeHints *H, DemandedBits *DB, AssumptionCache *AC) in LoopVectorizationLegality()
465 LoopVectorizeHints *Hints;
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp218 class LoopVectorizeHints;
1031 class LoopVectorizeHints { class
1076 LoopVectorizeHints(const Loop *L, bool DisableInterleaving) in LoopVectorizeHints() function in __anon63bf7e8f0111::LoopVectorizeHints
1101 if (getForce() == LoopVectorizeHints::FK_Disabled) { in allowVectorization()
1109 if (!AlwaysVectorize && getForce() != LoopVectorizeHints::FK_Enabled) { in allowVectorization()
1138 if (Force.Value == LoopVectorizeHints::FK_Disabled) in emitRemark()
1142 if (Force.Value == LoopVectorizeHints::FK_Enabled) { in emitRemark()
1164 if (getForce() == LoopVectorizeHints::FK_Disabled) in vectorizeAnalysisPassName()
1166 if (getForce() == LoopVectorizeHints::FK_Undefined && getWidth() == 0) in vectorizeAnalysisPassName()
1177 return getForce() == LoopVectorizeHints::FK_Enabled || getWidth() > 1; in allowReordering()
[all …]