• Home
  • Raw
  • Download

Lines Matching refs:CreateBitCast

153   Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType);  in MakeBinaryAtomicValue()
169 Value *BC = CGF.Builder.CreateBitCast( in EmitNontemporalStore()
217 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in EmitBinaryAtomicPost()
255 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in MakeAtomicCmpXchgValue()
348 Destination = CGF.Builder.CreateBitCast(Destination, Int128PtrTy); in EmitAtomicCmpXchg128ForMSIntrin()
349 Address ComparandResult(CGF.Builder.CreateBitCast(ComparandPtr, Int128PtrTy), in EmitAtomicCmpXchg128ForMSIntrin()
413 Ptr = CGF.Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitISOVolatileLoad()
427 Ptr = CGF.Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitISOVolatileStore()
589 V = CGF.Builder.CreateBitCast(V, IntTy); in EmitSignBit()
703 Builder.CreateBitCast(ArgValue, DestType, ArgValue->getName().data()); in EmitVAStartEnd()
1735 Addr = Builder.CreateBitCast(Addr, Arg.getPointer()->getType(), in generateBuiltinOSLogHelperFunction()
2419 DstPtr = Builder.CreateBitCast(DstPtr, Type); in EmitBuiltinExpr()
2420 SrcPtr = Builder.CreateBitCast(SrcPtr, Type); in EmitBuiltinExpr()
2767 ArgValue = Builder.CreateBitCast(ArgValue, ConvertType(ArgType)); in EmitBuiltinExpr()
3389 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr()
3394 Buf = Builder.CreateBitCast(Buf, Int8PtrTy); in EmitBuiltinExpr()
3562 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr()
3618 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace)); in EmitBuiltinExpr()
3701 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace)); in EmitBuiltinExpr()
4130 Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), IntPtrType); in EmitBuiltinExpr()
4829 DestAddr = Address(Builder.CreateBitCast(DestAddr.getPointer(), BPP, "cp"), in EmitBuiltinExpr()
4831 SrcAddr = Address(Builder.CreateBitCast(SrcAddr.getPointer(), BPP, "ap"), in EmitBuiltinExpr()
4918 ArgValue = Builder.CreateBitCast(ArgValue, PTy); in EmitBuiltinExpr()
4942 V = Builder.CreateBitCast(V, RetTy); in EmitBuiltinExpr()
5113 Ops[j] = Builder.CreateBitCast(Ops[j], ai->getType(), name); in EmitNeonCall()
5137 Vec = Builder.CreateBitCast(Vec, Ty); in EmitNeonRShiftImm()
6071 return CGF.Builder.CreateBitCast(Result, ResultType, s); in EmitCommonNeonSISDBuiltinExpr()
6120 Ops[0] = Builder.CreateBitCast(Ops[0], VTy); in EmitCommonNeonBuiltinExpr()
6140 Ops[0] = Builder.CreateBitCast(Ops[0], SrcTy); in EmitCommonNeonBuiltinExpr()
6141 Ops[1] = Builder.CreateBitCast(Ops[1], SrcTy); in EmitCommonNeonBuiltinExpr()
6208 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6215 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6259 Ops[0] = Builder.CreateBitCast(Ops[0], GetFloatNeonType(this, Type)); in EmitCommonNeonBuiltinExpr()
6326 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6327 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitCommonNeonBuiltinExpr()
6332 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6333 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitCommonNeonBuiltinExpr()
6334 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitCommonNeonBuiltinExpr()
6354 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitCommonNeonBuiltinExpr()
6359 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6379 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6386 PtrOp0 = Builder.CreateBitCast(PtrOp0, Ty); in EmitCommonNeonBuiltinExpr()
6401 Ops[I] = Builder.CreateBitCast(Ops[I], Ty); in EmitCommonNeonBuiltinExpr()
6405 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6411 Ops[0] = Builder.CreateBitCast(Ops[0], DTy); in EmitCommonNeonBuiltinExpr()
6419 Ops[0] = Builder.CreateBitCast(Ops[0], QTy); in EmitCommonNeonBuiltinExpr()
6510 return Builder.CreateShl(Builder.CreateBitCast(Ops[0],Ty), Ops[1], in EmitCommonNeonBuiltinExpr()
6515 Ops[0] = Builder.CreateBitCast(Ops[0], SrcTy); in EmitCommonNeonBuiltinExpr()
6526 Ops[0] = Builder.CreateBitCast(Ops[0], SrcTy); in EmitCommonNeonBuiltinExpr()
6578 Ops[0] = Builder.CreateBitCast(Ops[0], SrcTy); in EmitCommonNeonBuiltinExpr()
6579 Ops[1] = Builder.CreateBitCast(Ops[1], SrcTy); in EmitCommonNeonBuiltinExpr()
6592 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(Ty)); in EmitCommonNeonBuiltinExpr()
6593 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitCommonNeonBuiltinExpr()
6594 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitCommonNeonBuiltinExpr()
6611 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitCommonNeonBuiltinExpr()
6612 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitCommonNeonBuiltinExpr()
6620 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(Ty)); in EmitCommonNeonBuiltinExpr()
6621 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitCommonNeonBuiltinExpr()
6622 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitCommonNeonBuiltinExpr()
6638 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(Ty)); in EmitCommonNeonBuiltinExpr()
6639 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitCommonNeonBuiltinExpr()
6640 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitCommonNeonBuiltinExpr()
6735 return Builder.CreateBitCast(Result, ResultType, NameHint); in EmitCommonNeonBuiltinExpr()
6750 Op = Builder.CreateBitCast(Op, OTy); in EmitAArch64CompareBuiltinExpr()
7087 return Builder.CreateBitCast(RtAndRt2, ConvertType(E->getType())); in EmitARMBuiltinExpr()
7110 Value *Val = Builder.CreateCall(F, Builder.CreateBitCast(LdPtr, Int8PtrTy), in EmitARMBuiltinExpr()
7121 return Builder.CreateBitCast(Val, ConvertType(E->getType())); in EmitARMBuiltinExpr()
7132 LoadAddr = Builder.CreateBitCast(LoadAddr, PtrTy); in EmitARMBuiltinExpr()
7146 return Builder.CreateBitCast(Val, RealResTy); in EmitARMBuiltinExpr()
7163 Address LdPtr = Builder.CreateBitCast(Tmp,llvm::PointerType::getUnqual(STy)); in EmitARMBuiltinExpr()
7168 Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), Int8PtrTy); in EmitARMBuiltinExpr()
7180 StoreAddr = Builder.CreateBitCast(StoreAddr, StoreTy->getPointerTo()); in EmitARMBuiltinExpr()
7188 StoreVal = Builder.CreateBitCast(StoreVal, IntTy); in EmitARMBuiltinExpr()
7503 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitARMBuiltinExpr()
7519 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitARMBuiltinExpr()
7548 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitARMBuiltinExpr()
7549 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitARMBuiltinExpr()
7565 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitARMBuiltinExpr()
7572 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitARMBuiltinExpr()
7582 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitARMBuiltinExpr()
7585 auto St = Builder.CreateStore(Ops[1], Builder.CreateBitCast(PtrOp0, Ty)); in EmitARMBuiltinExpr()
7679 return Builder.CreateBitCast(V, DestType); in ARMMVEVectorReinterpret()
7999 Op = Builder.CreateBitCast(Op, Int16Ty); in vectorWrapScalar16()
8338 Value *BasePtr= Builder.CreateBitCast(Ops[1], VecPtrTy); in EmitSVEStructLoad()
8341 BasePtr = Builder.CreateBitCast(BasePtr, EltPtrTy); in EmitSVEStructLoad()
8372 Value *BasePtr = Builder.CreateBitCast(Ops[1], VecPtrTy); in EmitSVEStructStore()
8376 BasePtr = Builder.CreateBitCast(BasePtr, EltPtrTy); in EmitSVEStructStore()
8431 BasePtr = Builder.CreateBitCast(BasePtr, MemoryTy->getPointerTo()); in EmitSVEPrefetchLoad()
8436 BasePtr = Builder.CreateBitCast(BasePtr, llvm::PointerType::getUnqual(Int8Ty)); in EmitSVEPrefetchLoad()
8458 Value *BasePtr = Builder.CreateBitCast(Ops[1], MemoryTy->getPointerTo()); in EmitSVEMaskedLoad()
8462 BasePtr = Builder.CreateBitCast(BasePtr, MemEltTy->getPointerTo()); in EmitSVEMaskedLoad()
8483 Value *BasePtr = Builder.CreateBitCast(Ops[1], MemoryTy->getPointerTo()); in EmitSVEMaskedStore()
8490 BasePtr = Builder.CreateBitCast(BasePtr, MemEltTy->getPointerTo()); in EmitSVEMaskedStore()
8513 return Builder.CreateBitCast(Val, Ty); in EmitSVEReinterpret()
8950 Value *Val = Builder.CreateCall(F, Builder.CreateBitCast(LdPtr, Int8PtrTy), in EmitAArch64BuiltinExpr()
8962 return Builder.CreateBitCast(Val, ConvertType(E->getType())); in EmitAArch64BuiltinExpr()
8971 LoadAddr = Builder.CreateBitCast(LoadAddr, PtrTy); in EmitAArch64BuiltinExpr()
8985 return Builder.CreateBitCast(Val, RealResTy); in EmitAArch64BuiltinExpr()
8999 Tmp = Builder.CreateBitCast(Tmp, llvm::PointerType::getUnqual(STy)); in EmitAArch64BuiltinExpr()
9004 Value *StPtr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), in EmitAArch64BuiltinExpr()
9017 StoreAddr = Builder.CreateBitCast(StoreAddr, StoreTy->getPointerTo()); in EmitAArch64BuiltinExpr()
9025 StoreVal = Builder.CreateBitCast(StoreVal, IntTy); in EmitAArch64BuiltinExpr()
9325 Value *Ptr = Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), Int128PTy); in EmitAArch64BuiltinExpr()
9331 Value *Ptr = Builder.CreateBitCast(Ops[0], Int128PTy); in EmitAArch64BuiltinExpr()
9344 Ops[0] = Builder.CreateBitCast(Ops[0], InTy); in EmitAArch64BuiltinExpr()
9366 Ops[0] = Builder.CreateBitCast(Ops[0], InTy); in EmitAArch64BuiltinExpr()
9476 Vec = Builder.CreateBitCast(Vec, Ty, "v2i64"); in EmitAArch64BuiltinExpr()
9488 Vec = Builder.CreateBitCast(Vec, Ty, "v2f64"); in EmitAArch64BuiltinExpr()
9500 Vec = Builder.CreateBitCast(Vec, Ty, "v2f32"); in EmitAArch64BuiltinExpr()
9551 Ops[0] = Builder.CreateBitCast(Ops[0], Int64Ty); in EmitAArch64BuiltinExpr()
9571 Ops[0] = Builder.CreateBitCast(Ops[0], DoubleTy); in EmitAArch64BuiltinExpr()
9572 Ops[1] = Builder.CreateBitCast(Ops[1], DoubleTy); in EmitAArch64BuiltinExpr()
9591 Ops[0] = Builder.CreateBitCast(Ops[0], FloatTy); in EmitAArch64BuiltinExpr()
9592 Ops[1] = Builder.CreateBitCast(Ops[1], FloatTy); in EmitAArch64BuiltinExpr()
9611 Ops[0] = Builder.CreateBitCast(Ops[0], HalfTy); in EmitAArch64BuiltinExpr()
9612 Ops[1] = Builder.CreateBitCast(Ops[1], HalfTy); in EmitAArch64BuiltinExpr()
9641 Ops[0] = Builder.CreateBitCast(Ops[0], Int64Ty); in EmitAArch64BuiltinExpr()
9642 Ops[1] = Builder.CreateBitCast(Ops[1], Int64Ty); in EmitAArch64BuiltinExpr()
9649 Ops[0] = Builder.CreateBitCast(Ops[0], Int64Ty); in EmitAArch64BuiltinExpr()
9650 Ops[1] = Builder.CreateBitCast(Ops[1], Int64Ty); in EmitAArch64BuiltinExpr()
9673 Builder.CreateBitCast(Ops[1], llvm::FixedVectorType::get(DoubleTy, 1)); in EmitAArch64BuiltinExpr()
9679 Builder.CreateBitCast(Ops[1], llvm::FixedVectorType::get(DoubleTy, 2)); in EmitAArch64BuiltinExpr()
9686 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int8Ty, 8)); in EmitAArch64BuiltinExpr()
9692 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int8Ty, 16)); in EmitAArch64BuiltinExpr()
9698 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int16Ty, 4)); in EmitAArch64BuiltinExpr()
9704 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int16Ty, 8)); in EmitAArch64BuiltinExpr()
9710 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int32Ty, 2)); in EmitAArch64BuiltinExpr()
9715 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(FloatTy, 2)); in EmitAArch64BuiltinExpr()
9721 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int32Ty, 4)); in EmitAArch64BuiltinExpr()
9727 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int64Ty, 1)); in EmitAArch64BuiltinExpr()
9732 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(DoubleTy, 1)); in EmitAArch64BuiltinExpr()
9738 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int64Ty, 2)); in EmitAArch64BuiltinExpr()
9743 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(FloatTy, 2)); in EmitAArch64BuiltinExpr()
9748 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(DoubleTy, 1)); in EmitAArch64BuiltinExpr()
9754 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(FloatTy, 4)); in EmitAArch64BuiltinExpr()
9760 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(DoubleTy, 2)); in EmitAArch64BuiltinExpr()
9842 Ops[1] = Builder.CreateBitCast(Ops[1], Int64Ty); in EmitAArch64BuiltinExpr()
9846 return Builder.CreateAdd(Ops[0], Builder.CreateBitCast(Ops[1], Int64Ty)); in EmitAArch64BuiltinExpr()
9993 Ops[0] = Builder.CreateBitCast(Ops[0], BitTy, "vbsl"); in EmitAArch64BuiltinExpr()
9994 Ops[1] = Builder.CreateBitCast(Ops[1], BitTy, "vbsl"); in EmitAArch64BuiltinExpr()
9995 Ops[2] = Builder.CreateBitCast(Ops[2], BitTy, "vbsl"); in EmitAArch64BuiltinExpr()
10000 return Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10020 Ops[1] = Builder.CreateBitCast(Ops[1], SourceTy); in EmitAArch64BuiltinExpr()
10032 Ops[0] = Builder.CreateBitCast(Ops[0], DoubleTy); in EmitAArch64BuiltinExpr()
10033 Ops[1] = Builder.CreateBitCast(Ops[1], DoubleTy); in EmitAArch64BuiltinExpr()
10036 Ops[2] = Builder.CreateBitCast(Ops[2], VTy); in EmitAArch64BuiltinExpr()
10042 return Builder.CreateBitCast(Result, Ty); in EmitAArch64BuiltinExpr()
10044 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10045 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10049 Ops[2] = Builder.CreateBitCast(Ops[2], STy); in EmitAArch64BuiltinExpr()
10059 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10060 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10062 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
10127 llvm::Value *addend = Builder.CreateBitCast(Ops[0], tmp->getType()); in EmitAArch64BuiltinExpr()
10280 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10288 Ops[0] = Builder.CreateBitCast(Ops[0], GetNeonType(this, SrcFlag)); in EmitAArch64BuiltinExpr()
10296 Ops[0] = Builder.CreateBitCast(Ops[0], GetNeonType(this, SrcFlag)); in EmitAArch64BuiltinExpr()
10402 Ops[0] = Builder.CreateBitCast(Ops[0], DoubleTy); in EmitAArch64BuiltinExpr()
10405 Ops[1] = Builder.CreateBitCast(Ops[1], VTy); in EmitAArch64BuiltinExpr()
10408 return Builder.CreateBitCast(Result, Ty); in EmitAArch64BuiltinExpr()
10436 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10710 Ops[0] = Builder.CreateBitCast(Ops[0], DoubleTy); in EmitAArch64BuiltinExpr()
10711 Value *RHS = Builder.CreateBitCast(EmitScalarExpr(E->getArg(1)), DoubleTy); in EmitAArch64BuiltinExpr()
10796 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10807 Ops[0] = Builder.CreateBitCast(Ops[0], VTy); in EmitAArch64BuiltinExpr()
10812 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(VTy)); in EmitAArch64BuiltinExpr()
10817 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(VTy)); in EmitAArch64BuiltinExpr()
10818 Ops[1] = Builder.CreateBitCast(Ops[1], VTy); in EmitAArch64BuiltinExpr()
10822 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10824 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10833 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10842 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10845 return Builder.CreateAlignedStore(Ops[1], Builder.CreateBitCast(Ops[0], Ty), in EmitAArch64BuiltinExpr()
10850 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitAArch64BuiltinExpr()
10854 Ops[0] = Builder.CreateBitCast(Ops[0], in EmitAArch64BuiltinExpr()
10861 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitAArch64BuiltinExpr()
10865 Ops[0] = Builder.CreateBitCast(Ops[0], in EmitAArch64BuiltinExpr()
10872 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitAArch64BuiltinExpr()
10876 Ops[0] = Builder.CreateBitCast(Ops[0], in EmitAArch64BuiltinExpr()
10884 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitAArch64BuiltinExpr()
10888 Ops[0] = Builder.CreateBitCast(Ops[0], in EmitAArch64BuiltinExpr()
10896 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitAArch64BuiltinExpr()
10900 Ops[0] = Builder.CreateBitCast(Ops[0], in EmitAArch64BuiltinExpr()
10908 Ops[1] = Builder.CreateBitCast(Ops[1], PTy); in EmitAArch64BuiltinExpr()
10912 Ops[0] = Builder.CreateBitCast(Ops[0], in EmitAArch64BuiltinExpr()
10921 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10922 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
10926 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10934 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10935 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
10936 Ops[3] = Builder.CreateBitCast(Ops[3], Ty); in EmitAArch64BuiltinExpr()
10940 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
10948 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
10949 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
10950 Ops[3] = Builder.CreateBitCast(Ops[3], Ty); in EmitAArch64BuiltinExpr()
10951 Ops[4] = Builder.CreateBitCast(Ops[4], Ty); in EmitAArch64BuiltinExpr()
10955 Ops[0] = Builder.CreateBitCast(Ops[0], Ty); in EmitAArch64BuiltinExpr()
11005 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(Ty)); in EmitAArch64BuiltinExpr()
11006 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
11007 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
11024 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(Ty)); in EmitAArch64BuiltinExpr()
11025 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
11026 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
11042 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(Ty)); in EmitAArch64BuiltinExpr()
11043 Ops[1] = Builder.CreateBitCast(Ops[1], Ty); in EmitAArch64BuiltinExpr()
11044 Ops[2] = Builder.CreateBitCast(Ops[2], Ty); in EmitAArch64BuiltinExpr()
11245 Value *MaskVec = CGF.Builder.CreateBitCast(Mask, MaskTy); in getMaskVecValue()
11263 Value *Ptr = CGF.Builder.CreateBitCast(Ops[0], in EmitX86MaskedStore()
11276 Value *Ptr = CGF.Builder.CreateBitCast(Ops[0], in EmitX86MaskedLoad()
11292 Value *Ptr = CGF.Builder.CreateBitCast(Ops[0], in EmitX86ExpandLoad()
11322 Value *Ptr = CGF.Builder.CreateBitCast(Ops[0], in EmitX86CompressStore()
11342 return CGF.Builder.CreateBitCast(CGF.Builder.CreateBinOp(Opc, LHS, RHS), in EmitX86MaskLogic()
11427 Mask = CGF.Builder.CreateBitCast(Mask, MaskTy); in EmitX86ScalarSelect()
11450 return CGF.Builder.CreateBitCast(Cmp, in EmitX86MaskedCompareResult()
11665 Value *LHS = CGF.Builder.CreateBitCast(Ops[0], Ty); in EmitX86Muldq()
11666 Value *RHS = CGF.Builder.CreateBitCast(Ops[1], Ty); in EmitX86Muldq()
11765 Src = CGF.Builder.CreateBitCast(Src, HalfTy); in EmitX86CvtF16ToFloatExpr()
11783 Value *BitCast = CGF.Builder.CreateBitCast(Shl, ResultType); in EmitX86CvtBF16ToFloatExpr()
11984 return Builder.CreateBitCast(Sext, FPVecTy); in EmitX86BuiltinExpr()
12047 return Builder.CreateBitCast(BuildVector(Ops), in EmitX86BuiltinExpr()
12088 Builder.CreateBitCast(Tmp.getPointer(), Int8PtrTy)); in EmitX86BuiltinExpr()
12094 Builder.CreateBitCast(Tmp.getPointer(), Int8PtrTy)); in EmitX86BuiltinExpr()
13033 Value *Cast = Builder.CreateBitCast(Ops[0], VecTy, "cast"); in EmitX86BuiltinExpr()
13038 return Builder.CreateBitCast(SV, Ops[0]->getType(), "cast"); in EmitX86BuiltinExpr()
13063 Value *Cast = Builder.CreateBitCast(Ops[0], VecTy, "cast"); in EmitX86BuiltinExpr()
13068 return Builder.CreateBitCast(SV, ResultType, "cast"); in EmitX86BuiltinExpr()
13090 return Builder.CreateBitCast(SV, Ops[0]->getType()); in EmitX86BuiltinExpr()
13112 return Builder.CreateBitCast(SV, Ops[0]->getType()); in EmitX86BuiltinExpr()
13130 Value *BC = Builder.CreateBitCast( in EmitX86BuiltinExpr()
13330 return Builder.CreateBitCast(Res, Ops[0]->getType()); in EmitX86BuiltinExpr()
13363 return Builder.CreateBitCast(Builder.CreateNot(Res), in EmitX86BuiltinExpr()
13375 return Builder.CreateBitCast(Res, Ops[0]->getType()); in EmitX86BuiltinExpr()
13398 return Builder.CreateBitCast(Res, Ops[0]->getType()); in EmitX86BuiltinExpr()
13669 Ops[0] = Builder.CreateBitCast(Ops[0], MMXTy, "cast"); in EmitX86BuiltinExpr()
14227 Ptr = Builder.CreateBitCast( in EmitX86BuiltinExpr()
14243 Ptr = Builder.CreateBitCast( in EmitX86BuiltinExpr()
14352 Ops[0] = Builder.CreateBitCast(Ops[0], Int8PtrTy); in EmitPPCBuiltinExpr()
14354 Ops[1] = Builder.CreateBitCast(Ops[1], Int8PtrTy); in EmitPPCBuiltinExpr()
14420 Ops[1] = Builder.CreateBitCast(Ops[1], Int8PtrTy); in EmitPPCBuiltinExpr()
14422 Ops[2] = Builder.CreateBitCast(Ops[2], Int8PtrTy); in EmitPPCBuiltinExpr()
14540 Ops[0] = Builder.CreateBitCast( in EmitPPCBuiltinExpr()
14543 Ops[1] = Builder.CreateBitCast(Ops[1], Is32Bit ? Int32Ty : Int64Ty); in EmitPPCBuiltinExpr()
14550 return Builder.CreateBitCast(Call, ResultType); in EmitPPCBuiltinExpr()
14555 return Builder.CreateBitCast(Call, in EmitPPCBuiltinExpr()
14705 Builder.CreateBitCast(Ops[1], llvm::FixedVectorType::get(Int64Ty, 2)); in EmitPPCBuiltinExpr()
14710 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int64Ty, 2)); in EmitPPCBuiltinExpr()
14719 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int32Ty, 4)); in EmitPPCBuiltinExpr()
14729 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int64Ty, 2)); in EmitPPCBuiltinExpr()
14762 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int64Ty, 2)); in EmitPPCBuiltinExpr()
14764 Builder.CreateBitCast(Ops[1], llvm::FixedVectorType::get(Int64Ty, 2)); in EmitPPCBuiltinExpr()
14777 return Builder.CreateBitCast(ShuffleCall, RetTy); in EmitPPCBuiltinExpr()
14785 Builder.CreateBitCast(Ops[0], llvm::FixedVectorType::get(Int32Ty, 4)); in EmitPPCBuiltinExpr()
14787 Builder.CreateBitCast(Ops[1], llvm::FixedVectorType::get(Int32Ty, 4)); in EmitPPCBuiltinExpr()
14815 return Builder.CreateBitCast(ShuffleCall, RetTy); in EmitPPCBuiltinExpr()
14826 return Builder.CreateBitCast(Res, ConvertType(E->getType())); in EmitPPCBuiltinExpr()
14831 Value *Unpacked = Builder.CreateBitCast( in EmitPPCBuiltinExpr()
14867 Value *Ptr = Builder.CreateBitCast(Ops[0], VTy->getPointerTo()); in EmitPPCBuiltinExpr()
14888 Ops[1] = Builder.CreateBitCast(Ops[1], Int8PtrTy); in EmitPPCBuiltinExpr()
14891 Ops[2] = Builder.CreateBitCast(Ops[2], Int8PtrTy); in EmitPPCBuiltinExpr()
14943 auto *Cast = CGF.Builder.CreateBitCast(GEP, DstTy); in EmitAMDGPUWorkGroupSize()
14963 auto *Cast = CGF.Builder.CreateBitCast(GEP, DstTy); in EmitAMDGPUGridSize()
16262 Builder.CreateBitCast(Builder.CreateExtractValue(Result, i), in EmitNVPTXBuiltinExpr()
16303 Values.push_back(Builder.CreateBitCast(V, ParamType)); in EmitNVPTXBuiltinExpr()
16367 Values.push_back(Builder.CreateBitCast(V, AType)); in EmitNVPTXBuiltinExpr()
16376 Values.push_back(Builder.CreateBitCast(V, BType)); in EmitNVPTXBuiltinExpr()
16386 Values.push_back(Builder.CreateBitCast(V, CType)); in EmitNVPTXBuiltinExpr()
16392 Builder.CreateBitCast(Builder.CreateExtractValue(Result, i), DType), in EmitNVPTXBuiltinExpr()
17166 Builder.CreateBitCast(A.getPointer(), Int8PtrPtrTy), A.getAlignment()); in EmitHexagonBuiltinExpr()
17185 llvm::Value *LV = Builder.CreateBitCast( in EmitHexagonBuiltinExpr()
17203 Builder.CreateBitCast(EmitScalarExpr(E->getArg(0)), Int8PtrTy); in EmitHexagonBuiltinExpr()
17209 DestAddr = Address(Builder.CreateBitCast(DestAddr.getPointer(), Int8PtrTy), in EmitHexagonBuiltinExpr()
17228 Builder.CreateBitCast(DestAddress, DestVal->getType()->getPointerTo()); in EmitHexagonBuiltinExpr()
17257 Address PredAddr = Builder.CreateBitCast( in EmitHexagonBuiltinExpr()