//===--- loongarch.cpp - Generic JITLink loongarch edge kinds, utilities --===// // // 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 loongarch objects. // //===----------------------------------------------------------------------===// #include "llvm/ExecutionEngine/JITLink/loongarch.h" #define DEBUG_TYPE … namespace llvm { namespace jitlink { namespace loongarch { const char NullPointerContent[8] = …; const uint8_t LA64StubContent[StubEntrySize] = …; const uint8_t LA32StubContent[StubEntrySize] = …; const char *getEdgeKindName(Edge::Kind K) { … } } // namespace loongarch } // namespace jitlink } // namespace llvm