#include "llvm/IR/MemoryModelRelaxationAnnotations.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
void checkMMRA(const MMRAMetadata &MMRA,
ArrayRef<MMRAMetadata::TagT> Expected) { … }
MMRAMetadata createFromMD(LLVMContext &Ctx,
ArrayRef<MMRAMetadata::TagT> Expected) { … }
TEST(MMRATest, MDParse) { … }
TEST(MMRATest, GetMD) { … }
TEST(MMRATest, Utility) { … }
TEST(MMRATest, Operators) { … }
TEST(MMRATest, Compatibility) { … }
TEST(MMRATest, Combine) { … }
}