//===- PassManager.cpp - Runs a pipeline of Sandbox IR passes -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/SandboxIR/PassManager.h" #include "llvm/SandboxIR/SandboxIR.h" usingnamespacellvm::sandboxir; bool FunctionPassManager::runOnFunction(Function &F) { … } FunctionPassManager & PassRegistry::parseAndCreatePassPipeline(StringRef Pipeline) { … } #ifndef NDEBUG void PassRegistry::dump() const { print(dbgs()); dbgs() << "\n"; } #endif // NDEBUG