• Home
  • Raw
  • Download

Lines Matching refs:HostPtr

698   void createCallCopyFromHostToDevice(Value *HostPtr, Value *DevicePtr,
705 void createCallCopyFromDeviceToHost(Value *DevicePtr, Value *HostPtr,
815 Value *HostPtr; in prepareManagedDeviceArrays() local
818 HostPtr = BlockGen.getOrCreateAlloca(ScopArray); in prepareManagedDeviceArrays()
820 HostPtr = ScopArray->getBasePtr(); in prepareManagedDeviceArrays()
821 HostPtr = getLatestValue(HostPtr); in prepareManagedDeviceArrays()
825 HostPtr = Builder.CreatePointerCast( in prepareManagedDeviceArrays()
826 HostPtr, ScopArray->getElementType()->getPointerTo()); in prepareManagedDeviceArrays()
827 HostPtr = Builder.CreateGEP(HostPtr, Offset); in prepareManagedDeviceArrays()
830 HostPtr = Builder.CreatePointerCast(HostPtr, Builder.getInt8PtrTy()); in prepareManagedDeviceArrays()
831 DeviceAllocations[ScopArray] = HostPtr; in prepareManagedDeviceArrays()
1180 Value *HostPtr; in createDataTransfer() local
1183 HostPtr = BlockGen.getOrCreateAlloca(ScopArray); in createDataTransfer()
1185 HostPtr = ScopArray->getBasePtr(); in createDataTransfer()
1186 HostPtr = getLatestValue(HostPtr); in createDataTransfer()
1189 HostPtr = Builder.CreatePointerCast( in createDataTransfer()
1190 HostPtr, ScopArray->getElementType()->getPointerTo()); in createDataTransfer()
1191 HostPtr = Builder.CreateGEP(HostPtr, Offset); in createDataTransfer()
1194 HostPtr = Builder.CreatePointerCast(HostPtr, Builder.getInt8PtrTy()); in createDataTransfer()
1203 createCallCopyFromHostToDevice(HostPtr, DevPtr, Size); in createDataTransfer()
1205 createCallCopyFromDeviceToHost(DevPtr, HostPtr, Size); in createDataTransfer()