// SPDX-License-Identifier: GPL-3.0-or-later // The private header has no stable include-root-relative guard name. // NOLINTNEXTLINE(llvm-header-guard) #ifndef RCC_LIB_MIR_MIRDOCUMENTREFERENCEVALIDATION_H #define RCC_LIB_MIR_MIRDOCUMENTREFERENCEVALIDATION_H #include "rcc/Support/Error.h" namespace rcc { class MachineFunction; namespace mir { class MIRDocument; [[nodiscard]] Expected verifyMIRDocumentReferences(const MIRDocument &Document, const MachineFunction &Function, bool UseEmbeddedIR); } // namespace mir } // namespace rcc #endif // RCC_LIB_MIR_MIRDOCUMENTREFERENCEVALIDATION_H