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