Lines Matching refs:DwarfExpr

208   std::unique_ptr<DIEDwarfExpression> DwarfExpr;  in addLocationAttribute()  local
243 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
262 DwarfExpr->addFragmentOffset(Expr); in addLocationAttribute()
350 if (DwarfExpr->isUnknownLocation()) in addLocationAttribute()
351 DwarfExpr->setMemoryLocationKind(); in addLocationAttribute()
352 DwarfExpr->addExpression(Expr); in addLocationAttribute()
364 addBlock(*VariableDIE, dwarf::DW_AT_location, DwarfExpr->finalize()); in addLocationAttribute()
552 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE() local
554 DwarfExpr.addWasmLocation(FrameBase.Location.WasmLoc.Kind, in updateSubprogramScopeDIE()
556 DwarfExpr.addExpression(std::move(Cursor)); in updateSubprogramScopeDIE()
557 addBlock(*SPDie, dwarf::DW_AT_frame_base, DwarfExpr.finalize()); in updateSubprogramScopeDIE()
774 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
776 DwarfExpr.addFragmentOffset(Expr); in applyConcreteDbgVariableAttributes()
777 DwarfExpr.addUnsignedConstant(Entry->getInt()); in applyConcreteDbgVariableAttributes()
778 DwarfExpr.addExpression(Expr); in applyConcreteDbgVariableAttributes()
779 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
780 if (DwarfExpr.TagOffset) in applyConcreteDbgVariableAttributes()
782 dwarf::DW_FORM_data1, *DwarfExpr.TagOffset); in applyConcreteDbgVariableAttributes()
791 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
794 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in applyConcreteDbgVariableAttributes()
795 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
808 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
809 DwarfExpr.addFragmentOffset(Expr); in applyConcreteDbgVariableAttributes()
816 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, in applyConcreteDbgVariableAttributes()
821 DwarfExpr.addUnsignedConstant(Entry.getInt()); in applyConcreteDbgVariableAttributes()
830 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in applyConcreteDbgVariableAttributes()
835 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in applyConcreteDbgVariableAttributes()
841 DwarfExpr.addWasmLocation(Loc.Index, static_cast<uint64_t>(Loc.Offset)); in applyConcreteDbgVariableAttributes()
848 if (!DwarfExpr.addExpression( in applyConcreteDbgVariableAttributes()
856 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
857 if (DwarfExpr.TagOffset) in applyConcreteDbgVariableAttributes()
859 *DwarfExpr.TagOffset); in applyConcreteDbgVariableAttributes()
877 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
884 DwarfExpr.addFragmentOffset(Expr); in applyConcreteDbgVariableAttributes()
908 DwarfExpr.setMemoryLocationKind(); in applyConcreteDbgVariableAttributes()
912 DwarfExpr.addMachineRegExpression( in applyConcreteDbgVariableAttributes()
914 DwarfExpr.addExpression(std::move(Cursor)); in applyConcreteDbgVariableAttributes()
926 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
927 if (DwarfExpr.TagOffset) in applyConcreteDbgVariableAttributes()
929 *DwarfExpr.TagOffset); in applyConcreteDbgVariableAttributes()
936 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
939 DwarfExpr.addFragmentOffset(&Expr); in applyConcreteDbgVariableAttributes()
941 DwarfExpr.beginEntryValueExpression(Cursor); in applyConcreteDbgVariableAttributes()
942 DwarfExpr.addMachineRegExpression( in applyConcreteDbgVariableAttributes()
944 DwarfExpr.addExpression(std::move(Cursor)); in applyConcreteDbgVariableAttributes()
946 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
1314 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs() local
1315 DwarfExpr.setCallSiteParamValueFlag(); in constructCallSiteParmEntryDIEs()
1317 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1320 DwarfExpr.finalize()); in constructCallSiteParmEntryDIEs()
1554 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress() local
1556 DwarfExpr.setMemoryLocationKind(); in addAddress()
1560 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addAddress()
1562 DwarfExpr.addExpression(std::move(Cursor)); in addAddress()
1565 addBlock(Die, Attribute, DwarfExpr.finalize()); in addAddress()
1567 if (DwarfExpr.TagOffset) in addAddress()
1569 *DwarfExpr.TagOffset); in addAddress()
1580 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress() local
1581 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress()
1582 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress()
1587 DwarfExpr.beginEntryValueExpression(Cursor); in addComplexAddress()
1590 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addComplexAddress()
1592 DwarfExpr.addExpression(std::move(Cursor)); in addComplexAddress()
1595 addBlock(Die, Attribute, DwarfExpr.finalize()); in addComplexAddress()
1597 if (DwarfExpr.TagOffset) in addComplexAddress()
1599 *DwarfExpr.TagOffset); in addComplexAddress()