Lines Matching refs:EmitScalarExpr
94 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0));
104 Args[1] = CGF.EmitScalarExpr(E->getArg(1));
115 Value *Val = CGF.EmitScalarExpr(E->getArg(0));
116 Value *Address = CGF.EmitScalarExpr(E->getArg(1));
129 Value *Address = CGF.EmitScalarExpr(E->getArg(0));
156 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0));
165 Args[1] = CGF.EmitScalarExpr(E->getArg(1));
195 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0));
204 Args[1] = CGF.EmitScalarExpr(E->getArg(1));
207 Args[2] = EmitToInt(CGF, CGF.EmitScalarExpr(E->getArg(2)), T, IntType);
407 return Builder.CreateCall(F, {EmitScalarExpr(E), CI});
436 ? EmitScalarExpr(E->getArg(0))
453 Value *ArgValue = EmitScalarExpr(E->getArg(0));
468 Value *Arg1 = EmitScalarExpr(E->getArg(0));
475 Value *Arg1 = EmitScalarExpr(E->getArg(0));
476 Value *Arg2 = EmitScalarExpr(E->getArg(1));
519 Value *ArgValue = EmitScalarExpr(E->getArg(0));
536 Value *ArgValue = EmitScalarExpr(E->getArg(0));
553 Value *ArgValue = EmitScalarExpr(E->getArg(0));
574 Value *ArgValue = EmitScalarExpr(E->getArg(0));
590 Value *ArgValue = EmitScalarExpr(E->getArg(0));
606 return RValue::get(EmitScalarExpr(E->getArg(0)));
609 Value *ArgValue = EmitScalarExpr(E->getArg(0));
612 Value *ExpectedValue = EmitScalarExpr(E->getArg(1));
625 Value *PtrValue = EmitScalarExpr(E->getArg(0));
627 (E->getNumArgs() > 2) ? EmitScalarExpr(E->getArg(2)) : nullptr;
629 Value *AlignmentValue = EmitScalarExpr(E->getArg(1));
641 Value *ArgValue = EmitScalarExpr(E->getArg(0));
648 Value *ArgValue = EmitScalarExpr(E->getArg(0));
663 Value *Locality, *RW, *Address = EmitScalarExpr(E->getArg(0));
665 RW = (E->getNumArgs() > 1) ? EmitScalarExpr(E->getArg(1)) :
667 Locality = (E->getNumArgs() > 2) ? EmitScalarExpr(E->getArg(2)) :
678 Value *Begin = EmitScalarExpr(E->getArg(0));
679 Value *End = EmitScalarExpr(E->getArg(1));
706 Value *Base = EmitScalarExpr(E->getArg(0));
707 Value *Exponent = EmitScalarExpr(E->getArg(1));
721 Value *LHS = EmitScalarExpr(E->getArg(0));
722 Value *RHS = EmitScalarExpr(E->getArg(1));
749 Value *V = EmitScalarExpr(E->getArg(0));
756 Value *V = EmitScalarExpr(E->getArg(0));
765 Value *Arg = EmitScalarExpr(E->getArg(0));
782 Value *V = EmitScalarExpr(E->getArg(0));
800 Value *V = EmitScalarExpr(E->getArg(0));
812 Value *V = EmitScalarExpr(E->getArg(5));
827 Value *ZeroLiteral = EmitScalarExpr(E->getArg(4));
835 Value *NanLiteral = EmitScalarExpr(E->getArg(0));
846 Value *InfLiteral = EmitScalarExpr(E->getArg(1));
859 Builder.CreateSelect(IsNormal, EmitScalarExpr(E->getArg(2)),
860 EmitScalarExpr(E->getArg(3)));
872 Value *Size = EmitScalarExpr(E->getArg(0));
878 Value *SizeVal = EmitScalarExpr(E->getArg(1));
888 Value *SizeVal = EmitScalarExpr(E->getArg(2));
915 Value *SizeVal = EmitScalarExpr(E->getArg(2));
940 Value *SizeVal = EmitScalarExpr(E->getArg(2));
951 Value *ByteVal = Builder.CreateTrunc(EmitScalarExpr(E->getArg(1)),
953 Value *SizeVal = EmitScalarExpr(E->getArg(2));
968 Value *ByteVal = Builder.CreateTrunc(EmitScalarExpr(E->getArg(1)),
1002 Value *Address = EmitScalarExpr(E->getArg(0));
1007 Value *Address = EmitScalarExpr(E->getArg(0));
1022 Value *Address = EmitScalarExpr(E->getArg(0));
1028 Value *Int = EmitScalarExpr(E->getArg(0));
1029 Value *Ptr = EmitScalarExpr(E->getArg(1));
1061 Value *Ptr = EmitScalarExpr(E->getArg(0));
1097 Value *Buf = EmitScalarExpr(E->getArg(0));
1252 Value *Ptr = EmitScalarExpr(E->getArg(0));
1288 Args.add(RValue::get(EmitScalarExpr(E->getArg(0))),
1291 Args.add(RValue::get(EmitScalarExpr(E->getArg(1))),
1312 Value *Ptr = EmitScalarExpr(E->getArg(0));
1316 Value *Order = EmitScalarExpr(E->getArg(1));
1402 Value *Order = EmitScalarExpr(E->getArg(1));
1460 Value *Order = EmitScalarExpr(E->getArg(0));
1532 Value *Arg0 = EmitScalarExpr(E->getArg(0));
1547 Value *Base = EmitScalarExpr(E->getArg(0));
1548 Value *Exponent = EmitScalarExpr(E->getArg(1));
1561 Value *FirstArg = EmitScalarExpr(E->getArg(0));
1565 Builder.CreateCall(F, {FirstArg, EmitScalarExpr(E->getArg(1)),
1566 EmitScalarExpr(E->getArg(2))}));
1573 Builder.CreateZExt(EmitSignBit(*this, EmitScalarExpr(E->getArg(0))),
1577 llvm::Value *AnnVal = EmitScalarExpr(E->getArg(0));
1616 llvm::Value *X = EmitScalarExpr(E->getArg(0));
1617 llvm::Value *Y = EmitScalarExpr(E->getArg(1));
1618 llvm::Value *Carryin = EmitScalarExpr(E->getArg(2));
1699 llvm::Value *Left = EmitScalarExpr(LeftArg);
1700 llvm::Value *Right = EmitScalarExpr(RightArg);
1757 llvm::Value *X = EmitScalarExpr(E->getArg(0));
1758 llvm::Value *Y = EmitScalarExpr(E->getArg(1));
1819 EmitScalarExpr(Call->getCallee()), Call, ReturnValue,
1820 Call->getCalleeDecl(), EmitScalarExpr(Chain));
1833 Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), IntPtrType);
1835 llvm::Value *Exchange = EmitScalarExpr(E->getArg(1));
1840 Builder.CreatePtrToInt(EmitScalarExpr(E->getArg(2)), IntType);
1853 EmitScalarExpr(E->getArg(0)),
1854 EmitScalarExpr(E->getArg(2)),
1855 EmitScalarExpr(E->getArg(1)),
1864 EmitScalarExpr(E->getArg(0)),
1873 EmitScalarExpr(E->getArg(0)),
1882 EmitScalarExpr(E->getArg(0)),
1883 EmitScalarExpr(E->getArg(1)),
1890 Builder.CreateIntToPtr(EmitScalarExpr(E->getArg(0)),
1916 EmitScalarExpr(E->getArg(0)), Int8PtrTy);
1933 EmitScalarExpr(E->getArg(0)), Int8PtrTy);
1978 return emitLibraryCall(*this, FD, E, EmitScalarExpr(E->getCallee()));
2017 ArgValue = EmitScalarExpr(E->getArg(i));
3493 llvm::Value *ArgValue = CGF.EmitScalarExpr(E->getArg(1));
3571 Value *Option = EmitScalarExpr(E->getArg(0));
3576 Value *Address = EmitScalarExpr(E->getArg(0));
3577 Value *RW = EmitScalarExpr(E->getArg(1));
3578 Value *IsData = EmitScalarExpr(E->getArg(2));
3589 EmitScalarExpr(E->getArg(0)),
3598 Ops[i] = EmitScalarExpr(E->getArg(i));
3624 Value *LdPtr = EmitScalarExpr(E->getArg(0));
3641 Value *LoadAddr = EmitScalarExpr(E->getArg(0));
3673 Value *Val = EmitScalarExpr(E->getArg(0));
3681 Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), Int8PtrTy);
3687 Value *StoreVal = EmitScalarExpr(E->getArg(0));
3688 Value *StoreAddr = EmitScalarExpr(E->getArg(1));
3734 Value *Arg0 = EmitScalarExpr(E->getArg(0));
3735 Value *Arg1 = EmitScalarExpr(E->getArg(1));
3862 Ops.push_back(EmitScalarExpr(E->getArg(i)));
4338 Value *Address = EmitScalarExpr(E->getArg(0));
4339 Value *RW = EmitScalarExpr(E->getArg(1));
4340 Value *CacheLevel = EmitScalarExpr(E->getArg(2));
4341 Value *RetentionPolicy = EmitScalarExpr(E->getArg(3));
4342 Value *IsData = EmitScalarExpr(E->getArg(4));
4363 llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
4370 llvm::Value *Arg = EmitScalarExpr(E->getArg(0));
4380 Ops[i] = EmitScalarExpr(E->getArg(i));
4394 Value *LdPtr = EmitScalarExpr(E->getArg(0));
4410 Value *LoadAddr = EmitScalarExpr(E->getArg(0));
4447 Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)),
4454 Value *StoreVal = EmitScalarExpr(E->getArg(0));
4455 Value *StoreAddr = EmitScalarExpr(E->getArg(1));
4508 Value *Arg0 = EmitScalarExpr(E->getArg(0));
4509 Value *Arg1 = EmitScalarExpr(E->getArg(1));
4558 Ops.push_back(EmitScalarExpr(E->getArg(i)));
4575 Ops.push_back(EmitScalarExpr(E->getArg(E->getNumArgs() - 1)));
4596 Value *Ptr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), Int128PTy);
4602 return Builder.CreateDefaultAlignedStore(EmitScalarExpr(E->getArg(1)), Ptr);
4610 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4625 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4636 Value *Vec = EmitScalarExpr(E->getArg(0));
4649 Value *Vec = EmitScalarExpr(E->getArg(0));
4662 Value *Vec = EmitScalarExpr(E->getArg(0));
4675 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4682 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4689 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4696 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4703 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4709 Ops.push_back(EmitScalarExpr(E->getArg(0)));
4729 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4749 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4779 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4787 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4805 Ops.push_back(EmitScalarExpr(E->getArg(2)));
4811 Ops.push_back(EmitScalarExpr(E->getArg(2)));
4817 Ops.push_back(EmitScalarExpr(E->getArg(2)));
4823 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4828 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4833 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4838 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4843 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4848 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4853 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4858 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4863 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4868 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4873 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4878 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4884 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4890 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)),
4894 return Builder.CreateAdd(Ops[0], EmitScalarExpr(E->getArg(1)), "vaddd");
4897 return Builder.CreateSub(Ops[0], EmitScalarExpr(E->getArg(1)), "vsubd");
4902 ProductOps.push_back(vectorWrapScalar16(EmitScalarExpr(E->getArg(2))));
4915 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4925 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4934 Ops.push_back(EmitScalarExpr(E->getArg(1)));
4945 EmitScalarExpr(E->getArg(2))));
4952 llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
4957 llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
4964 llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(1)));
4973 llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(2)));
4981 llvm::ConstantInt *Amt = cast<ConstantInt>(EmitScalarExpr(E->getArg(2)));
4995 Ops[2] = Builder.CreateExtractElement(Ops[2], EmitScalarExpr(E->getArg(3)),
5017 ProductOps.push_back(EmitScalarExpr(E->getArg(2)));
5031 Ops[2] = Builder.CreateExtractElement(Ops[2], EmitScalarExpr(E->getArg(3)),
5147 Ops.push_back(EmitScalarExpr(E->getArg(3)));
5229 Ops.push_back(EmitScalarExpr(E->getArg(1)));
5234 Ops.push_back(EmitScalarExpr(E->getArg(1)));
5411 return Builder.CreateNeg(EmitScalarExpr(E->getArg(0)), "vnegd");
5442 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5454 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5466 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5478 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5487 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5496 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5505 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5514 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5523 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5532 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5541 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5550 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5559 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5568 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5577 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5586 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5595 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5604 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5613 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5622 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5628 Value *RHS = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), DoubleTy);
5636 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5645 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5653 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5662 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5670 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5679 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5687 Ops.push_back(EmitScalarExpr(E->getArg(0)));
5696 Ops.push_back(EmitScalarExpr(E->getArg(0)));
6151 Ops.push_back(EmitScalarExpr(E->getArg(i)));
6652 Ops.push_back(EmitScalarExpr(E->getArg(i)));
6758 Value *X = EmitScalarExpr(E->getArg(0));
6769 Value *X = EmitScalarExpr(E->getArg(0));
6778 Value *X = EmitScalarExpr(E->getArg(0));
6779 Value *Y = EmitScalarExpr(E->getArg(1));
6796 Value *X = EmitScalarExpr(E->getArg(0));
6825 Value *X = EmitScalarExpr(E->getArg(0));
6826 Value *Y = EmitScalarExpr(E->getArg(1));
6827 Value *Z = EmitScalarExpr(E->getArg(2));
6858 llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
6868 llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
6869 llvm::Value *Src1 = CGF.EmitScalarExpr(E->getArg(1));
6870 llvm::Value *Src2 = CGF.EmitScalarExpr(E->getArg(2));
6880 llvm::Value *Src0 = CGF.EmitScalarExpr(E->getArg(0));
6881 llvm::Value *Src1 = CGF.EmitScalarExpr(E->getArg(1));
6897 llvm::Value *X = EmitScalarExpr(E->getArg(0));
6898 llvm::Value *Y = EmitScalarExpr(E->getArg(1));
6899 llvm::Value *Z = EmitScalarExpr(E->getArg(2));
6918 llvm::Value *Src0 = EmitScalarExpr(E->getArg(0));
6919 llvm::Value *Src1 = EmitScalarExpr(E->getArg(1));
6920 llvm::Value *Src2 = EmitScalarExpr(E->getArg(2));
6921 llvm::Value *Src3 = EmitScalarExpr(E->getArg(3));
6963 Args[I] = CGF.EmitScalarExpr(E->getArg(I));
6976 Value *TDB = EmitScalarExpr(E->getArg(0));
6982 Value *TDB = EmitScalarExpr(E->getArg(0));
6994 Value *Data = EmitScalarExpr(E->getArg(0));
6999 Value *Address = EmitScalarExpr(E->getArg(0));
7000 Value *Data = EmitScalarExpr(E->getArg(1));
7015 Value *X = EmitScalarExpr(E->getArg(0));
7025 Value *X = EmitScalarExpr(E->getArg(0));
7036 Value *X = EmitScalarExpr(E->getArg(0));
7044 Value *X = EmitScalarExpr(E->getArg(0));
7050 Value *X = EmitScalarExpr(E->getArg(0));
7051 Value *Y = EmitScalarExpr(E->getArg(1));
7052 Value *Z = EmitScalarExpr(E->getArg(2));
7058 Value *X = EmitScalarExpr(E->getArg(0));
7059 Value *Y = EmitScalarExpr(E->getArg(1));
7060 Value *Z = EmitScalarExpr(E->getArg(2));
7067 Value *X = EmitScalarExpr(E->getArg(0));
7073 Value *X = EmitScalarExpr(E->getArg(0));
7080 Value *X = EmitScalarExpr(E->getArg(0));
7258 Value *Ptr = EmitScalarExpr(E->getArg(0));
7259 Value *Val = EmitScalarExpr(E->getArg(1));
7281 Value *X = EmitScalarExpr(E->getArg(0));