LLVM 24.0.0git
HexagonRelocationInfo.h File Reference
#include "llvm/BinaryFormat/ELF.h"
#include <cstdint>
#include <iterator>
#include <string_view>
#include "llvm/BinaryFormat/ELFRelocs/Hexagon.def"

Go to the source code of this file.

Classes

struct  llvm::Hexagon::HexagonRelocationInfo

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::Hexagon

Macros

#define ELF_RELOC(NAME, VALUE)

Functions

static constexpr bool llvm::Hexagon::relocsMatchHexagonDef ()

Variables

static constexpr HexagonRelocationInfo llvm::Hexagon::Relocs []

Macro Definition Documentation

◆ ELF_RELOC

#define ELF_RELOC ( NAME,
VALUE )
Value:
if ((VALUE) >= NumRelocs || Relocs[VALUE].Type != llvm::ELF::NAME || \
std::string_view(Relocs[VALUE].Name) != #NAME) \
return false; \
++Count;