LLVM 22.0.0git
Pass.cpp
Go to the documentation of this file.
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
10#include "llvm/Support/Debug.h"
11
12using namespace llvm::sandboxir;
13
14#ifndef NDEBUG
15void Pass::dump() const {
16 print(dbgs());
17 dbgs() << "\n";
18}
19#endif // NDEBUG
virtual void print(raw_ostream &OS, const Module *M) const
print - Print out the internal state of the pass.
Definition: Pass.cpp:140
void dump() const
Definition: Pass.cpp:146
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Definition: Debug.cpp:207