#include "../Common/AssemblerUtils.h"
#include "LlvmState.h"
#include "MCInstrDescView.h"
#include "PPCInstrInfo.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 PPCSnippetGeneratorTest : public PPCTestBase { … };
PPCSerialSnippetGeneratorTest;
PPCParallelSnippetGeneratorTest;
TEST_F(PPCSerialSnippetGeneratorTest, ImplicitSelfDependencyThroughExplicitRegs) { … }
TEST_F(PPCSerialSnippetGeneratorTest, ImplicitSelfDependencyThroughTiedRegs) { … }
TEST_F(PPCParallelSnippetGeneratorTest, MemoryUse) { … }
}
}
}