blob: 403bb2d504955e35de1d9558c367f2ae9b8dab77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef RCC_TARGET_RISCV_RISCVCODEGEN_H
#define RCC_TARGET_RISCV_RISCVCODEGEN_H
#include "rcc/CodeGen/TargetCodeGen.h"
#include "rcc/CodeGen/TargetRegisterAllocationInfo.h"
namespace rcc::riscv {
[[nodiscard]] const TargetLegalizerInfo &legalizerInfo() noexcept;
[[nodiscard]] const TargetRegisterBankInfo ®isterBankInfo() noexcept;
[[nodiscard]] const TargetInstructionSelector &instructionSelector() noexcept;
[[nodiscard]] const TargetSSAInfo &ssaInfo() noexcept;
[[nodiscard]] const TargetRegisterAllocationInfo ®isterAllocationInfo() noexcept;
} // namespace rcc::riscv
#endif // RCC_TARGET_RISCV_RISCVCODEGEN_H
|