#include "llvm/Transforms/Utils/CodeExtractor.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/IR/BasicBlock.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/IR/Verifier.h"
#include "llvm/IRReader/IRReader.h"
#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
BasicBlock *getBlockByName(Function *F, StringRef name) { … }
TEST(CodeExtractor, ExitStub) { … }
TEST(CodeExtractor, InputOutputMonitoring) { … }
TEST(CodeExtractor, ExitBlockOrderingPhis) { … }
TEST(CodeExtractor, ExitBlockOrdering) { … }
TEST(CodeExtractor, ExitPHIOnePredFromRegion) { … }
TEST(CodeExtractor, StoreOutputInvokeResultAfterEHPad) { … }
TEST(CodeExtractor, StoreOutputInvokeResultInExitStub) { … }
TEST(CodeExtractor, ExtractAndInvalidateAssumptionCache) { … }
TEST(CodeExtractor, RemoveBitcastUsesFromOuterLifetimeMarkers) { … }
TEST(CodeExtractor, PartialAggregateArgs) { … }
TEST(CodeExtractor, OpenMPAggregateArgs) { … }
}