1 | //==------ llvm/CodeGen/LowerEmuTLS.h -------------------------*- C++ -*----==// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | /// \file Add Add __emutls_[vt].* variables. |
10 | /// |
11 | /// This file provide declaration of LowerEmuTLSPass. |
12 | // |
13 | //===----------------------------------------------------------------------===// |
14 | |
15 | #ifndef LLVM_CODEGEN_LOWEREMUTLS_H |
16 | #define LLVM_CODEGEN_LOWEREMUTLS_H |
17 | |
18 | #include "llvm/IR/PassManager.h" |
19 | |
20 | namespace llvm { |
21 | |
22 | class LowerEmuTLSPass : public PassInfoMixin<LowerEmuTLSPass> { |
23 | public: |
24 | PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM); |
25 | }; |
26 | |
27 | } // namespace llvm |
28 | |
29 | #endif // LLVM_CODEGEN_LOWEREMUTLS_H |
30 | |