LLVM
20.0.0git
include
llvm
Support
NVPTXAddrSpace.h
Go to the documentation of this file.
1
//===---------------- NVPTXAddrSpace.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
10
/// NVPTX address space definition
11
///
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_SUPPORT_NVPTXADDRSPACE_H
16
#define LLVM_SUPPORT_NVPTXADDRSPACE_H
17
18
namespace
llvm
{
19
namespace
NVPTXAS {
20
enum
AddressSpace
:
unsigned
{
21
ADDRESS_SPACE_GENERIC
= 0,
22
ADDRESS_SPACE_GLOBAL
= 1,
23
ADDRESS_SPACE_SHARED
= 3,
24
ADDRESS_SPACE_CONST
= 4,
25
ADDRESS_SPACE_LOCAL
= 5,
26
27
ADDRESS_SPACE_PARAM
= 101,
28
};
29
}
// end namespace NVPTXAS
30
31
}
// end namespace llvm
32
33
#endif
// LLVM_SUPPORT_NVPTXADDRSPACE_H
llvm::NVPTXAS::AddressSpace
AddressSpace
Definition:
NVPTXAddrSpace.h:20
llvm::NVPTXAS::ADDRESS_SPACE_PARAM
@ ADDRESS_SPACE_PARAM
Definition:
NVPTXAddrSpace.h:27
llvm::NVPTXAS::ADDRESS_SPACE_LOCAL
@ ADDRESS_SPACE_LOCAL
Definition:
NVPTXAddrSpace.h:25
llvm::NVPTXAS::ADDRESS_SPACE_GENERIC
@ ADDRESS_SPACE_GENERIC
Definition:
NVPTXAddrSpace.h:21
llvm::NVPTXAS::ADDRESS_SPACE_SHARED
@ ADDRESS_SPACE_SHARED
Definition:
NVPTXAddrSpace.h:23
llvm::NVPTXAS::ADDRESS_SPACE_CONST
@ ADDRESS_SPACE_CONST
Definition:
NVPTXAddrSpace.h:24
llvm::NVPTXAS::ADDRESS_SPACE_GLOBAL
@ ADDRESS_SPACE_GLOBAL
Definition:
NVPTXAddrSpace.h:22
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Dec 29 2024 04:59:26 for LLVM by
1.9.6