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/SandboxIR/PassManager.h" 11 #include "llvm/Support/Debug.h" 12 13 using namespace llvm::sandboxir; 14 15 #ifndef NDEBUG 16 void Pass::dump() const { 17 print(dbgs()); 18 dbgs() << "\n"; 19 } 20 #endif // NDEBUG 21