xref: /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/Pass.cpp (revision 2c2ec6bbc9cc7762a250ffe903bda6c2e44d25ff)
1 //===- Pass.cpp - Passes that operate on Sandbox IR -----------------------===//
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/SandboxIR/Pass.h"
10 #include "llvm/Support/Debug.h"
11 
12 using namespace llvm::sandboxir;
13 
14 #ifndef NDEBUG
15 void Pass::dump() const {
16   print(dbgs());
17   dbgs() << "\n";
18 }
19 #endif // NDEBUG
20