Lines Matching refs:CondTy
7823 QualType CondTy = Cond->getType(); in checkCondition() local
7826 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition()
7828 << CondTy << Cond->getSourceRange(); in checkCondition()
7833 if (CondTy->isScalarType()) return false; in checkCondition()
7836 << CondTy << Cond->getSourceRange(); in checkCondition()
8152 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
8156 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
8173 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
8189 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local
8190 assert(CondTy); in checkOpenCLConditionVector()
8191 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector()
8205 static bool checkVectorResult(Sema &S, QualType CondTy, QualType VecResTy, in checkVectorResult() argument
8207 const VectorType *CV = CondTy->getAs<VectorType>(); in checkVectorResult()
8213 << CondTy << VecResTy; in checkVectorResult()
8222 << CondTy << VecResTy; in checkVectorResult()
8239 QualType CondTy = Cond.get()->getType(); in OpenCLCheckVectorConditional() local
8255 if (checkVectorResult(S, CondTy, VecResTy, QuestionLoc)) in OpenCLCheckVectorConditional()
8261 return OpenCLConvertScalarsToVectors(S, LHS, RHS, CondTy, QuestionLoc); in OpenCLCheckVectorConditional()