xref: /llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/InstrMaps.cpp (revision e902c6960cff4372d4b3ef9ae424b24ec6b0ea38)
1*e902c696Svporpo //===- InstructionMaps.cpp - Maps scalars to vectors and reverse ----------===//
2*e902c696Svporpo //
3*e902c696Svporpo // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*e902c696Svporpo // See https://llvm.org/LICENSE.txt for license information.
5*e902c696Svporpo // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*e902c696Svporpo //
7*e902c696Svporpo //===----------------------------------------------------------------------===//
8*e902c696Svporpo 
9*e902c696Svporpo #include "llvm/Transforms/Vectorize/SandboxVectorizer/InstrMaps.h"
10*e902c696Svporpo #include "llvm/Support/Debug.h"
11*e902c696Svporpo 
12*e902c696Svporpo namespace llvm::sandboxir {
13*e902c696Svporpo 
14*e902c696Svporpo #ifndef NDEBUG
15*e902c696Svporpo void InstrMaps::dump() const {
16*e902c696Svporpo   print(dbgs());
17*e902c696Svporpo   dbgs() << "\n";
18*e902c696Svporpo }
19*e902c696Svporpo #endif // NDEBUG
20*e902c696Svporpo 
21*e902c696Svporpo } // namespace llvm::sandboxir
22