LLVM 22.0.0git
|
This file provides utility for Memory Model Relaxation Annotations (MMRAs). More...
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.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 | |
LLVM_ABI bool | llvm::canInstructionHaveMMRAs (const Instruction &I) |
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.