Lines Matching refs:Arg0
524 Expr *Arg0 = TheCall->getArg(0); in SemaOpenCLBuiltinEnqueueKernel() local
530 if (!Arg0->getType()->isQueueT()) { in SemaOpenCLBuiltinEnqueueKernel()
641 const Expr *Arg0 = Call->getArg(0); in checkOpenCLPipeArg() local
643 if (!Arg0->getType()->isPipeType()) { in checkOpenCLPipeArg()
645 << Call->getDirectCallee() << Arg0->getSourceRange(); in checkOpenCLPipeArg()
649 getOpenCLArgAccess(cast<DeclRefExpr>(Arg0)->getDecl()); in checkOpenCLPipeArg()
663 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg()
665 << "read_only" << Arg0->getSourceRange(); in checkOpenCLPipeArg()
677 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg()
679 << "write_only" << Arg0->getSourceRange(); in checkOpenCLPipeArg()
691 const Expr *Arg0 = Call->getArg(0); in checkOpenCLPipePacketType() local
693 const PipeType *PipeTy = cast<PipeType>(Arg0->getType()); in checkOpenCLPipePacketType()