Lines Matching refs:DwarfExpr

207   std::unique_ptr<DIEDwarfExpression> DwarfExpr;  in addLocationAttribute()  local
242 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
261 DwarfExpr->addFragmentOffset(Expr); in addLocationAttribute()
332 if (DwarfExpr->isUnknownLocation()) in addLocationAttribute()
333 DwarfExpr->setMemoryLocationKind(); in addLocationAttribute()
334 DwarfExpr->addExpression(Expr); in addLocationAttribute()
346 addBlock(*VariableDIE, dwarf::DW_AT_location, DwarfExpr->finalize()); in addLocationAttribute()
516 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE() local
518 DwarfExpr.addWasmLocation(FrameBase.Location.WasmLoc.Kind, in updateSubprogramScopeDIE()
520 DwarfExpr.addExpression(std::move(Cursor)); in updateSubprogramScopeDIE()
521 addBlock(*SPDie, dwarf::DW_AT_frame_base, DwarfExpr.finalize()); in updateSubprogramScopeDIE()
754 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
756 DwarfExpr.addFragmentOffset(Expr); in constructVariableDIEImpl()
757 DwarfExpr.addUnsignedConstant(Entry->getInt()); in constructVariableDIEImpl()
758 DwarfExpr.addExpression(Expr); in constructVariableDIEImpl()
759 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
760 if (DwarfExpr.TagOffset) in constructVariableDIEImpl()
762 dwarf::DW_FORM_data1, *DwarfExpr.TagOffset); in constructVariableDIEImpl()
771 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
774 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in constructVariableDIEImpl()
775 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
788 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
789 DwarfExpr.addFragmentOffset(Expr); in constructVariableDIEImpl()
796 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, in constructVariableDIEImpl()
801 DwarfExpr.addUnsignedConstant(Entry.getInt()); in constructVariableDIEImpl()
810 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in constructVariableDIEImpl()
815 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in constructVariableDIEImpl()
821 DwarfExpr.addWasmLocation(Loc.Index, static_cast<uint64_t>(Loc.Offset)); in constructVariableDIEImpl()
828 if (!DwarfExpr.addExpression( in constructVariableDIEImpl()
836 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
837 if (DwarfExpr.TagOffset) in constructVariableDIEImpl()
839 *DwarfExpr.TagOffset); in constructVariableDIEImpl()
850 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructVariableDIEImpl() local
857 DwarfExpr.addFragmentOffset(Expr); in constructVariableDIEImpl()
881 DwarfExpr.setMemoryLocationKind(); in constructVariableDIEImpl()
885 DwarfExpr.addMachineRegExpression( in constructVariableDIEImpl()
887 DwarfExpr.addExpression(std::move(Cursor)); in constructVariableDIEImpl()
898 addBlock(*VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in constructVariableDIEImpl()
899 if (DwarfExpr.TagOffset) in constructVariableDIEImpl()
901 *DwarfExpr.TagOffset); in constructVariableDIEImpl()
1253 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs() local
1254 DwarfExpr.setCallSiteParamValueFlag(); in constructCallSiteParmEntryDIEs()
1256 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1259 DwarfExpr.finalize()); in constructCallSiteParmEntryDIEs()
1450 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress() local
1452 DwarfExpr.setMemoryLocationKind(); in addAddress()
1456 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addAddress()
1458 DwarfExpr.addExpression(std::move(Cursor)); in addAddress()
1461 addBlock(Die, Attribute, DwarfExpr.finalize()); in addAddress()
1463 if (DwarfExpr.TagOffset) in addAddress()
1465 *DwarfExpr.TagOffset); in addAddress()
1476 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress() local
1478 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress()
1479 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress()
1484 DwarfExpr.beginEntryValueExpression(Cursor); in addComplexAddress()
1487 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addComplexAddress()
1489 DwarfExpr.addExpression(std::move(Cursor)); in addComplexAddress()
1492 addBlock(Die, Attribute, DwarfExpr.finalize()); in addComplexAddress()
1494 if (DwarfExpr.TagOffset) in addComplexAddress()
1496 *DwarfExpr.TagOffset); in addComplexAddress()