Lines Matching refs:CondTy
7882 QualType CondTy = Cond->getType(); in checkCondition() local
7885 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition()
7887 << CondTy << Cond->getSourceRange(); in checkCondition()
7892 if (CondTy->isScalarType()) return false; in checkCondition()
7895 << CondTy << Cond->getSourceRange(); in checkCondition()
8196 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
8200 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
8217 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
8233 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local
8234 assert(CondTy); in checkOpenCLConditionVector()
8235 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector()
8249 static bool checkVectorResult(Sema &S, QualType CondTy, QualType VecResTy, in checkVectorResult() argument
8251 const VectorType *CV = CondTy->getAs<VectorType>(); in checkVectorResult()
8257 << CondTy << VecResTy; in checkVectorResult()
8266 << CondTy << VecResTy; in checkVectorResult()
8283 QualType CondTy = Cond.get()->getType(); in OpenCLCheckVectorConditional() local
8305 if (checkVectorResult(S, CondTy, VecResTy, QuestionLoc)) in OpenCLCheckVectorConditional()
8311 return OpenCLConvertScalarsToVectors(S, LHS, RHS, CondTy, QuestionLoc); in OpenCLCheckVectorConditional()