llvm/llvm/unittests/IR/ModuleTest.cpp

//===- unittests/IR/ModuleTest.cpp - Module unit tests --------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/IR/Module.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/Pass.h"
#include "llvm/Support/RandomNumberGenerator.h"
#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"

#include <random>

usingnamespacellvm;

namespace {

bool sortByName(const GlobalVariable &L, const GlobalVariable &R) {}

bool sortByNameReverse(const GlobalVariable &L, const GlobalVariable &R) {}

TEST(ModuleTest, sortGlobalsByName) {}

TEST(ModuleTest, randomNumberGenerator) {}

TEST(ModuleTest, setModuleFlag) {}

TEST(ModuleTest, setModuleFlagInt) {}

const char *IRString =;

TEST(ModuleTest, setProfileSummary) {}

TEST(ModuleTest, setPartialSampleProfileRatio) {}

TEST(ModuleTest, AliasList) {}

TEST(ModuleTest, IFuncList) {}

TEST(ModuleTest, NamedMDList) {}

TEST(ModuleTest, GlobalList) {}

} // end namespace