Lines Matching refs:CreateBitCast
82 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCBoxedExpr()
194 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCCollectionLiteral()
236 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustRelatedResultType()
417 newSelf = Builder.CreateBitCast(newSelf, selfTy); in EmitObjCMessageExpr()
520 llvm::Value *dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy); in emitStructGetterCall()
523 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall()
790 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicGetterCall()
850 ivarAddr = Builder.CreateBitCast(ivarAddr, bitcastType); in generateObjCGetterBody()
858 Builder.CreateStore(load, Builder.CreateBitCast(ReturnValue, bitcastType)); in generateObjCGetterBody()
878 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody()
903 RV = RValue::get(Builder.CreateBitCast( in generateObjCGetterBody()
955 value = Builder.CreateBitCast(value, ConvertType(propType)); in generateObjCGetterBody()
956 value = Builder.CreateBitCast( in generateObjCGetterBody()
983 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitStructSetterCall()
991 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy); in emitStructSetterCall()
1029 ivarAddr = CGF.Builder.CreateBitCast(ivarAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicSetterCall()
1037 argAddr = CGF.Builder.CreateBitCast(argAddr, CGF.Int8PtrTy); in emitCPPObjectAtomicSetterCall()
1125 argAddr = Builder.CreateBitCast(argAddr, bitcastType); in generateObjCSetterBody()
1126 ivarAddr = Builder.CreateBitCast(ivarAddr, bitcastType); in generateObjCSetterBody()
1167 Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCSetterBody()
1171 arg = Builder.CreateBitCast(Builder.CreateLoad(arg, "arg"), VoidPtrTy); in generateObjCSetterBody()
1371 Builder.CreateBitCast(LoadObjCSelf(), Types.ConvertType(IdTy)); in GenerateObjCCtorDtorMethod()
1557 Builder.CreateBitCast(Collection, in EmitObjCForCollectionStmt()
1610 CurrentItem = Builder.CreateBitCast(CurrentItem, convertedElementType, in EmitObjCForCollectionStmt()
1800 value = CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy); in emitARCValueOperation()
1808 return CGF.Builder.CreateBitCast(call, origType); in emitARCValueOperation()
1825 addr = CGF.Builder.CreateBitCast(addr, CGF.Int8PtrPtrTy); in emitARCLoadOperation()
1832 result = CGF.Builder.CreateBitCast(result, in emitARCLoadOperation()
1860 CGF.Builder.CreateBitCast(addr, CGF.Int8PtrPtrTy), in emitARCStoreOperation()
1861 CGF.Builder.CreateBitCast(value, CGF.Int8PtrTy) in emitARCStoreOperation()
1867 return CGF.Builder.CreateBitCast(result, origType); in emitARCStoreOperation()
1888 CGF.Builder.CreateBitCast(dst, CGF.Int8PtrPtrTy), in emitARCCopyOperation()
1889 CGF.Builder.CreateBitCast(src, CGF.Int8PtrPtrTy) in emitARCCopyOperation()
2005 value = Builder.CreateBitCast(value, Int8PtrTy); in EmitARCRelease()
2056 Builder.CreateBitCast(addr, Int8PtrPtrTy), in EmitARCStoreStrongCall()
2057 Builder.CreateBitCast(value, Int8PtrTy) in EmitARCStoreStrongCall()
2142 value = Builder.CreateBitCast(value, Int8PtrTy); in EmitARCRetainAutorelease()
2145 return Builder.CreateBitCast(value, origType); in EmitARCRetainAutorelease()
2213 addr = Builder.CreateBitCast(addr, Int8PtrPtrTy); in EmitARCDestroyWeak()
2575 value = CGF.Builder.CreateBitCast(value, resultType); in tryEmitARCRetainScalarExpr()
2598 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2623 result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2632 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2640 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2663 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2672 value = CGF.Builder.CreateBitCast(value, resultType); in tryEmitARCRetainScalarExpr()
2685 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2849 object = Builder.CreateBitCast(object, VoidPtrTy); in EmitExtendGCLifetime()