Lines Matching refs:DwarfExpr

204   std::unique_ptr<DIEDwarfExpression> DwarfExpr;  in addLocationAttribute()  local
239 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
258 DwarfExpr->addFragmentOffset(Expr); in addLocationAttribute()
302 if (DwarfExpr->isUnknownLocation()) in addLocationAttribute()
303 DwarfExpr->setMemoryLocationKind(); in addLocationAttribute()
304 DwarfExpr->addExpression(Expr); in addLocationAttribute()
316 addBlock(*VariableDIE, dwarf::DW_AT_location, DwarfExpr->finalize()); in addLocationAttribute()
485 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE() local
487 DwarfExpr.addWasmLocation(FrameBase.Location.WasmLoc.Kind, in updateSubprogramScopeDIE()
489 DwarfExpr.addExpression(std::move(Cursor)); in updateSubprogramScopeDIE()
490 addBlock(*SPDie, dwarf::DW_AT_frame_base, DwarfExpr.finalize()); in updateSubprogramScopeDIE()
742 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
744 DwarfExpr.addFragmentOffset(Expr); in constructVariableDIEImpl()
745 DwarfExpr.addUnsignedConstant(Entry->getInt()); in constructVariableDIEImpl()
746 DwarfExpr.addExpression(Expr); in constructVariableDIEImpl()
747 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
748 if (DwarfExpr.TagOffset) in constructVariableDIEImpl()
750 dwarf::DW_FORM_data1, *DwarfExpr.TagOffset); in constructVariableDIEImpl()
759 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
762 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in constructVariableDIEImpl()
763 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
776 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
777 DwarfExpr.addFragmentOffset(Expr); in constructVariableDIEImpl()
784 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, in constructVariableDIEImpl()
789 DwarfExpr.addUnsignedConstant(Entry.getInt()); in constructVariableDIEImpl()
798 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in constructVariableDIEImpl()
803 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in constructVariableDIEImpl()
809 DwarfExpr.addWasmLocation(Loc.Index, static_cast<uint64_t>(Loc.Offset)); in constructVariableDIEImpl()
816 if (!DwarfExpr.addExpression( in constructVariableDIEImpl()
824 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
825 if (DwarfExpr.TagOffset) in constructVariableDIEImpl()
827 *DwarfExpr.TagOffset); in constructVariableDIEImpl()
838 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
845 DwarfExpr.addFragmentOffset(Expr); in constructVariableDIEImpl()
869 DwarfExpr.setMemoryLocationKind(); in constructVariableDIEImpl()
873 DwarfExpr.addMachineRegExpression( in constructVariableDIEImpl()
875 DwarfExpr.addExpression(std::move(Cursor)); in constructVariableDIEImpl()
886 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
887 if (DwarfExpr.TagOffset) in constructVariableDIEImpl()
889 *DwarfExpr.TagOffset); in constructVariableDIEImpl()
1241 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs() local
1242 DwarfExpr.setCallSiteParamValueFlag(); in constructCallSiteParmEntryDIEs()
1244 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1247 DwarfExpr.finalize()); in constructCallSiteParmEntryDIEs()
1428 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress() local
1430 DwarfExpr.setMemoryLocationKind(); in addAddress()
1434 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addAddress()
1436 DwarfExpr.addExpression(std::move(Cursor)); in addAddress()
1439 addBlock(Die, Attribute, DwarfExpr.finalize()); in addAddress()
1441 if (DwarfExpr.TagOffset) in addAddress()
1443 *DwarfExpr.TagOffset); in addAddress()
1454 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress() local
1456 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress()
1457 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress()
1462 DwarfExpr.beginEntryValueExpression(Cursor); in addComplexAddress()
1465 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addComplexAddress()
1467 DwarfExpr.addExpression(std::move(Cursor)); in addComplexAddress()
1470 addBlock(Die, Attribute, DwarfExpr.finalize()); in addComplexAddress()
1472 if (DwarfExpr.TagOffset) in addComplexAddress()
1474 *DwarfExpr.TagOffset); in addComplexAddress()