Lines Matching refs:Die
30 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) {
33 for (const auto &V : Die.values())
98 const DIE &Die = **I;
104 addULEB128(Die.getTag());
107 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name);
115 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
117 for (const auto &V : Die.values()) {
329 // Add all of the attributes for \param Die to the hash.
330 void DIEHash::addAttributes(const DIE &Die) {
332 collectAttributes(Die, Attrs);
333 hashAttributes(Attrs, Die.getTag());
336 void DIEHash::hashNestedType(const DIE &Die, StringRef Name) {
342 addULEB128(Die.getTag());
351 void DIEHash::computeHash(const DIE &Die) {
354 addULEB128(Die.getTag());
357 addAttributes(Die);
360 for (auto &C : Die.children()) {
382 uint64_t DIEHash::computeCUSignature(StringRef DWOName, const DIE &Die) {
384 Numbering[&Die] = 1;
389 computeHash(Die);
405 uint64_t DIEHash::computeTypeSignature(const DIE &Die) {
407 Numbering[&Die] = 1;
409 if (const DIE *Parent = Die.getParent())
413 computeHash(Die);