/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1042 static bool LdStHasDebugValue(DILocalVariable *DIVar, DIExpression *DIExpr, in LdStHasDebugValue() argument 1054 DVI->getExpression() == DIExpr) in LdStHasDebugValue() 1065 auto *DIExpr = DDI->getExpression(); in ConvertDebugDeclareToDebugValue() local 1086 if (DIExpr->isBitPiece()) { in ConvertDebugDeclareToDebugValue() 1087 Ops.append(DIExpr->elements_begin(), DIExpr->elements_end()-3); in ConvertDebugDeclareToDebugValue() 1088 PieceOffset = DIExpr->getBitPieceOffset(); in ConvertDebugDeclareToDebugValue() 1090 Ops.append(DIExpr->elements_begin(), DIExpr->elements_end()); in ConvertDebugDeclareToDebugValue() 1100 } else if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue() 1101 Builder.insertDbgValueIntrinsic(SI->getOperand(0), 0, DIVar, DIExpr, in ConvertDebugDeclareToDebugValue() 1111 auto *DIExpr = DDI->getExpression(); in ConvertDebugDeclareToDebugValue() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1197 static bool LdStHasDebugValue(DILocalVariable *DIVar, DIExpression *DIExpr, in LdStHasDebugValue() argument 1208 DVI->getExpression() == DIExpr) in LdStHasDebugValue() 1216 DIExpression *DIExpr, in PhiHasDebugValue() argument 1225 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue() 1263 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1275 if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue() 1276 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, DII->getDebugLoc(), in ConvertDebugDeclareToDebugValue() 1296 if (auto Fragment = DIExpr->getFragmentInfo()) { in ConvertDebugDeclareToDebugValue() 1298 SmallVector<uint64_t, 3> Ops(DIExpr->elements_begin(), in ConvertDebugDeclareToDebugValue() 1299 DIExpr->elements_end() - 3); in ConvertDebugDeclareToDebugValue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugHandlerBase.cpp | 43 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction() local 44 auto Op = DIExpr->expr_op_begin(); in extractFromMachineInstruction() 45 while (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction() 50 if (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction()
|
D | DwarfDebug.cpp | 1069 const DIExpression *DIExpr = Begin->getDebugExpression(); in buildLocationList() local 1071 return DIExpr->fragmentsOverlap(R.getExpression()); in buildLocationList() 1094 if (DIExpr->isFragment()) { in buildLocationList() 1733 auto *DIExpr = Value.getExpression(); in emitDebugLocValue() local 1734 DIExpressionCursor ExprCursor(DIExpr); in emitDebugLocValue() 1735 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue() 1747 DIExpressionCursor Cursor(DIExpr); in emitDebugLocValue()
|
D | DwarfCompileUnit.cpp | 975 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress() local 976 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress() 980 DIExpressionCursor Cursor(DIExpr); in addComplexAddress()
|
D | CodeViewDebug.cpp | 1175 const DIExpression *DIExpr = DVInst->getDebugExpression(); in calculateRanges() local 1177 !DIExpr->fragmentsOverlap(J->first->getDebugExpression())) in calculateRanges()
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIRParser.cpp | 594 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local 597 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *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/ |
D | MIRParser.cpp | 719 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local 722 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || in parseStackObjectsDebugInfo() 725 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | MetadataLoader.cpp | 526 if (auto *DIExpr = DDI->getExpression()) in upgradeDeclareExpressions() local 527 if (DIExpr->startsWithDeref() && in upgradeDeclareExpressions() 530 Ops.append(std::next(DIExpr->elements_begin()), in upgradeDeclareExpressions() 531 DIExpr->elements_end()); in upgradeDeclareExpressions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 1074 auto *DIExpr = DIExpression::prepend(MI.getDebugExpression(), in replaceFrameIndices() local 1076 MI.getOperand(3).setMetadata(DIExpr); in replaceFrameIndices()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 846 const DIExpression *DIExpr = Begin->getDebugExpression(); in buildLocationList() local 849 return piecesOverlap(DIExpr, R.getExpression()); in buildLocationList() 872 if (DIExpr->isBitPiece()) { in buildLocationList()
|
D | CodeViewDebug.cpp | 806 const DIExpression *DIExpr = DVInst->getDebugExpression(); in collectVariableInfo() local 809 if (DIExpr && DIExpr->getNumElements() > 0) in collectVariableInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 7520 auto *DIExpr = DV->getExpression(); in salvageDebugInfo() local 7521 DIExpr = DIExpression::prepend(DIExpr, DIExpression::NoDeref, Offset, in salvageDebugInfo() 7525 getDbgValue(DV->getVariable(), DIExpr, N0.getNode(), N0.getResNo(), in salvageDebugInfo() 7531 dbgs() << " into " << *DIExpr << '\n'); in salvageDebugInfo()
|