Lines Matching defs:Args
46 // vprintf takes two args: A format string, and a pointer to a buffer containing
65 // args is itself aligned to its preferred alignment.
67 // Note that by the time this function runs, E's args have already undergone the
79 CallArgList Args;
80 EmitCallArgs(Args,
86 if (std::any_of(Args.begin() + 1, Args.end(), [&](const CallArg &A) {
93 // Construct and fill the args buffer that we'll pass to vprintf.
95 if (Args.size() <= 1) {
96 // If there are no args, pass a null pointer to vprintf.
100 for (unsigned I = 1, NumArgs = Args.size(); I < NumArgs; ++I)
101 ArgTypes.push_back(Args[I].getRValue(*this).getScalarVal()->getType());
111 for (unsigned I = 1, NumArgs = Args.size(); I < NumArgs; ++I) {
113 llvm::Value *Arg = Args[I].getRValue(*this).getScalarVal();
122 VprintfFunc, {Args[0].getRValue(*this).getScalarVal(), BufferPtr}));
139 SmallVector<llvm::Value *, 8> Args;
148 Args.push_back(Arg);
153 auto Printf = llvm::emitAMDGPUPrintfCall(IRB, Args);