Lines Matching refs:DeviceID
2694 initializeTargetRegionEntryInfo(unsigned DeviceID, unsigned FileID, in initializeTargetRegionEntryInfo() argument
2700 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = in initializeTargetRegionEntryInfo()
2706 registerTargetRegionEntryInfo(unsigned DeviceID, unsigned FileID, in registerTargetRegionEntryInfo() argument
2712 assert(hasTargetRegionEntryInfo(DeviceID, FileID, ParentName, LineNum) && in registerTargetRegionEntryInfo()
2715 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum]; in registerTargetRegionEntryInfo()
2722 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = Entry; in registerTargetRegionEntryInfo()
2727 unsigned DeviceID, unsigned FileID, StringRef ParentName, in hasTargetRegionEntryInfo() argument
2729 auto PerDevice = OffloadEntriesTargetRegion.find(DeviceID); in hasTargetRegionEntryInfo()
2956 unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned Line, in createOffloadEntriesAndInfoMetadata()
2969 Ops.push_back(getMDInt(DeviceID)); in createOffloadEntriesAndInfoMetadata()
4754 unsigned &DeviceID, unsigned &FileID, in getTargetEntryUniqueInfo() argument
4772 DeviceID = ID.getDevice(); in getTargetEntryUniqueInfo()
4800 unsigned DeviceID; in emitTargetOutlinedFunctionHelper() local
4803 getTargetEntryUniqueInfo(CGM.getContext(), D.getLocStart(), DeviceID, FileID, in emitTargetOutlinedFunctionHelper()
4808 OS << "__omp_offloading" << llvm::format("_%x", DeviceID) in emitTargetOutlinedFunctionHelper()
4847 DeviceID, FileID, ParentName, Line, OutlinedFn, OutlinedFnID); in emitTargetOutlinedFunctionHelper()
5812 llvm::Value *DeviceID; in emitTargetCall() local
5814 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetCall()
5817 DeviceID = CGF.Builder.getInt32(OMP_DEVICEID_UNDEF); in emitTargetCall()
5838 DeviceID, OutlinedFnID, PointerNum, in emitTargetCall()
5845 DeviceID, OutlinedFnID, PointerNum, BasePointersArray, in emitTargetCall()
5902 unsigned DeviceID; in scanForTargetRegionsFunctions() local
5905 getTargetEntryUniqueInfo(CGM.getContext(), E->getLocStart(), DeviceID, in scanForTargetRegionsFunctions()
5910 if (!OffloadEntriesInfoManager.hasTargetRegionEntryInfo(DeviceID, FileID, in scanForTargetRegionsFunctions()
6105 llvm::Value *DeviceID = nullptr; in emitTargetDataCalls() local
6107 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetDataCalls()
6110 DeviceID = CGF.Builder.getInt32(OMP_DEVICEID_UNDEF); in emitTargetDataCalls()
6116 DeviceID, PointerNum, BasePointersArrayArg, in emitTargetDataCalls()
6140 llvm::Value *DeviceID = nullptr; in emitTargetDataCalls() local
6142 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetDataCalls()
6145 DeviceID = CGF.Builder.getInt32(OMP_DEVICEID_UNDEF); in emitTargetDataCalls()
6151 DeviceID, PointerNum, BasePointersArrayArg, in emitTargetDataCalls()
6217 llvm::Value *DeviceID = nullptr; in emitTargetDataStandAloneCall() local
6219 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetDataStandAloneCall()
6222 DeviceID = CGF.Builder.getInt32(OMP_DEVICEID_UNDEF); in emitTargetDataStandAloneCall()
6228 DeviceID, PointerNum, BasePointersArrayArg, in emitTargetDataStandAloneCall()