blob: 2ab6291d73a4b0b34712302248356f9613b8fb23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// 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<void> verifyMIRDocumentReferences(const MIRDocument &Document,
const MachineFunction &Function,
bool UseEmbeddedIR);
} // namespace mir
} // namespace rcc
#endif // RCC_LIB_MIR_MIRDOCUMENTREFERENCEVALIDATION_H
|