Lines Matching refs:EmitScalarExpr
88 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in EmitBinaryAtomic()
98 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in EmitBinaryAtomic()
122 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in EmitBinaryAtomicPost()
131 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in EmitBinaryAtomicPost()
242 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
293 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
310 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
327 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
348 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
364 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
377 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
381 Value *ExpectedValue = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
390 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
406 Value *Ty = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
413 return RValue::get(Builder.CreateCall2(F, EmitScalarExpr(E->getArg(0)),CI)); in EmitBuiltinExpr()
416 Value *Locality, *RW, *Address = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
418 RW = (E->getNumArgs() > 1) ? EmitScalarExpr(E->getArg(1)) : in EmitBuiltinExpr()
420 Locality = (E->getNumArgs() > 2) ? EmitScalarExpr(E->getArg(2)) : in EmitBuiltinExpr()
455 Value *Base = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
456 Value *Exponent = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
470 Value *LHS = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
471 Value *RHS = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
498 Value *V = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
505 Value *V = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
517 Value *V = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
535 Value *V = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
547 Value *V = EmitScalarExpr(E->getArg(5)); in EmitBuiltinExpr()
562 Value *ZeroLiteral = EmitScalarExpr(E->getArg(4)); in EmitBuiltinExpr()
570 Value *NanLiteral = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
581 Value *InfLiteral = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
594 Builder.CreateSelect(IsNormal, EmitScalarExpr(E->getArg(2)), in EmitBuiltinExpr()
595 EmitScalarExpr(E->getArg(3))); in EmitBuiltinExpr()
606 Value *Size = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
613 Value *SizeVal = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
624 Value *SizeVal = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr()
649 Value *Address = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
650 Value *SrcAddr = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
651 Value *SizeVal = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr()
681 Value *SizeVal = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr()
690 Value *ByteVal = Builder.CreateTrunc(EmitScalarExpr(E->getArg(1)), in EmitBuiltinExpr()
692 Value *SizeVal = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr()
706 Value *ByteVal = Builder.CreateTrunc(EmitScalarExpr(E->getArg(1)), in EmitBuiltinExpr()
728 Value *Depth = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
734 Value *Depth = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
740 Value *Address = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
745 Value *Address = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
760 Value *Address = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
766 Value *Int = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
767 Value *Ptr = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
799 Value *Ptr = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
814 Value *Buf = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
835 Value *Buf = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
948 llvm::Value *DestPtr = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
958 Args[1] = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
961 Args[2] = EmitToInt(*this, EmitScalarExpr(E->getArg(2)), T, IntType); in EmitBuiltinExpr()
975 llvm::Value *DestPtr = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
985 Args[1] = EmitToInt(*this, EmitScalarExpr(E->getArg(1)), T, IntType); in EmitBuiltinExpr()
986 Args[2] = EmitToInt(*this, EmitScalarExpr(E->getArg(2)), T, IntType); in EmitBuiltinExpr()
1016 Value *Ptr = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1048 Args.add(RValue::get(EmitScalarExpr(E->getArg(0))), in EmitBuiltinExpr()
1051 Args.add(RValue::get(EmitScalarExpr(E->getArg(1))), in EmitBuiltinExpr()
1072 Value *Ptr = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1076 Value *Order = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
1158 Value *Ptr = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1162 Value *Order = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
1222 Value *Order = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1299 Value *Base = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1300 Value *Exponent = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
1314 Value *FirstArg = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1318 EmitScalarExpr(E->getArg(1)), in EmitBuiltinExpr()
1319 EmitScalarExpr(E->getArg(2)))); in EmitBuiltinExpr()
1327 Value *Arg = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1339 llvm::Value *AnnVal = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1378 llvm::Value *X = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1379 llvm::Value *Y = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
1380 llvm::Value *Carryin = EmitScalarExpr(E->getArg(2)); in EmitBuiltinExpr()
1440 llvm::Value *X = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
1441 llvm::Value *Y = EmitScalarExpr(E->getArg(1)); in EmitBuiltinExpr()
1505 return emitLibraryCall(*this, FD, E, EmitScalarExpr(E->getCallee())); in EmitBuiltinExpr()
1531 ArgValue = EmitScalarExpr(E->getArg(i)); in EmitBuiltinExpr()
1704 return std::make_pair(EmitScalarExpr(Addr), Align); in EmitPointerWithAlignment()
1716 Ops.push_back(EmitScalarExpr(E->getArg(i))); in EmitAArch64BuiltinExpr()
1725 Ops.push_back(EmitScalarExpr(E->getArg(i))); in EmitAArch64BuiltinExpr()
1926 Ops.push_back(EmitScalarExpr(E->getArg(i))); in EmitARMBuiltinExpr()
1938 Value *LdPtr = EmitScalarExpr(E->getArg(0)); in EmitARMBuiltinExpr()
1954 Value *LoadAddr = EmitScalarExpr(E->getArg(0)); in EmitARMBuiltinExpr()
1982 Value *Val = EmitScalarExpr(E->getArg(0)); in EmitARMBuiltinExpr()
1990 Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), Int8PtrTy); in EmitARMBuiltinExpr()
1995 Value *StoreVal = EmitScalarExpr(E->getArg(0)); in EmitARMBuiltinExpr()
1996 Value *StoreAddr = EmitScalarExpr(E->getArg(1)); in EmitARMBuiltinExpr()
2081 Ops.push_back(EmitScalarExpr(E->getArg(i))); in EmitARMBuiltinExpr()
2098 return Builder.CreateExtractElement(Ops[0], EmitScalarExpr(E->getArg(1)), in EmitARMBuiltinExpr()
2110 Ops.push_back(EmitScalarExpr(E->getArg(2))); in EmitARMBuiltinExpr()
2865 Ops.push_back(EmitScalarExpr(E->getArg(i))); in EmitX86BuiltinExpr()
3098 Ops.push_back(EmitScalarExpr(E->getArg(i))); in EmitPPCBuiltinExpr()