Lines Matching defs:CandidateTys
2120 /// Test whether any vector type in \p CandidateTys is viable for promotion.
2126 SmallVectorImpl<VectorType *> &CandidateTys,
2131 if (CandidateTys.empty())
2144 CandidateTys.clear();
2145 CandidateTys.push_back(CommonVecPtrTy);
2148 for (VectorType *&VTy : CandidateTys) {
2180 llvm::sort(CandidateTys, RankVectorTypesComp);
2181 CandidateTys.erase(llvm::unique(CandidateTys, RankVectorTypesEq),
2182 CandidateTys.end());
2187 for (VectorType *VTy : CandidateTys) {
2190 assert(VTy == CandidateTys[0] &&
2194 CandidateTys.resize(1);
2199 llvm::erase_if(CandidateTys, [](VectorType *VTy) {
2204 for (VectorType *VTy : CandidateTys)
2214 const DataLayout &DL, SmallVectorImpl<VectorType *> &CandidateTys,
2225 // Make a copy of CandidateTys and iterate through it, because we
2226 // might append to CandidateTys in the loop.
2241 return checkVectorTypesForPromotion(P, DL, CandidateTys, HaveCommonEltTy,
2258 SmallVector<VectorType *, 4> CandidateTys;
2269 if (!CandidateTys.empty()) {
2270 VectorType *V = CandidateTys[0];
2273 CandidateTys.clear();
2277 CandidateTys.push_back(VTy);
2318 SmallVector<VectorType *, 4> CandidateTysCopy = CandidateTys;
2321 CandidateTys, HaveCommonEltTy, CommonEltTy, HaveVecPtrTy,
2325 CandidateTys.clear();
2327 DeferredTys, CandidateTysCopy, CheckCandidateType, P, DL, CandidateTys,