Lines Matching refs:dwarf

91   assert(Cur->getTag() == dwarf::DW_TAG_compile_unit ||  in addParentContext()
92 Cur->getTag() == dwarf::DW_TAG_type_unit); in addParentContext()
108 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name); in addParentContext()
120 << dwarf::AttributeString(V.getAttribute()) in collectAttributes()
124 case dwarf::NAME: \ in collectAttributes()
134 void DIEHash::hashShallowTypeReference(dwarf::Attribute Attribute, in hashShallowTypeReference()
160 void DIEHash::hashRepeatedTypeReference(dwarf::Attribute Attribute, in hashRepeatedTypeReference()
173 void DIEHash::hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, in hashDIEEntry()
175 assert(Tag != dwarf::DW_TAG_friend && "No current LLVM clients emit friend " in hashDIEEntry()
180 if ((Tag == dwarf::DW_TAG_pointer_type || in hashDIEEntry()
181 Tag == dwarf::DW_TAG_reference_type || in hashDIEEntry()
182 Tag == dwarf::DW_TAG_rvalue_reference_type || in hashDIEEntry()
183 Tag == dwarf::DW_TAG_ptr_to_member_type) && in hashDIEEntry()
188 Attribute == dwarf::DW_AT_type) { in hashDIEEntry()
190 StringRef Name = getDIEStringAttr(Entry, dwarf::DW_AT_name); in hashDIEEntry()
221 StringRef Name = getDIEStringAttr(C, dwarf::DW_AT_name); in hashBlockData()
241 void DIEHash::hashAttribute(const DIEValue &Value, dwarf::Tag Tag) { in hashAttribute()
242 dwarf::Attribute Attribute = Value.getAttribute(); in hashAttribute()
265 case dwarf::DW_FORM_data1: in hashAttribute()
266 case dwarf::DW_FORM_data2: in hashAttribute()
267 case dwarf::DW_FORM_data4: in hashAttribute()
268 case dwarf::DW_FORM_data8: in hashAttribute()
269 case dwarf::DW_FORM_udata: in hashAttribute()
270 case dwarf::DW_FORM_sdata: in hashAttribute()
271 addULEB128(dwarf::DW_FORM_sdata); in hashAttribute()
276 case dwarf::DW_FORM_flag_present: in hashAttribute()
277 case dwarf::DW_FORM_flag: in hashAttribute()
278 addULEB128(dwarf::DW_FORM_flag); in hashAttribute()
289 addULEB128(dwarf::DW_FORM_string); in hashAttribute()
295 addULEB128(dwarf::DW_FORM_string); in hashAttribute()
303 addULEB128(dwarf::DW_FORM_block); in hashAttribute()
329 void DIEHash::hashAttributes(const DIEAttrs &Attrs, dwarf::Tag Tag) { in hashAttributes()
373 …if (isType(C.getTag()) || (C.getTag() == dwarf::DW_TAG_subprogram && isType(C.getParent()->getTag(… in computeHash()
374 StringRef Name = getDIEStringAttr(C, dwarf::DW_AT_name); in computeHash()