Searched refs:LoopVectorizeHints (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 69 bool LoopVectorizeHints::Hint::validate(unsigned Val) { in validate() 83 LoopVectorizeHints::LoopVectorizeHints(const Loop *L, in LoopVectorizeHints() function in llvm::LoopVectorizeHints 106 bool LoopVectorizeHints::allowVectorization( in allowVectorization() 108 if (getForce() == LoopVectorizeHints::FK_Disabled) { in allowVectorization() 139 void LoopVectorizeHints::emitRemarkWithHints() const { in emitRemarkWithHints() 143 if (Force.Value == LoopVectorizeHints::FK_Disabled) in emitRemarkWithHints() 152 if (Force.Value == LoopVectorizeHints::FK_Enabled) { in emitRemarkWithHints() 168 if (getForce() == LoopVectorizeHints::FK_Disabled) in vectorizeAnalysisPassName() 175 void LoopVectorizeHints::getHintsFromMetadata() { in getHintsFromMetadata() 285 Function *F, Loop *L, const LoopVectorizeHints &Hints) { in doesNotMeet() [all …]
|
| H A D | LoopVectorize.cpp | 833 const LoopVectorizeHints *Hints, in LoopVectorizationCostModel() 1329 const LoopVectorizeHints *Hints; 1361 LoopVectorizeHints Hints(OuterLp, true /*DisableInterleaving*/, *ORE); in isExplicitVecOuterLoop() 1365 if (Hints.getForce() == LoopVectorizeHints::FK_Undefined) in isExplicitVecOuterLoop() 2900 LoopVectorizeHints Hints(Lp, true, *ORE); in createVectorizedLoopSkeleton() 7099 OptimizationRemarkEmitter *ORE, LoopVectorizeHints &Hints) { in processLoopInVPlanNativePath() 7117 Hints.getForce() != LoopVectorizeHints::FK_Enabled && F->optForSize(); in processLoopInVPlanNativePath() 7154 LoopVectorizeHints Hints(L, InterleaveOnlyWhenForced, *ORE); in processLoop() 7159 << (Hints.getForce() == LoopVectorizeHints::FK_Disabled in processLoop() 7161 : (Hints.getForce() == LoopVectorizeHints::FK_Enabled in processLoop() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.h | 58 class LoopVectorizeHints { 98 LoopVectorizeHints(const Loop *L, bool InterleaveOnlyWhenForced, 134 return getForce() == LoopVectorizeHints::FK_Enabled || getWidth() > 1; in allowReordering() 143 return getForce() != LoopVectorizeHints::FK_Enabled && PotentiallyUnsafe; in isPotentiallyUnsafe() 195 bool doesNotMeet(Function *F, Loop *L, const LoopVectorizeHints &Hints); 225 LoopVectorizeHints *H, DemandedBits *DB, AssumptionCache *AC) in LoopVectorizationLegality() 480 LoopVectorizeHints *Hints;
|