@@ -773,16 +773,16 @@ void logSYCLLibraryInvocation(
773773 convertProcessingSettingsToString (Settings));
774774}
775775
776- // / Invokes SYCL Post Link library for SYCL offloading .
776+ // / Invokes SYCL processing library for SYCL offload finalization .
777777// /
778778// / \param InputFiles the list of input LLVM IR files.
779779// / \param Args Encompasses all arguments for linking and wrapping device code.
780- // / It will be parsed to generate options required to be passed to SYCL Post
781- // / Link library.
780+ // / It will be parsed to generate options required to be passed to SYCL
781+ // / library.
782782// / \param Mode The splitting mode.
783- // / \returns The vector of split modules.
783+ // / \returns The vector of processed modules.
784784static Expected<std::vector<module_split::ProcessedModule>>
785- runSYCLPostLinkLibrary (ArrayRef<StringRef> InputFiles, const ArgList &Args,
785+ runSYCLOffloadFinalize (ArrayRef<StringRef> InputFiles, const ArgList &Args,
786786 module_split::IRSplitMode Mode) {
787787 std::vector<module_split::ProcessedModule> OutputModules;
788788 llvm::module_split::ModuleProcessingSettings Settings;
@@ -808,7 +808,7 @@ runSYCLPostLinkLibrary(ArrayRef<StringRef> InputFiles, const ArgList &Args,
808808 return createStringError (inconvertibleErrorCode (), Err.getMessage ());
809809
810810 auto ModulesOrErr =
811- module_split::SYCLPostLinkProcess (std::move (M), Settings);
811+ module_split::SYCLOffloadFinalize (std::move (M), Settings);
812812 if (!ModulesOrErr)
813813 return ModulesOrErr.takeError ();
814814
@@ -2403,8 +2403,8 @@ Expected<SmallVector<StringRef>> linkAndWrapDeviceFiles(
24032403 auto ProcessedModulesOrErr =
24042404 UseSYCLPostLinkTool
24052405 ? sycl::runSYCLPostLinkTool (InputFilesSYCL, LinkerArgs)
2406- : sycl::runSYCLSplitLibrary (InputFilesSYCL, LinkerArgs,
2407- *SYCLModuleSplitMode);
2406+ : sycl::runSYCLOffloadFinalize (InputFilesSYCL, LinkerArgs,
2407+ *SYCLModuleSplitMode);
24082408 if (!ProcessedModulesOrErr)
24092409 return ProcessedModulesOrErr.takeError ();
24102410
0 commit comments