llvm/llvm/unittests/Analysis/UnrollAnalyzerTest.cpp

//===- UnrollAnalyzerTest.cpp - UnrollAnalyzer 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/Analysis/AssumptionCache.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopUnrollAnalyzer.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/Dominators.h"
#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"

usingnamespacellvm;

SimplifiedValuesVectorTy;

/// Build loop info and scalar evolution for the function and run the analysis.
static void
runUnrollAnalyzer(Module &M, StringRef FuncName,
                  SimplifiedValuesVectorTy &SimplifiedValuesVector) {}

std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
                                       const char *ModuleStr) {}

TEST(UnrollAnalyzerTest, BasicSimplifications) {}

TEST(UnrollAnalyzerTest, OuterLoopSimplification) {}

TEST(UnrollAnalyzerTest, CmpSimplifications) {}

TEST(UnrollAnalyzerTest, PtrCmpSimplifications) {}

TEST(UnrollAnalyzerTest, CastSimplifications) {}