Lines Matching refs:Args
135 CallArgList &args) {
137 CGF.CGM.getTypes().arrangeFreeFunctionCall(resultType, args,
141 return CGF.EmitCall(fnInfo, fn, ReturnValueSlot(), args);
323 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args,
329 Args.add(RValue::get(Val), ValTy);
332 Args.add(RValue::get(CGF.EmitCastToVoidPtr(Val)),
466 CallArgList Args;
469 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)),
473 Args.add(RValue::get(EmitCastToVoidPtr(Ptr)),
494 Args.add(RValue::get(EmitCastToVoidPtr(Val1)),
496 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val2, MemTy);
497 Args.add(RValue::get(Order),
508 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
518 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
531 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
537 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
543 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
549 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
555 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1, MemTy);
571 Args.add(RValue::get(EmitCastToVoidPtr(Dest)),
576 Args.add(RValue::get(Order),
580 CGM.getTypes().arrangeFreeFunctionCall(RetTy, Args,
584 RValue Res = EmitCall(FuncInfo, Func, ReturnValueSlot(), Args);
747 CallArgList args;
748 args.add(RValue::get(atomics.getAtomicSizeValue()),
750 args.add(RValue::get(EmitCastToVoidPtr(src.getAddress())),
752 args.add(RValue::get(EmitCastToVoidPtr(tempAddr)),
754 args.add(RValue::get(llvm::ConstantInt::get(IntTy,
757 emitAtomicLibcall(*this, "__atomic_load", getContext().VoidTy, args);
898 CallArgList args;
899 args.add(RValue::get(atomics.getAtomicSizeValue()),
901 args.add(RValue::get(EmitCastToVoidPtr(dest.getAddress())),
903 args.add(RValue::get(EmitCastToVoidPtr(srcAddr)),
905 args.add(RValue::get(llvm::ConstantInt::get(IntTy,
908 emitAtomicLibcall(*this, "__atomic_store", getContext().VoidTy, args);