#include "../Common/AssemblerUtils.h"
#include "LlvmState.h"
#include "MCInstrDescView.h"
#include "MipsInstrInfo.h"
#include "ParallelSnippetGenerator.h"
#include "RegisterAliasing.h"
#include "SerialSnippetGenerator.h"
#include "TestBase.h"
namespace llvm {
namespace exegesis {
namespace {
AnyOf;
ElementsAre;
HasSubstr;
SizeIs;
MATCHER(IsInvalid, "") { … }
MATCHER(IsReg, "") { … }
template <typename SnippetGeneratorT>
class MipsSnippetGeneratorTest : public MipsTestBase { … };
MipsSerialSnippetGeneratorTest;
MipsParallelSnippetGeneratorTest;
TEST_F(MipsSerialSnippetGeneratorTest, ImplicitSelfDependencyThroughExplicitRegs) { … }
TEST_F(MipsSerialSnippetGeneratorTest,
ImplicitSelfDependencyThroughExplicitRegsForbidAll) { … }
TEST_F(MipsParallelSnippetGeneratorTest, MemoryUse) { … }
}
}
}