Lines Matching refs:Args
324 CallArgList &args) {
326 CGF.CGM.getTypes().arrangeFreeFunctionCall(resultType, args,
330 return CGF.EmitCall(fnInfo, fn, ReturnValueSlot(), args);
649 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args,
665 Args.add(RValue::get(Val), ValTy);
668 Args.add(RValue::get(CGF.EmitCastToVoidPtr(Val)),
841 CallArgList Args;
844 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)),
848 Args.add(RValue::get(EmitCastToVoidPtr(Ptr.getPointer())),
875 Args.add(RValue::get(EmitCastToVoidPtr(Val1.getPointer())),
877 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val2.getPointer(),
879 Args.add(RValue::get(Order), getContext().IntTy);
889 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
900 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
918 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
929 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
940 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
951 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
962 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
972 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
990 Args.add(RValue::get(EmitCastToVoidPtr(Dest.getPointer())),
995 Args.add(RValue::get(Order),
1003 RValue Res = emitAtomicLibcall(*this, LibCallName, RetTy, Args);
1013 llvm::Value *LoadVal1 = Args[1].RV.getScalarVal();
1254 CallArgList Args;
1255 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType());
1256 Args.add(RValue::get(CGF.EmitCastToVoidPtr(getAtomicPointer())),
1258 Args.add(RValue::get(CGF.EmitCastToVoidPtr(AddForLoaded)),
1260 Args.add(RValue::get(
1263 emitAtomicLibcall(CGF, "__atomic_load", CGF.getContext().VoidTy, Args);
1457 CallArgList Args;
1458 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType());
1459 Args.add(RValue::get(CGF.EmitCastToVoidPtr(getAtomicPointer())),
1461 Args.add(RValue::get(CGF.EmitCastToVoidPtr(ExpectedAddr)),
1463 Args.add(RValue::get(CGF.EmitCastToVoidPtr(DesiredAddr)),
1465 Args.add(RValue::get(llvm::ConstantInt::get(
1468 Args.add(RValue::get(llvm::ConstantInt::get(
1472 CGF.getContext().BoolTy, Args);
1768 CallArgList args;
1769 args.add(RValue::get(atomics.getAtomicSizeValue()),
1771 args.add(RValue::get(EmitCastToVoidPtr(atomics.getAtomicPointer())),
1773 args.add(RValue::get(EmitCastToVoidPtr(srcAddr.getPointer())),
1775 args.add(RValue::get(llvm::ConstantInt::get(
1778 emitAtomicLibcall(*this, "__atomic_store", getContext().VoidTy, args);