Lines Matching refs:Arg0
249 Expr *Arg0 = TheCall->getArg(0); in checkBuiltinEnqueueKernel() local
255 if (!Arg0->getType()->isQueueT()) { in checkBuiltinEnqueueKernel()
365 const Expr *Arg0 = Call->getArg(0); in checkPipeArg() local
367 if (!Arg0->getType()->isPipeType()) { in checkPipeArg()
369 << Call->getDirectCallee() << Arg0->getSourceRange(); in checkPipeArg()
373 getOpenCLArgAccess(cast<DeclRefExpr>(Arg0)->getDecl()); in checkPipeArg()
387 S.Diag(Arg0->getBeginLoc(), in checkPipeArg()
389 << "read_only" << Arg0->getSourceRange(); in checkPipeArg()
401 S.Diag(Arg0->getBeginLoc(), in checkPipeArg()
403 << "write_only" << Arg0->getSourceRange(); in checkPipeArg()
415 const Expr *Arg0 = Call->getArg(0); in checkPipePacketType() local
417 const PipeType *PipeTy = cast<PipeType>(Arg0->getType()); in checkPipePacketType()