#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/PostDominators.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"
#include <algorithm>
usingnamespacellvm;
static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
StringRef ModuleStr) { … }
TEST(DomTreeUpdater, EagerUpdateBasicOperations) { … }
TEST(DomTreeUpdater, EagerUpdateReplaceEntryBB) { … }
TEST(DomTreeUpdater, LazyUpdateDTBasicOperations) { … }
TEST(DomTreeUpdater, LazyUpdateDTInheritedPreds) { … }
TEST(DomTreeUpdater, LazyUpdateBasicOperations) { … }
TEST(DomTreeUpdater, LazyUpdateReplaceEntryBB) { … }
TEST(DomTreeUpdater, LazyUpdateStepTest) { … }
TEST(DomTreeUpdater, NoTreeTest) { … }
TEST(DomTreeUpdater, LazyUpdateDeduplicationTest) { … }