Lines Matching refs:CondTy
8733 QualType CondTy = Cond->getType(); in checkCondition() local
8736 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition()
8738 << CondTy << Cond->getSourceRange(); in checkCondition()
8743 if (CondTy->isScalarType()) return false; in checkCondition()
8746 << CondTy << Cond->getSourceRange(); in checkCondition()
9047 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
9051 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
9068 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
9084 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local
9085 assert(CondTy); in checkOpenCLConditionVector()
9086 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector()
9100 static bool checkVectorResult(Sema &S, QualType CondTy, QualType VecResTy, in checkVectorResult() argument
9102 const VectorType *CV = CondTy->getAs<VectorType>(); in checkVectorResult()
9108 << CondTy << VecResTy; in checkVectorResult()
9117 << CondTy << VecResTy; in checkVectorResult()
9134 QualType CondTy = Cond.get()->getType(); in OpenCLCheckVectorConditional() local
9156 if (checkVectorResult(S, CondTy, VecResTy, QuestionLoc)) in OpenCLCheckVectorConditional()
9162 return OpenCLConvertScalarsToVectors(S, LHS, RHS, CondTy, QuestionLoc); in OpenCLCheckVectorConditional()