xref: /llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Interval.cpp (revision 56d2c626f75e86923facefb9f0c27c94152afc50)
1 //===- Interval.cpp -------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "llvm/Transforms/Vectorize/SandboxVectorizer/Interval.h"
10 #include "llvm/SandboxIR/Instruction.h"
11 #include "llvm/Support/Debug.h"
12 #include "llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h"
13 
14 namespace llvm::sandboxir {
15 
16 template class Interval<Instruction>;
17 template class Interval<MemDGNode>;
18 
19 #ifndef NDEBUG
20 template <typename T> void Interval<T>::dump() const { print(dbgs()); }
21 #endif
22 } // namespace llvm::sandboxir
23