LLVM  16.0.0git
Classes | Namespaces | Enumerations | Functions
MemoryFlags.h File Reference
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Memory.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for MemoryFlags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::orc::AllocGroup
 A pair of memory protections and allocation policies. More...
class  llvm::orc::AllocGroupSmallMap< T >
 A specialized small-map for AllocGroups. More...
struct  llvm::DenseMapInfo< orc::MemProt >
struct  llvm::DenseMapInfo< orc::AllocGroup >


 This is an optimization pass for GlobalISel generic memory operations.


enum  llvm::orc::MemProt { llvm::orc::MemProt::None = 0, llvm::orc::MemProt::Read = 1U << 0, llvm::orc::MemProt::Write = 1U << 1, llvm::orc::MemProt::Exec = 1U << 2 }
 Describes Read/Write/Exec permissions for memory. More...
enum  llvm::orc::MemDeallocPolicy { llvm::orc::MemDeallocPolicy::Standard, llvm::orc::MemDeallocPolicy::Finalize }
 Describes a memory deallocation policy for memory to be allocated by a JITLinkMemoryManager. More...


raw_ostream & llvm::orc::operator<< (raw_ostream &OS, MemProt MP)
 Print a MemProt as an RWX triple. More...
sys::Memory::ProtectionFlags llvm::orc::toSysMemoryProtectionFlags (MemProt MP)
 Convert a MemProt value to a corresponding sys::Memory::ProtectionFlags value. More...
MemProt llvm::orc::fromSysMemoryProtectionFlags (sys::Memory::ProtectionFlags PF)
 Convert a sys::Memory::ProtectionFlags value to a corresponding MemProt value. More...
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, MemDeallocPolicy MDP)
 Print a MemDeallocPolicy. More...
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, AllocGroup AG)
 Print an AllocGroup. More...