Lines Matching refs:DwarfExpr

223   std::unique_ptr<DIEDwarfExpression> DwarfExpr;  in addLocationAttribute()  local
258 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
277 DwarfExpr->addFragmentOffset(Expr); in addLocationAttribute()
365 if (DwarfExpr->isUnknownLocation()) in addLocationAttribute()
366 DwarfExpr->setMemoryLocationKind(); in addLocationAttribute()
367 DwarfExpr->addExpression(Expr); in addLocationAttribute()
379 addBlock(*VariableDIE, dwarf::DW_AT_location, DwarfExpr->finalize()); in addLocationAttribute()
567 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE() local
569 DwarfExpr.addWasmLocation(FrameBase.Location.WasmLoc.Kind, in updateSubprogramScopeDIE()
571 DwarfExpr.addExpression(std::move(Cursor)); in updateSubprogramScopeDIE()
572 addBlock(*SPDie, dwarf::DW_AT_frame_base, DwarfExpr.finalize()); in updateSubprogramScopeDIE()
789 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
791 DwarfExpr.addFragmentOffset(Expr); in applyConcreteDbgVariableAttributes()
792 DwarfExpr.addUnsignedConstant(Entry->getInt()); in applyConcreteDbgVariableAttributes()
793 DwarfExpr.addExpression(Expr); in applyConcreteDbgVariableAttributes()
794 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
795 if (DwarfExpr.TagOffset) in applyConcreteDbgVariableAttributes()
797 dwarf::DW_FORM_data1, *DwarfExpr.TagOffset); in applyConcreteDbgVariableAttributes()
806 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
809 DwarfDebug::emitDebugLocValue(*Asm, BT, *DVal, DwarfExpr); in applyConcreteDbgVariableAttributes()
810 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
823 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
824 DwarfExpr.addFragmentOffset(Expr); in applyConcreteDbgVariableAttributes()
831 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, in applyConcreteDbgVariableAttributes()
836 DwarfExpr.addUnsignedConstant(Entry.getInt()); in applyConcreteDbgVariableAttributes()
845 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in applyConcreteDbgVariableAttributes()
850 DwarfExpr.addUnsignedConstant(RawBytes.getZExtValue()); in applyConcreteDbgVariableAttributes()
856 DwarfExpr.addWasmLocation(Loc.Index, static_cast<uint64_t>(Loc.Offset)); in applyConcreteDbgVariableAttributes()
863 if (!DwarfExpr.addExpression( in applyConcreteDbgVariableAttributes()
871 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
872 if (DwarfExpr.TagOffset) in applyConcreteDbgVariableAttributes()
874 *DwarfExpr.TagOffset); in applyConcreteDbgVariableAttributes()
892 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
899 DwarfExpr.addFragmentOffset(Expr); in applyConcreteDbgVariableAttributes()
923 DwarfExpr.setMemoryLocationKind(); in applyConcreteDbgVariableAttributes()
927 DwarfExpr.addMachineRegExpression( in applyConcreteDbgVariableAttributes()
929 DwarfExpr.addExpression(std::move(Cursor)); in applyConcreteDbgVariableAttributes()
941 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
942 if (DwarfExpr.TagOffset) in applyConcreteDbgVariableAttributes()
944 *DwarfExpr.TagOffset); in applyConcreteDbgVariableAttributes()
951 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in applyConcreteDbgVariableAttributes() local
954 DwarfExpr.addFragmentOffset(&Expr); in applyConcreteDbgVariableAttributes()
956 DwarfExpr.beginEntryValueExpression(Cursor); in applyConcreteDbgVariableAttributes()
957 DwarfExpr.addMachineRegExpression( in applyConcreteDbgVariableAttributes()
959 DwarfExpr.addExpression(std::move(Cursor)); in applyConcreteDbgVariableAttributes()
961 addBlock(VariableDie, dwarf::DW_AT_location, DwarfExpr.finalize()); in applyConcreteDbgVariableAttributes()
1335 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in constructCallSiteParmEntryDIEs() local
1336 DwarfExpr.setCallSiteParamValueFlag(); in constructCallSiteParmEntryDIEs()
1338 DwarfDebug::emitDebugLocValue(*Asm, nullptr, Param.getValue(), DwarfExpr); in constructCallSiteParmEntryDIEs()
1341 DwarfExpr.finalize()); in constructCallSiteParmEntryDIEs()
1575 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addAddress() local
1577 DwarfExpr.setMemoryLocationKind(); in addAddress()
1581 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addAddress()
1583 DwarfExpr.addExpression(std::move(Cursor)); in addAddress()
1586 addBlock(Die, Attribute, DwarfExpr.finalize()); in addAddress()
1588 if (DwarfExpr.TagOffset) in addAddress()
1590 *DwarfExpr.TagOffset); in addAddress()
1601 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in addComplexAddress() local
1602 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress()
1603 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress()
1608 DwarfExpr.beginEntryValueExpression(Cursor); in addComplexAddress()
1611 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, Location.getReg())) in addComplexAddress()
1613 DwarfExpr.addExpression(std::move(Cursor)); in addComplexAddress()
1616 addBlock(Die, Attribute, DwarfExpr.finalize()); in addComplexAddress()
1618 if (DwarfExpr.TagOffset) in addComplexAddress()
1620 *DwarfExpr.TagOffset); in addComplexAddress()