Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:ArgValue

197     Value *ArgValue = EmitVAListRef(E->getArg(0));
199 if (ArgValue->getType() != DestType)
200 ArgValue = Builder.CreateBitCast(ArgValue, DestType,
201 ArgValue->getName().data());
205 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue));
219 Value *ArgValue = EmitScalarExpr(E->getArg(0));
221 Value *NegOp = Builder.CreateNeg(ArgValue, "neg");
223 Builder.CreateICmpSGE(ArgValue,
224 llvm::Constant::getNullValue(ArgValue->getType()),
227 Builder.CreateSelect(CmpResult, ArgValue, NegOp, "abs");
234 Value *ArgValue = EmitScalarExpr(E->getArg(0));
236 llvm::Type *ArgType = ArgValue->getType();
240 Value *Result = Builder.CreateCall(F, ArgValue, "tmp");
249 Value *ArgValue = EmitScalarExpr(E->getArg(0));
251 llvm::Type *ArgType = ArgValue->getType();
255 Value *Result = Builder.CreateCall(F, ArgValue, "tmp");
265 Value *ArgValue = EmitScalarExpr(E->getArg(0));
267 llvm::Type *ArgType = ArgValue->getType();
271 Value *Tmp = Builder.CreateAdd(Builder.CreateCall(F, ArgValue, "tmp"),
274 Value *IsZero = Builder.CreateICmpEQ(ArgValue, Zero, "iszero");
285 Value *ArgValue = EmitScalarExpr(E->getArg(0));
287 llvm::Type *ArgType = ArgValue->getType();
291 Value *Tmp = Builder.CreateCall(F, ArgValue, "tmp");
302 Value *ArgValue = EmitScalarExpr(E->getArg(0));
304 llvm::Type *ArgType = ArgValue->getType();
308 Value *Result = Builder.CreateCall(F, ArgValue, "tmp");
315 Value *ArgValue = EmitScalarExpr(E->getArg(0));
316 llvm::Type *ArgType = ArgValue->getType();
321 Value *Result = Builder.CreateCall2(FnExpect, ArgValue, ExpectedValue,
327 Value *ArgValue = EmitScalarExpr(E->getArg(0));
328 llvm::Type *ArgType = ArgValue->getType();
330 return RValue::get(Builder.CreateCall(F, ArgValue, "tmp"));
1051 Value *ArgValue;
1054 ArgValue = EmitScalarExpr(E->getArg(i));
1062 ArgValue = llvm::ConstantInt::get(getLLVMContext(), Result);
1068 if (PTy != ArgValue->getType()) {
1071 ArgValue = Builder.CreateBitCast(ArgValue, PTy);
1074 Args.push_back(ArgValue);