Lines Matching defs:ParamTy
3976 QualType ParamTy = Param->getType();
3977 assert(!ParamTy.isNull() && "Couldn't parse type?");
3982 if (ParamTy->isVoidType()) {
3988 ParamTy = Context.IntTy;
3989 Param->setType(ParamTy);
3993 ParamTy = Context.IntTy;
3994 Param->setType(ParamTy);
3997 if (ParamTy.hasQualifiers())
4003 } else if (ParamTy->isHalfType()) {
4009 diag::err_opencl_half_param) << ParamTy;
4019 if (ParamTy->isPromotableIntegerType()) {
4020 ParamTy = Context.getPromotedIntegerType(ParamTy);
4022 } else if (const BuiltinType* BTy = ParamTy->getAs<BuiltinType>()) {
4024 ParamTy = Context.DoubleTy;
4036 ParamTys.push_back(ParamTy);