Home | History | Annotate | Download | only in Vectorize

Lines Matching refs:Hints

921 /// Utility class for getting and setting loop vectorizer hints in the form
1011 /// Find hints specified in the loop metadata.
1177 LoopVectorizeHints Hints(L, DisableUnrolling);
1179 DEBUG(dbgs() << "LV: Loop hints:"
1181 << (Hints.getForce() == LoopVectorizeHints::FK_Disabled
1183 : (Hints.getForce() == LoopVectorizeHints::FK_Enabled
1185 : "?")) << " width=" << Hints.getWidth()
1186 << " unroll=" << Hints.getUnroll() << "\n");
1199 if (Hints.getForce() == LoopVectorizeHints::FK_Disabled) {
1202 L->getStartLoc(), Hints.emitRemark());
1206 if (!AlwaysVectorize && Hints.getForce() != LoopVectorizeHints::FK_Enabled) {
1209 L->getStartLoc(), Hints.emitRemark());
1213 if (Hints.getWidth() == 1 && Hints.getUnroll() == 1) {
1229 if (Hints.getForce() == LoopVectorizeHints::FK_Enabled)
1245 L->getStartLoc(), Hints.emitRemark());
1254 bool OptForSize = Hints.getForce() != LoopVectorizeHints::FK_Enabled &&
1264 if (Hints.getForce() != LoopVectorizeHints::FK_Enabled &&
1280 L->getStartLoc(), Hints.emitRemark());
1286 CM.selectVectorizationFactor(OptForSize, Hints.getWidth(),
1287 Hints.getForce() ==
1292 CM.selectUnrollFactor(OptForSize, Hints.getUnroll(), VF.Width, VF.Cost);
1333 Hints.setAlreadyVectorized(L);
2426 LoopVectorizeHints Hints(Lp, true);
2427 Hints.setAlreadyVectorized(Lp);