aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/MIR/MIDebugSyntax.h
blob: a8427dcc5b982a73006d764e10a72fe5288dcb9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef RCC_MIR_MIDEBUGSYNTAX_H
#define RCC_MIR_MIDEBUGSYNTAX_H

#include <cstdint>
#include <optional>
#include <string_view>

namespace rcc::mir {

[[nodiscard]] std::optional<std::uint64_t>
parseDIExpressionOpcodeName(std::string_view Name) noexcept;

} // namespace rcc::mir

#endif // RCC_MIR_MIDEBUGSYNTAX_H