//===-- riscv.h - Generic JITLink riscv edge kinds, utilities -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // Generic utilities for graphs representing riscv objects. // //===----------------------------------------------------------------------===// #ifndef LLVM_EXECUTIONENGINE_JITLINK_RISCV_H #define LLVM_EXECUTIONENGINE_JITLINK_RISCV_H #include "llvm/ExecutionEngine/JITLink/JITLink.h" namespace llvm { namespace jitlink { namespace riscv { /// Represents riscv fixups. Ordered in the same way as the relocations in /// include/llvm/BinaryFormat/ELFRelocs/RISCV.def. enum EdgeKind_riscv : Edge::Kind { … }; /// Returns a string name for the given riscv edge. For debugging purposes /// only const char *getEdgeKindName(Edge::Kind K); } // namespace riscv } // namespace jitlink } // namespace llvm #endif