LLVM  14.0.0git
aarch64.cpp
Go to the documentation of this file.
1 //===---- aarch64.cpp - Generic JITLink aarch64 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 aarch64 objects.
10 //
11 //===----------------------------------------------------------------------===//
12 
14 
15 #define DEBUG_TYPE "jitlink"
16 
17 namespace llvm {
18 namespace jitlink {
19 namespace aarch64 {
20 
21 const char *getEdgeKindName(Edge::Kind K) {
22  switch (K) {
23  case R_AARCH64_CALL26:
24  return "R_AARCH64_CALL26";
25  }
26  return getGenericEdgeKindName(K);
27 }
28 } // namespace aarch64
29 } // namespace jitlink
30 } // namespace llvm
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
aarch64.h