LLVM 20.0.0git
Classes | Namespaces | Functions
MemoryModelRelaxationAnnotations.h File Reference

This file provides utility for Memory Model Relaxation Annotations (MMRAs). More...

#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringRef.h"
#include <tuple>

Go to the source code of this file.

Classes

class  llvm::MMRAMetadata
 Helper class to manipulate !mmra metadata nodes. More...
 

Namespaces

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

Functions

bool llvm::canInstructionHaveMMRAs (const Instruction &I)
 

Detailed Description

This file provides utility for Memory Model Relaxation Annotations (MMRAs).

Those annotations are represented using Metadata. The MMRATagSet class offers a simple API to parse the metadata and perform common operations on it. The MMRAMetadata class is a simple tuple of MDNode that provides easy access to all MMRA annotations on an instruction.

Definition in file MemoryModelRelaxationAnnotations.h.