LLVM 20.0.0git
InstrMaps.cpp
Go to the documentation of this file.
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
10#include "llvm/Support/Debug.h"
11
12namespace llvm::sandboxir {
13
14#ifndef NDEBUG
15void InstrMaps::dump() const {
16 print(dbgs());
17 dbgs() << "\n";
18}
19#endif // NDEBUG
20
21} // namespace llvm::sandboxir
void print(raw_ostream &OS) const
Definition: InstrMaps.h:100
LLVM_DUMP_METHOD void dump() const
Definition: InstrMaps.cpp:15
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Definition: Debug.cpp:163