Lines Matching defs:LookAheadHeuristics

1686   class LookAheadHeuristics {
1695 LookAheadHeuristics(const TargetLibraryInfo &TLI, const DataLayout &DL,
1750 return LookAheadHeuristics::ScoreFail;
1772 return LookAheadHeuristics::ScoreSplatLoads;
1774 return LookAheadHeuristics::ScoreSplat;
1783 return LookAheadHeuristics::ScoreSplatLoads;
1785 return LookAheadHeuristics::ScoreFail;
1803 return LookAheadHeuristics::ScoreMaskedGatherCandidate;
1809 return LookAheadHeuristics::ScoreMaskedGatherCandidate;
1813 return (*Dist > 0) ? LookAheadHeuristics::ScoreConsecutiveLoads
1814 : LookAheadHeuristics::ScoreReversedLoads;
1820 return LookAheadHeuristics::ScoreConstants;
1834 ? LookAheadHeuristics::ScoreConsecutiveExtracts
1835 : LookAheadHeuristics::ScoreSameOpcode;
1843 return LookAheadHeuristics::ScoreConsecutiveExtracts;
1845 return LookAheadHeuristics::ScoreConsecutiveExtracts;
1853 return LookAheadHeuristics::ScoreSplat;
1855 return LookAheadHeuristics::ScoreSameOpcode;
1856 return (Dist > 0) ? LookAheadHeuristics::ScoreConsecutiveExtracts
1857 : LookAheadHeuristics::ScoreReversedExtracts;
1859 return LookAheadHeuristics::ScoreAltOpcodes;
1883 return S.isAltShuffle() ? LookAheadHeuristics::ScoreAltOpcodes
1884 : LookAheadHeuristics::ScoreSameOpcode;
1888 return LookAheadHeuristics::ScoreSameOpcode;
1891 return LookAheadHeuristics::ScoreUndef;
1913 /// {B[0],B[1]} match with LookAheadHeuristics::ScoreConsecutiveLoads, while
1914 /// {A[0],C[0]} has a score of LookAheadHeuristics::ScoreFail.
1939 ShallowScoreAtThisLevel == LookAheadHeuristics::ScoreFail ||
1973 if (TmpScore > LookAheadHeuristics::ScoreFail &&
2144 return LookAheadHeuristics::ScoreAllUserVectorized;
2149 ? LookAheadHeuristics::ScoreAllUserVectorized
2166 LookAheadHeuristics LookAhead(TLI, DL, SE, R, getNumLanes(),
2279 BestOp.Score = LookAheadHeuristics::ScoreConstants;
2281 LookAheadHeuristics::ScoreConstants;
2291 BestOp.Score = LookAheadHeuristics::ScoreSplat;
2293 LookAheadHeuristics::ScoreSplat;
2810 /// scored above the LookAheadHeuristics::ScoreFail. \param Limit Lower limit
2814 int Limit = LookAheadHeuristics::ScoreFail) const {
2815 LookAheadHeuristics LookAhead(*TLI, *DL, *SE, *this, /*NumLanes=*/2,
8283 return findBestRootPair(Cand, LookAheadHeuristics::ScoreSplat);
8296 return findBestRootPair(Cand, LookAheadHeuristics::ScoreSplat);
9789 findBestRootPair(Cand, LookAheadHeuristics::ScoreSplatLoads);