Lines Matching refs:CondTy
6564 QualType CondTy = Cond->getType(); in checkCondition() local
6567 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition()
6569 << CondTy << Cond->getSourceRange(); in checkCondition()
6574 if (CondTy->isScalarType()) return false; in checkCondition()
6577 << CondTy << Cond->getSourceRange(); in checkCondition()
6893 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
6897 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
6914 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
6930 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local
6931 assert(CondTy); in checkOpenCLConditionVector()
6932 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector()
6946 static bool checkVectorResult(Sema &S, QualType CondTy, QualType VecResTy, in checkVectorResult() argument
6948 const VectorType *CV = CondTy->getAs<VectorType>(); in checkVectorResult()
6954 << CondTy << VecResTy; in checkVectorResult()
6963 << CondTy << VecResTy; in checkVectorResult()
6980 QualType CondTy = Cond.get()->getType(); in OpenCLCheckVectorConditional() local
6996 if (checkVectorResult(S, CondTy, VecResTy, QuestionLoc)) in OpenCLCheckVectorConditional()
7002 return OpenCLConvertScalarsToVectors(S, LHS, RHS, CondTy, QuestionLoc); in OpenCLCheckVectorConditional()