LLVM 19.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"

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 >


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


enum class  llvm::orc::MemProt { llvm::orc::None = 0 , llvm::orc::Read = 1U << 0 , llvm::orc::Write = 1U << 1 , llvm::orc::Exec = 1U << 2 }
 Describes Read/Write/Exec permissions for memory. More...
enum class  llvm::orc::MemLifetime { llvm::orc::Standard , llvm::orc::Finalize , llvm::orc::NoAlloc }
 Describes a memory lifetime 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.
sys::Memory::ProtectionFlags llvm::orc::toSysMemoryProtectionFlags (MemProt MP)
 Convert a MemProt value to a corresponding sys::Memory::ProtectionFlags value.
MemProt llvm::orc::fromSysMemoryProtectionFlags (sys::Memory::ProtectionFlags PF)
 Convert a sys::Memory::ProtectionFlags value to a corresponding MemProt value.
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, MemLifetime MLP)
 Print a MemDeallocPolicy.
raw_ostream & llvm::orc::operator<< (raw_ostream &OS, AllocGroup AG)
 Print an AllocGroup.