Lines Matching refs:DV
639 DIE *DwarfDebug::constructVariableDIE(DbgVariable *DV, DbgScope *Scope) {
640 StringRef Name = DV->getName();
647 switch (DV->getTag()) {
661 CompileUnit *VariableCU = getCompileUnit(DV->getVariable());
664 V2AVI = VarToAbstractVarMap.find(DV);
674 VariableCU->addSourceLine(VariableDie, DV->getVariable());
677 VariableCU->addType(VariableDie, DV->getType());
680 if (Tag == dwarf::DW_TAG_formal_parameter && DV->getType().isArtificial())
683 else if (DIVariable(DV->getVariable()).isArtificial())
688 DV->setDIE(VariableDie);
694 unsigned Offset = DV->getDotDebugLocOffset();
698 DV->setDIE(VariableDie);
705 DbgVariableToDbgInstMap.find(DV);
723 VariableCU->addVariableAddress(DV, VariableDie, Location);
726 VariableCU->addVariableAddress(DV, VariableDie,
733 DV->getType());
741 isUnsignedDIType(DV->getType()));
743 VariableCU->addVariableAddress(DV, VariableDie,
753 DV->setDIE(VariableDie);
759 if (findVariableFrameIndex(DV, &FI)) {
765 VariableCU->addVariableAddress(DV, VariableDie, Location);
768 DV->setDIE(VariableDie);
1182 DIVariable DV(NMD->getOperand(I));
1183 if (!DV.Verify()) continue;
1184 Scope->addVariable(new DbgVariable(DV));
1271 DbgVariable *DwarfDebug::findAbstractVariable(DIVariable &DV,
1273 LLVMContext &Ctx = DV->getContext();
1276 DIVariable Var = cleanseInlinedVariable(DV, Ctx);
1299 DIVariable DV = Var->getVariable();
1300 if (DV.getTag() != dwarf::DW_TAG_arg_variable)
1302 unsigned ArgNo = DV.getArgNumber();
1328 DIVariable DV(Var);
1337 DbgVariable *AbsDbgVariable = findAbstractVariable(DV, VP.second);
1338 DbgVariable *RegVar = new DbgVariable(DV);
1408 DIVariable DV(Var);
1410 if (DV.getTag() == dwarf::DW_TAG_arg_variable &&
1411 DISubprogram(DV.getContext()).describes(MF->getFunction()))
1419 Processed.insert(DV);
1421 DbgVariable *RegVar = new DbgVariable(DV);
1424 if (DbgVariable *AbsVar = findAbstractVariable(DV, MInsn->getDebugLoc())) {
1481 DIVariable DV(cast<MDNode>(NMD->getOperand(i)));
1482 if (!DV || !Processed.insert(DV))
1484 DbgScope *Scope = DbgScopeMap.lookup(DV.getContext());
1486 Scope->addVariable(new DbgVariable(DV));
1863 DIVariable DV(Var);
1864 if (DV.Verify() && DV.getTag() == dwarf::DW_TAG_arg_variable &&
1865 DISubprogram(getDISubprogram(DV.getContext()))
2020 DIVariable DV(cast<MDNode>(NMD->getOperand(i)));
2021 if (!DV || !ProcessedVars.insert(DV))
2023 DbgScope *Scope = AbstractScopes.lookup(DV.getContext());
2025 Scope->addVariable(new DbgVariable(DV));
2584 DIVariable DV(Entry.Variable);
2591 DIBasicType BTy(DV.getType());
2604 if (!DV.hasComplexAddress())
2609 unsigned N = DV.getNumAddrElements();
2611 if (N >= 2 && DV.getAddrElement(0) == DIBuilder::OpPlus) {
2619 Asm->EmitSLEB128(DV.getAddrElement(1));
2623 MachineLocation Loc(Entry.Loc.getReg(), DV.getAddrElement(1));
2633 uint64_t Element = DV.getAddrElement(i);
2636 Asm->EmitULEB128(DV.getAddrElement(++i));