#include "llvm/Transforms/Vectorize/SandboxVectorizer/Interval.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/SandboxIR/Context.h"
#include "llvm/SandboxIR/Function.h"
#include "llvm/SandboxIR/Instruction.h"
#include "llvm/Support/SourceMgr.h"
#include "gmock/gmock-matchers.h"
#include "gtest/gtest.h"
usingnamespacellvm;
struct IntervalTest : public testing::Test { … };
TEST_F(IntervalTest, Basic) { … }
template <typename RangeT>
static SmallVector<sandboxir::Instruction *> getPtrVec(RangeT Range) { … }
TEST_F(IntervalTest, Difference) { … }
TEST_F(IntervalTest, Intersection) { … }
TEST_F(IntervalTest, UnionInterval) { … }