1 //===---- i386.cpp - Generic JITLink i386 edge kinds, utilities -----===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // Generic utilities for graphs representing i386 objects. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #include "llvm/ExecutionEngine/JITLink/i386.h" 14 15 #define DEBUG_TYPE "jitlink" 16 17 namespace llvm { 18 namespace jitlink { 19 namespace i386 { 20 21 const char *getEdgeKindName(Edge::Kind K) { 22 switch (K) { 23 case None: 24 return "None"; 25 } 26 return getGenericEdgeKindName(K); 27 } 28 } // namespace i386 29 } // namespace jitlink 30 } // namespace llvm