Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Args

97   llvm::Value *Args[2];
98 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType);
99 Args[1] = CGF.EmitScalarExpr(E->getArg(1));
100 llvm::Type *ValueType = Args[1]->getType();
101 Args[1] = EmitToInt(CGF, Args[1], T, IntType);
104 CGF.Builder.CreateAtomicRMW(Kind, Args[0], Args[1],
131 llvm::Value *Args[2];
132 Args[1] = CGF.EmitScalarExpr(E->getArg(1));
133 llvm::Type *ValueType = Args[1]->getType();
134 Args[1] = EmitToInt(CGF, Args[1], T, IntType);
135 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType);
138 CGF.Builder.CreateAtomicRMW(Kind, Args[0], Args[1],
140 Result = CGF.Builder.CreateBinOp(Op, Result, Args[1]);
968 Value *Args[3];
969 Args[0] = Builder.CreateBitCast(DestPtr, IntPtrType);
970 Args[1] = EmitScalarExpr(E->getArg(1));
971 llvm::Type *ValueType = Args[1]->getType();
972 Args[1] = EmitToInt(*this, Args[1], T, IntType);
973 Args[2] = EmitToInt(*this, EmitScalarExpr(E->getArg(2)), T, IntType);
975 Value *Result = Builder.CreateAtomicCmpXchg(Args[0], Args[1], Args[2],
997 Value *Args[3];
998 Args[0] = Builder.CreateBitCast(DestPtr, IntPtrType);
999 Args[1] = EmitToInt(*this, EmitScalarExpr(E->getArg(1)), T, IntType);
1000 Args[2] = EmitToInt(*this, EmitScalarExpr(E->getArg(2)), T, IntType);
1002 Value *Pair = Builder.CreateAtomicCmpXchg(Args[0], Args[1], Args[2],
1061 CallArgList Args;
1062 Args.add(RValue::get(EmitScalarExpr(E->getArg(0))),
1065 Args.add(RValue::get(EmitScalarExpr(E->getArg(1))),
1068 Args.add(RValue::get(llvm::Constant::getNullValue(VoidPtrTy)),
1071 CGM.getTypes().arrangeFreeFunctionCall(E->getType(), Args,
1076 return EmitCall(FuncInfo, Func, ReturnValueSlot(), Args);
1613 SmallVector<Value*, 16> Args;
1649 Args.push_back(ArgValue);
1652 Value *V = Builder.CreateCall(F, Args);
3466 SmallVector<Value*, 6> Args;
3467 Args.push_back(Ops[1]);
3468 Args.append(STy->getNumElements(), UndefValue::get(Ty));
3471 Args.push_back(CI);
3472 Args.push_back(Align);
3474 Ops[1] = Builder.CreateCall(F, Args, "vld_dup");