Lines Matching defs:CandidateTys
2142 /// Test whether any vector type in \p CandidateTys is viable for promotion.
2148 SmallVectorImpl<VectorType *> &CandidateTys,
2153 if (CandidateTys.empty())
2166 CandidateTys.clear();
2167 CandidateTys.push_back(CommonVecPtrTy);
2170 for (VectorType *&VTy : CandidateTys) {
2202 llvm::sort(CandidateTys, RankVectorTypesComp);
2203 CandidateTys.erase(llvm::unique(CandidateTys, RankVectorTypesEq),
2204 CandidateTys.end());
2209 for (VectorType *VTy : CandidateTys) {
2212 assert(VTy == CandidateTys[0] &&
2216 CandidateTys.resize(1);
2221 llvm::erase_if(CandidateTys, [](VectorType *VTy) {
2226 for (VectorType *VTy : CandidateTys)
2236 const DataLayout &DL, SmallVectorImpl<VectorType *> &CandidateTys,
2247 // Make a copy of CandidateTys and iterate through it, because we
2248 // might append to CandidateTys in the loop.
2263 return checkVectorTypesForPromotion(P, DL, CandidateTys, HaveCommonEltTy,
2280 SmallVector<VectorType *, 4> CandidateTys;
2291 if (!CandidateTys.empty()) {
2292 VectorType *V = CandidateTys[0];
2295 CandidateTys.clear();
2299 CandidateTys.push_back(VTy);
2340 SmallVector<VectorType *, 4> CandidateTysCopy = CandidateTys;
2343 CandidateTys, HaveCommonEltTy, CommonEltTy, HaveVecPtrTy,
2347 CandidateTys.clear();
2349 DeferredTys, CandidateTysCopy, CheckCandidateType, P, DL, CandidateTys,