1 //===- InstructionMaps.cpp - Maps scalars to vectors and reverse ----------===// 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/InstrMaps.h" 10 #include "llvm/Support/Debug.h" 11 12 namespace llvm::sandboxir { 13 14 #ifndef NDEBUG 15 void InstrMaps::dump() const { 16 print(dbgs()); 17 dbgs() << "\n"; 18 } 19 #endif // NDEBUG 20 21 } // namespace llvm::sandboxir 22