Go to the documentation of this file.
13 #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DIEHASH_H
14 #define LLVM_LIB_CODEGEN_ASMPRINTER_DIEHASH_H
29 #define HANDLE_DIE_HASH_ATTR(NAME) DIEValue NAME;
30 #include "DIEHashAttributes.def"
46 void addParentContext(
const DIE &Parent);
49 void addAttributes(
const DIE &Die);
52 void computeHash(
const DIE &Die);
73 void collectAttributes(
const DIE &Die, DIEAttrs &
Attrs);
void hashRawTypeReference(const DIE &Entry)
This is an optimization pass for GlobalISel generic memory operations.
void update(ArrayRef< uint8_t > Data)
Updates the hash for the byte stream provided.
DIEHash(AsmPrinter *A=nullptr, DwarfCompileUnit *CU=nullptr)
A structured debug information entry.
void addULEB128(uint64_t Value)
Encodes and adds.
void addSLEB128(int64_t Value)
Encodes and adds.
uint64_t computeTypeSignature(const DIE &Die)
Computes the type signature.
An object containing the capability of hashing and adding hash attributes onto a DIE.
Represents a pointer to a location list in the debug_loc section.
uint64_t computeCUSignature(StringRef DWOName, const DIE &Die)
Computes the CU signature.
void update(uint8_t Value)
Adds.
StringRef - Represent a constant reference to a string, i.e.
This class is intended to be used as a driving class for all asm writers.
A range adaptor for a pair of iterators.
LLVM Value Representation.