xref: /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/NVPTXAtomicLower.h (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1*fe6060f1SDimitry Andric //===-- NVPTXAtomicLower.h - Lower atomics of local memory ------*- C++ -*-===//
2*fe6060f1SDimitry Andric //
3*fe6060f1SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*fe6060f1SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*fe6060f1SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*fe6060f1SDimitry Andric //
7*fe6060f1SDimitry Andric //===----------------------------------------------------------------------===//
8*fe6060f1SDimitry Andric //
9*fe6060f1SDimitry Andric //  Lower atomics of local memory to simple load/stores
10*fe6060f1SDimitry Andric //
11*fe6060f1SDimitry Andric //===----------------------------------------------------------------------===//
12*fe6060f1SDimitry Andric 
13*fe6060f1SDimitry Andric #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXATOMICLOWER_H
14*fe6060f1SDimitry Andric #define LLVM_LIB_TARGET_NVPTX_NVPTXATOMICLOWER_H
15*fe6060f1SDimitry Andric 
16*fe6060f1SDimitry Andric namespace llvm {
17*fe6060f1SDimitry Andric class FunctionPass;
18*fe6060f1SDimitry Andric 
19*fe6060f1SDimitry Andric extern FunctionPass *createNVPTXAtomicLowerPass();
20*fe6060f1SDimitry Andric } // end namespace llvm
21*fe6060f1SDimitry Andric 
22*fe6060f1SDimitry Andric #endif
23