Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Args

306                                 CallArgList &args) {
308 CGF.CGM.getTypes().arrangeBuiltinFunctionCall(resultType, args);
311 return CGF.EmitCall(fnInfo, fn, ReturnValueSlot(), args);
637 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args,
653 Args.add(RValue::get(Val), ValTy);
656 Args.add(RValue::get(CGF.EmitCastToVoidPtr(Val)),
829 CallArgList Args;
832 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)),
836 Args.add(RValue::get(EmitCastToVoidPtr(Ptr.getPointer())),
863 Args.add(RValue::get(EmitCastToVoidPtr(Val1.getPointer())),
865 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val2.getPointer(),
867 Args.add(RValue::get(Order), getContext().IntTy);
877 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
888 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
906 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
917 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
928 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
939 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
950 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
960 AddDirectArgument(*this, Args, UseOptimizedLibcall, Val1.getPointer(),
978 Args.add(RValue::get(EmitCastToVoidPtr(Dest.getPointer())),
983 Args.add(RValue::get(Order),
991 RValue Res = emitAtomicLibcall(*this, LibCallName, RetTy, Args);
1001 llvm::Value *LoadVal1 = Args[1].RV.getScalarVal();
1241 CallArgList Args;
1242 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType());
1243 Args.add(RValue::get(CGF.EmitCastToVoidPtr(getAtomicPointer())),
1245 Args.add(RValue::get(CGF.EmitCastToVoidPtr(AddForLoaded)),
1247 Args.add(
1250 emitAtomicLibcall(CGF, "__atomic_load", CGF.getContext().VoidTy, Args);
1437 CallArgList Args;
1438 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType());
1439 Args.add(RValue::get(CGF.EmitCastToVoidPtr(getAtomicPointer())),
1441 Args.add(RValue::get(CGF.EmitCastToVoidPtr(ExpectedAddr)),
1443 Args.add(RValue::get(CGF.EmitCastToVoidPtr(DesiredAddr)),
1445 Args.add(RValue::get(
1448 Args.add(RValue::get(
1452 CGF.getContext().BoolTy, Args);
1749 CallArgList args;
1750 args.add(RValue::get(atomics.getAtomicSizeValue()),
1752 args.add(RValue::get(EmitCastToVoidPtr(atomics.getAtomicPointer())),
1754 args.add(RValue::get(EmitCastToVoidPtr(srcAddr.getPointer())),
1756 args.add(
1759 emitAtomicLibcall(*this, "__atomic_store", getContext().VoidTy, args);