Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
include
/
llvm
/
Transforms
/
HipStdPar
Upload
3 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
HipStdPar.h
1.43 KB
-rw-r--r--
2025-01-14 09:41:02
Edit
Del
Editing: HipStdPar.h
(1.43 KB)
Path: /usr/include/llvm/Transforms/HipStdPar/HipStdPar.h
Back
//===--------- HipStdPar.h - Standard Parallelism passes --------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// \file /// /// AcceleratorCodeSelection - Identify all functions reachable from a kernel, /// removing those that are unreachable. /// /// AllocationInterposition - Forward calls to allocation / deallocation // functions to runtime provided equivalents that allocate memory that is // accessible for an accelerator //===----------------------------------------------------------------------===// #ifndef LLVM_TRANSFORMS_HIPSTDPAR_HIPSTDPAR_H #define LLVM_TRANSFORMS_HIPSTDPAR_HIPSTDPAR_H #include "llvm/IR/PassManager.h" namespace llvm { class Module; class HipStdParAcceleratorCodeSelectionPass : public PassInfoMixin<HipStdParAcceleratorCodeSelectionPass> { public: PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM); static bool isRequired() { return true; } }; class HipStdParAllocationInterpositionPass : public PassInfoMixin<HipStdParAllocationInterpositionPass> { public: PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM); static bool isRequired() { return true; } }; } // namespace llvm #endif // LLVM_TRANSFORMS_HIPSTDPAR_HIPSTDPAR_H