xref: /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/NVPTXAtomicLower.h (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1 //===-- NVPTXAtomicLower.h - Lower atomics of local memory ------*- 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 //  Lower atomics of local memory to simple load/stores
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXATOMICLOWER_H
14 #define LLVM_LIB_TARGET_NVPTX_NVPTXATOMICLOWER_H
15 
16 namespace llvm {
17 class FunctionPass;
18 
19 extern FunctionPass *createNVPTXAtomicLowerPass();
20 } // end namespace llvm
21 
22 #endif
23