//===---------------- IncrementalSourceMgr.h --------------------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// /// \file /// This file contains IncrementalSourceMgr, an implementation of SourceMgr /// that allows users to add new instructions incrementally / dynamically. /// //===----------------------------------------------------------------------===// #ifndef LLVM_MCA_INCREMENTALSOURCEMGR_H #define LLVM_MCA_INCREMENTALSOURCEMGR_H #include "llvm/MCA/SourceMgr.h" #include <deque> namespace llvm { namespace mca { /// An implementation of \a SourceMgr that allows users to add new instructions /// incrementally / dynamically. /// Note that this SourceMgr takes ownership of all \a mca::Instruction. class IncrementalSourceMgr : public SourceMgr { … }; } // end namespace mca } // end namespace llvm #endif // LLVM_MCA_INCREMENTALSOURCEMGR_H