Home | History | Annotate | Download | only in AsmPrinter

Lines Matching defs:DV

447                                                  DbgVariable &DV,
450 auto Var = TheCU.constructVariableDIE(DV, Scope.isAbstractScope());
451 if (DV.isObjectPointer())
479 for (DbgVariable *DV : ScopeVariables.lookup(Scope))
480 Children.push_back(constructVariableDIE(TheCU, *DV, *Scope, ObjectPointer));
870 DIVariable DV(Variables.getElement(vi));
871 assert(DV.isVariable());
872 DbgVariable NewVar(DV, this);
1073 DbgVariable *DwarfDebug::getExistingAbstractVariable(const DIVariable &DV,
1075 LLVMContext &Ctx = DV->getContext();
1081 Cleansed = cleanseInlinedVariable(DV, Ctx);
1088 DbgVariable *DwarfDebug::getExistingAbstractVariable(const DIVariable &DV) {
1090 return getExistingAbstractVariable(DV, Cleansed);
1100 void DwarfDebug::ensureAbstractVariableIsCreated(const DIVariable &DV,
1102 DIVariable Cleansed = DV;
1103 if (getExistingAbstractVariable(DV, Cleansed))
1110 DwarfDebug::ensureAbstractVariableIsCreatedIfScoped(const DIVariable &DV,
1112 DIVariable Cleansed = DV;
1113 if (getExistingAbstractVariable(DV, Cleansed))
1124 DIVariable DV = Var->getVariable();
1125 if (DV.getTag() != dwarf::DW_TAG_arg_variable)
1127 unsigned ArgNo = DV.getArgNumber();
1149 DIVariable DV(VI.Var);
1156 ensureAbstractVariableIsCreatedIfScoped(DV, Scope->getScopeNode());
1157 ConcreteVariables.push_back(make_unique<DbgVariable>(DV, this));
1199 DIVariable DV(I.first);
1200 if (Processed.count(DV))
1203 // Instruction ranges, specifying where DV is accessible.
1209 if (DV.getTag() == dwarf::DW_TAG_arg_variable &&
1210 DISubprogram(DV.getContext()).describes(CurFn->getFunction()))
1212 else if (MDNode *IA = DV.getInlinedAt()) {
1215 DL.getLine(), DL.getCol(), DV.getContext(), IA));
1217 Scope = LScopes.findLexicalScope(DV.getContext());
1222 Processed.insert(DV);
1225 ensureAbstractVariableIsCreatedIfScoped(DV, Scope->getScopeNode());
1278 DIVariable DV(Variables.getElement(i));
1279 assert(DV.isVariable());
1280 if (!Processed.insert(DV))
1282 if (LexicalScope *Scope = LScopes.findLexicalScope(DV.getContext())) {
1283 ensureAbstractVariableIsCreatedIfScoped(DV, Scope->getScopeNode());
1284 ConcreteVariables.push_back(make_unique<DbgVariable>(DV, this));
1471 DIVariable DV(I.first);
1472 if (DV.isVariable() && DV.getTag() == dwarf::DW_TAG_arg_variable &&
1473 getDISubprogram(DV.getContext()).describes(MF->getFunction()))
1504 DIVariable DV = Var->getVariable();
1506 if (unsigned ArgNum = DV.getArgNumber()) {
1577 DIVariable DV(Variables.getElement(i));
1578 assert(DV && DV.isVariable());
1579 if (!ProcessedVars.insert(DV))
1581 ensureAbstractVariableIsCreated(DV, DV.getContext());
1960 DIVariable DV(Value.getVariable());
1962 DIBasicType BTy(resolve(DV.getType()));
1973 if (!DV.hasComplexAddress())
1975 Asm->EmitDwarfRegOp(Streamer, Loc, DV.isIndirect());
1978 unsigned N = DV.getNumAddrElements();
1980 if (N >= 2 && DV.getAddrElement(0) == DIBuilder::OpPlus) {
1983 Asm->EmitDwarfRegOp(Streamer, Loc, DV.isIndirect());
1986 Streamer.EmitSLEB128(DV.getAddrElement(1));
1990 MachineLocation TLoc(Loc.getReg(), DV.getAddrElement(1));
1991 Asm->EmitDwarfRegOp(Streamer, TLoc, DV.isIndirect());
1995 Asm->EmitDwarfRegOp(Streamer, Loc, DV.isIndirect());
2000 uint64_t Element = DV.getAddrElement(i);
2003 Streamer.EmitULEB128(DV.getAddrElement(++i));