Lines Matching refs:DV

463 std::unique_ptr<DIE> DwarfCompileUnit::constructVariableDIE(DbgVariable &DV,  in constructVariableDIE()  argument
465 auto D = constructVariableDIEImpl(DV, Abstract); in constructVariableDIE()
466 DV.setDIE(*D); in constructVariableDIE()
471 DwarfCompileUnit::constructVariableDIEImpl(const DbgVariable &DV, in constructVariableDIEImpl() argument
474 auto VariableDie = make_unique<DIE>(DV.getTag()); in constructVariableDIEImpl()
477 applyVariableAttributes(DV, *VariableDie); in constructVariableDIEImpl()
483 unsigned Offset = DV.getDotDebugLocOffset(); in constructVariableDIEImpl()
490 if (const MachineInstr *DVInsn = DV.getMInsn()) { in constructVariableDIEImpl()
498 addVariableAddress(DV, *VariableDie, Location); in constructVariableDIEImpl()
500 addVariableAddress(DV, *VariableDie, MachineLocation(RegOp.getReg())); in constructVariableDIEImpl()
502 addConstantValue(*VariableDie, DVInsn->getOperand(0), DV.getType()); in constructVariableDIEImpl()
507 DV.getType()); in constructVariableDIEImpl()
513 if (DV.getFrameIndex().back() == ~0) in constructVariableDIEImpl()
516 auto Expr = DV.getExpression().begin(); in constructVariableDIEImpl()
519 for (auto FI : DV.getFrameIndex()) { in constructVariableDIEImpl()
523 assert(Expr != DV.getExpression().end() && in constructVariableDIEImpl()
535 DbgVariable &DV, const LexicalScope &Scope, DIE *&ObjectPointer) { in constructVariableDIE() argument
536 auto Var = constructVariableDIE(DV, Scope.isAbstractScope()); in constructVariableDIE()
537 if (DV.isObjectPointer()) in constructVariableDIE()
547 for (DbgVariable *DV : DU->getScopeVariables().lookup(Scope)) in createScopeChildrenDIE()
548 Children.push_back(constructVariableDIE(*DV, *Scope, ObjectPointer)); in createScopeChildrenDIE()
691 for (DIVariable DV : Variables) { in collectDeadVariables() local
692 DbgVariable NewVar(DV, nullptr, DIExpression(), DD); in collectDeadVariables()
729 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die, in addVariableAddress() argument
731 if (DV.variableHasComplexAddress()) in addVariableAddress()
732 addComplexAddress(DV, Die, dwarf::DW_AT_location, Location); in addVariableAddress()
733 else if (DV.isBlockByrefVariable()) in addVariableAddress()
734 addBlockByrefAddress(DV, Die, dwarf::DW_AT_location, Location); in addVariableAddress()
761 void DwarfCompileUnit::addComplexAddress(const DbgVariable &DV, DIE &Die, in addComplexAddress() argument
766 assert(DV.getExpression().size() == 1); in addComplexAddress()
767 DIExpression Expr = DV.getExpression().back(); in addComplexAddress()