LLVM 18.0.0git
Functions | Variables
AccelTable.cpp File Reference
#include "llvm/CodeGen/AccelTable.h"
#include "DwarfCompileUnit.h"
#include "DwarfUnit.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DIE.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <vector>

Go to the source code of this file.

Functions

static uint32_t getTagFromAbbreviationTag (const uint32_t AbbrvTag)
 
static uint32_t constructAbbreviationTag (const unsigned Tag, const std::optional< DWARF5AccelTable::UnitIndexAndEncoding > &EntryRet)
 Constructs a unique AbbrevTag that captures what a DIE accesses.
 

Variables

static uint32_t constexpr LowerBitSize = dwarf::DW_IDX_type_hash
 

Function Documentation

◆ constructAbbreviationTag()

static uint32_t constructAbbreviationTag ( const unsigned  Tag,
const std::optional< DWARF5AccelTable::UnitIndexAndEncoding > &  EntryRet 
)
static

Constructs a unique AbbrevTag that captures what a DIE accesses.

Using this tag we can emit a unique abbreviation for each DIE.

Definition at line 405 of file AccelTable.cpp.

References LowerBitSize.

◆ getTagFromAbbreviationTag()

static uint32_t getTagFromAbbreviationTag ( const uint32_t  AbbrvTag)
static

Definition at line 399 of file AccelTable.cpp.

References LowerBitSize.

Variable Documentation

◆ LowerBitSize

uint32_t constexpr LowerBitSize = dwarf::DW_IDX_type_hash
staticconstexpr

Definition at line 398 of file AccelTable.cpp.

Referenced by constructAbbreviationTag(), and getTagFromAbbreviationTag().