LLVM  14.0.0git
Classes | Namespaces | Enumerations | Functions
MemoryFlags.h File Reference
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/DenseMapInfo.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.

Classes

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

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 

Enumerations

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

Functions

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