#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Transforms/InstCombine/InstCombine.h"
#include "gtest/gtest.h"
#include <random>
namespace llvm {
static std::unique_ptr<LLVMTargetMachine> initTM() { … }
struct TernTester { … };
TEST(TernlogTest, TestConstantFolding) { … }
}