// SPDX-License-Identifier: GPL-3.0-or-later #ifndef RCC_TARGET_RISCV_RISCVTARGET_H #define RCC_TARGET_RISCV_RISCVTARGET_H #include "rcc/CodeGen/TargetMIRTextInfo.h" #include "rcc/CodeGen/TargetRegisterInfo.h" #include "rcc/Support/Error.h" #include "rcc/Target/RISCV/RISCVRegisters.h" #include #include namespace rcc::riscv { [[nodiscard]] Expected physicalRegister(PhysicalRegisterID ID); [[nodiscard]] Expected createRegisterInfo(); [[nodiscard]] Expected createMIRTextInfo(); [[nodiscard]] std::shared_ptr createCallPreservedMask(); } // namespace rcc::riscv #endif // RCC_TARGET_RISCV_RISCVTARGET_H