#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/Module.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Testing/Support/Error.h"
#include "llvm/Transforms/Coroutines/ABI.h"
#include "llvm/Transforms/Coroutines/CoroSplit.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
struct ExtraRematTest : public testing::Test { … };
StringRef Text = …;
bool ExtraMaterializable(Instruction &I) { … }
TEST_F(ExtraRematTest, TestCoroRematDefault) { … }
TEST_F(ExtraRematTest, TestCoroRematWithCallback) { … }
StringRef TextCoroBeginCustomABI = …;
class ExtraCustomABI : public coro::SwitchABI { … };
TEST_F(ExtraRematTest, TestCoroRematWithCustomABI) { … }
}