Lines Matching refs:compStr

308   const char *compStr = CompName->getNameStart();  in CheckExtVectorComponent()  local
317 bool HexSwizzle = (*compStr == 's' || *compStr == 'S') && compStr[1]; in CheckExtVectorComponent()
326 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") || in CheckExtVectorComponent()
327 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) { in CheckExtVectorComponent()
330 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
331 bool HasRGBA = IsRGBA(*compStr); in CheckExtVectorComponent()
334 if (HasRGBA != IsRGBA(*compStr)) in CheckExtVectorComponent()
338 compStr++; in CheckExtVectorComponent()
339 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
342 if (HasRGBA || (*compStr && IsRGBA(*compStr))) { in CheckExtVectorComponent()
344 const char *DiagBegin = HasRGBA ? CompName->getNameStart() : compStr; in CheckExtVectorComponent()
351 if (HexSwizzle) compStr++; in CheckExtVectorComponent()
352 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
355 compStr++; in CheckExtVectorComponent()
359 if (!HalvingSwizzle && *compStr) { in CheckExtVectorComponent()
363 << StringRef(compStr, 1) << SourceRange(CompLoc); in CheckExtVectorComponent()
370 compStr = CompName->getNameStart(); in CheckExtVectorComponent()
373 compStr++; in CheckExtVectorComponent()
375 while (*compStr) { in CheckExtVectorComponent()
376 if (!vecType->isAccessorWithinNumElements(*compStr++, HexSwizzle)) { in CheckExtVectorComponent()