Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Main Page
Namespaces
Classes
Files
File List
File Members
Loading...
Searching...
No Matches
include
proteus
AddressSpace.hpp
Go to the documentation of this file.
1
#ifndef PROTEUS_ADDRESS_SPACE_HPP
2
#define PROTEUS_ADDRESS_SPACE_HPP
3
4
namespace
proteus
{
5
6
enum class
AddressSpace
:
unsigned
int
{
7
DEFAULT
= 0,
8
GLOBAL
= 1,
9
SHARED
= 3,
10
CONSTANT
= 4,
11
LOCAL
= 5,
12
};
13
14
inline
constexpr
unsigned
toLLVM
(
AddressSpace
AS) {
15
return
static_cast<
unsigned
>
(AS);
16
}
17
18
}
// namespace proteus
19
20
#endif
// PROTEUS_ADDRESS_SPACE_HPP
proteus
Definition
BuiltinsCUDA.cpp:4
proteus::AddressSpace
AddressSpace
Definition
AddressSpace.hpp:6
proteus::AddressSpace::SHARED
@ SHARED
proteus::AddressSpace::LOCAL
@ LOCAL
proteus::AddressSpace::DEFAULT
@ DEFAULT
proteus::AddressSpace::GLOBAL
@ GLOBAL
proteus::AddressSpace::CONSTANT
@ CONSTANT
proteus::toLLVM
constexpr unsigned toLLVM(AddressSpace AS)
Definition
AddressSpace.hpp:14
Generated by
1.9.8