Home
last modified time | relevance | path

Searched refs:DIVar (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLocal.cpp1042 static bool LdStHasDebugValue(DILocalVariable *DIVar, DIExpression *DIExpr, in LdStHasDebugValue() argument
1053 DVI->getVariable() == DIVar && in LdStHasDebugValue()
1064 auto *DIVar = DDI->getVariable(); in ConvertDebugDeclareToDebugValue() local
1066 assert(DIVar && "Missing variable"); in ConvertDebugDeclareToDebugValue()
1097 if (!LdStHasDebugValue(DIVar, NewDIExpr, SI)) in ConvertDebugDeclareToDebugValue()
1098 Builder.insertDbgValueIntrinsic(ExtendedArg, 0, DIVar, NewDIExpr, in ConvertDebugDeclareToDebugValue()
1100 } else if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue()
1101 Builder.insertDbgValueIntrinsic(SI->getOperand(0), 0, DIVar, DIExpr, in ConvertDebugDeclareToDebugValue()
1110 auto *DIVar = DDI->getVariable(); in ConvertDebugDeclareToDebugValue() local
1112 assert(DIVar && "Missing variable"); in ConvertDebugDeclareToDebugValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp1197 static bool LdStHasDebugValue(DILocalVariable *DIVar, DIExpression *DIExpr, in LdStHasDebugValue() argument
1207 DVI->getVariable() == DIVar && in LdStHasDebugValue()
1215 static bool PhiHasDebugValue(DILocalVariable *DIVar, in PhiHasDebugValue() argument
1225 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1261 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue() local
1262 assert(DIVar && "Missing variable"); in ConvertDebugDeclareToDebugValue()
1275 if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue()
1276 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, DII->getDebugLoc(), in ConvertDebugDeclareToDebugValue()
1308 if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue()
1309 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, DII->getDebugLoc(), in ConvertDebugDeclareToDebugValue()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp140 const DILocalVariable *DIVar = Ranges.front().first->getDebugVariable(); in beginFunction() local
141 if (DIVar->isParameter() && in beginFunction()
142 getDISubprogram(DIVar->getScope())->describes(MF->getFunction())) { in beginFunction()
DCodeViewDebug.cpp291 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
766 Var.DIVar = VI.Var; in collectVariableInfoFromMMITable()
783 const DILocalVariable *DIVar = IV.first; in collectVariableInfo() local
791 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedAt); in collectVariableInfo()
793 Scope = LScopes.findLexicalScope(DIVar->getScope()); in collectVariableInfo()
799 Var.DIVar = DIVar; in collectVariableInfo()
1838 if (L.DIVar->isParameter()) in emitLocalVariableList()
1842 return L->DIVar->getArg() < R->DIVar->getArg(); in emitLocalVariableList()
1849 if (!L.DIVar->isParameter()) in emitLocalVariableList()
1865 if (Var.DIVar->isParameter()) in emitLocalVariable()
[all …]
DCodeViewDebug.h73 const DILocalVariable *DIVar = nullptr; member
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp796 DIVariable DIVar(DDI->getVariable()); in ConvertDebugDeclareToDebugValue() local
797 if (!DIVar.Verify()) in ConvertDebugDeclareToDebugValue()
809 DbgVal = Builder.insertDbgValueIntrinsic(ExtendedArg, 0, DIVar, SI); in ConvertDebugDeclareToDebugValue()
811 DbgVal = Builder.insertDbgValueIntrinsic(SI->getOperand(0), 0, DIVar, SI); in ConvertDebugDeclareToDebugValue()
827 DIVariable DIVar(DDI->getVariable()); in ConvertDebugDeclareToDebugValue() local
828 if (!DIVar.Verify()) in ConvertDebugDeclareToDebugValue()
833 DIVar, LI); in ConvertDebugDeclareToDebugValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp205 const DILocalVariable *DIVar = Ranges.front().first->getDebugVariable(); in beginFunction() local
206 if (DIVar->isParameter() && in beginFunction()
207 getDISubprogram(DIVar->getScope())->describes(&MF->getFunction())) { in beginFunction()
DCodeViewDebug.cpp381 const DISubprogram *Inlinee = Var.DIVar->getScope()->getSubprogram(); in recordLocalVariable()
1093 Var.DIVar = VI.Var; in collectVariableInfoFromMFTable()
1207 const DILocalVariable *DIVar = IV.first; in collectVariableInfo() local
1215 Scope = LScopes.findInlinedScope(DIVar->getScope(), InlinedAt); in collectVariableInfo()
1217 Scope = LScopes.findLexicalScope(DIVar->getScope()); in collectVariableInfo()
1223 Var.DIVar = DIVar; in collectVariableInfo()
2367 if (L.DIVar->isParameter()) in emitLocalVariableList()
2371 return L->DIVar->getArg() < R->DIVar->getArg(); in emitLocalVariableList()
2378 if (!L.DIVar->isParameter()) in emitLocalVariableList()
2394 if (Var.DIVar->isParameter()) in emitLocalVariable()
[all …]
DDwarfCompileUnit.cpp1003 const auto *DIVar = Var.getVariable(); in applyVariableAttributes() local
1004 if (DIVar) in applyVariableAttributes()
1005 if (uint32_t AlignInBytes = DIVar->getAlignInBytes()) in applyVariableAttributes()
1009 addSourceLine(VariableDie, DIVar); in applyVariableAttributes()
DCodeViewDebug.h95 const DILocalVariable *DIVar = nullptr; member
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp593 DILocalVariable *DIVar = nullptr; in parseStackObjectsDebugInfo() local
596 if (typecheckMDNode(DIVar, Var, Object.DebugVar, "DILocalVariable", *this) || in parseStackObjectsDebugInfo()
600 PFS.MF.getMMI().setVariableDbgInfo(DIVar, DIExpr, unsigned(FrameIdx), DILoc); in parseStackObjectsDebugInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp718 DILocalVariable *DIVar = nullptr; in parseStackObjectsDebugInfo() local
721 if (typecheckMDNode(DIVar, Var, Object.DebugVar, "DILocalVariable", *this) || in parseStackObjectsDebugInfo()
725 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()