reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
830 switch (Call->getNumArgs()) { 832 if (checkOpenCLPipeArg(S, Call)) 837 if (checkOpenCLPipePacketType(S, Call, 1)) 842 if (checkOpenCLPipeArg(S, Call)) 847 if (!Call->getArg(1)->getType()->isReserveIDT()) { 848 S.Diag(Call->getBeginLoc(), diag::err_opencl_builtin_pipe_invalid_arg) 849 << Call->getDirectCallee() << S.Context.OCLReserveIDTy 850 << Call->getArg(1)->getType() << Call->getArg(1)->getSourceRange(); 850 << Call->getArg(1)->getType() << Call->getArg(1)->getSourceRange(); 855 const Expr *Arg2 = Call->getArg(2); 858 S.Diag(Call->getBeginLoc(), diag::err_opencl_builtin_pipe_invalid_arg) 859 << Call->getDirectCallee() << S.Context.UnsignedIntTy 865 if (checkOpenCLPipePacketType(S, Call, 3)) 869 S.Diag(Call->getBeginLoc(), diag::err_opencl_builtin_pipe_arg_num) 870 << Call->getDirectCallee() << Call->getSourceRange(); 870 << Call->getDirectCallee() << Call->getSourceRange();