/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-10.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1213 static bool LdStHasDebugValue(DILocalVariable *DIVar, DIExpression *DIExpr, in LdStHasDebugValue() argument 1224 DVI->getExpression() == DIExpr) in LdStHasDebugValue() 1232 DIExpression *DIExpr, in PhiHasDebugValue() argument 1241 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue() 1292 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1306 if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue() 1307 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue() 1311 if (!LdStHasDebugValue(DIVar, DIExpr, SI)) in ConvertDebugDeclareToDebugValue() 1312 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue() 1320 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugHandlerBase.cpp | 42 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction() local 43 auto Op = DIExpr->expr_op_begin(); in extractFromMachineInstruction() 44 while (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction() 49 if (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction()
|
D | DbgEntityHistoryCalculator.cpp | 170 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue() local 175 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
|
D | DwarfCompileUnit.cpp | 1220 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress() local 1221 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress() 1225 DIExpressionCursor Cursor(DIExpr); in addComplexAddress() 1227 if (DIExpr->isEntryValue()) { in addComplexAddress()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1345 DIExpression *DIExpr, in PhiHasDebugValue() argument 1354 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue() 1405 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1419 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue() 1423 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue() 1431 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1450 LI, DIVar, DIExpr, NewLoc, (Instruction *)nullptr); in ConvertDebugDeclareToDebugValue() 1459 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1462 if (PhiHasDebugValue(DIVar, DIExpr, APN)) in ConvertDebugDeclareToDebugValue() 1483 Builder.insertDbgValueIntrinsic(APN, DIVar, DIExpr, NewLoc, &*InsertionPt); in ConvertDebugDeclareToDebugValue() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugHandlerBase.cpp | 47 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction() local 48 auto Op = DIExpr->expr_op_begin(); in extractFromMachineInstruction() 49 while (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction() 54 if (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction()
|
D | DwarfExpression.cpp | 366 const DIExpression *DIExpr) { in setLocation() argument 371 if (!DIExpr->isEntryValue()) in setLocation() 374 if (DIExpr->isEntryValue()) in setLocation()
|
D | DbgEntityHistoryCalculator.cpp | 354 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue() local 359 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
|
D | DwarfCompileUnit.cpp | 1345 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress() local 1346 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress() 1347 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress() 1349 DIExpressionCursor Cursor(DIExpr); in addComplexAddress() 1351 if (DIExpr->isEntryValue()) in addComplexAddress()
|
D | DwarfExpression.h | 156 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
|
D | DwarfDebug.cpp | 2452 auto *DIExpr = Value.getExpression(); in emitDebugLocValue() local 2453 DIExpressionCursor ExprCursor(DIExpr); in emitDebugLocValue() 2454 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue() 2464 DwarfExpr.setLocation(Location, DIExpr); in emitDebugLocValue() 2465 DIExpressionCursor Cursor(DIExpr); in emitDebugLocValue() 2467 if (DIExpr->isEntryValue()) in emitDebugLocValue()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 76 auto *DIExpr = DIExpression::prepend( in runOnMachineFunction() local 78 MI.getDebugExpressionOp().setMetadata(DIExpr); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 75 auto *DIExpr = DIExpression::prepend( in runOnMachineFunction() local 77 MI.getOperand(3).setMetadata(DIExpr); in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 1219 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndices() local 1227 if (!MI.isIndirectDebugValue() && !DIExpr->isComplex()) in replaceFrameIndices() 1234 if (MI.isIndirectDebugValue() && DIExpr->isImplicit()) { in replaceFrameIndices() 1237 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndices() 1241 DIExpr = DIExpression::prepend(DIExpr, PrependFlags, Offset.getFixed()); in replaceFrameIndices() 1242 MI.getDebugExpressionOp().setMetadata(DIExpr); in replaceFrameIndices()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 1218 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndices() local 1226 if (!MI.isIndirectDebugValue() && !DIExpr->isComplex()) in replaceFrameIndices() 1233 if (MI.isIndirectDebugValue() && DIExpr->isImplicit()) { in replaceFrameIndices() 1236 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndices() 1240 DIExpr = DIExpression::prepend(DIExpr, PrependFlags, Offset); in replaceFrameIndices() 1241 MI.getOperand(3).setMetadata(DIExpr); in replaceFrameIndices()
|
D | LiveDebugValues.cpp | 289 const DIExpression *DIExpr = MI.getDebugExpression(); in BuildDbgValue() local 302 return BuildMI(MF, DbgLoc, IID, Indirect, Loc.RegNo, Var, DIExpr); in BuildDbgValue() 309 DIExpr, DIExpression::ApplyOffset, Loc.SpillLocation.SpillOffset); in BuildDbgValue() 315 return BuildMI(MF, DbgLoc, IID, Indirect, MO, Var, DIExpr); in BuildDbgValue()
|
/external/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
D | InstrRefBasedImpl.cpp | 366 DbgValueProperties(const DIExpression *DIExpr, bool Indirect) in DbgValueProperties() argument 367 : DIExpr(DIExpr), Indirect(Indirect) {} in DbgValueProperties() 372 DIExpr = MI.getDebugExpression(); in DbgValueProperties() 377 return std::tie(DIExpr, Indirect) == std::tie(Other.DIExpr, Other.Indirect); in operator ==() 384 const DIExpression *DIExpr; member in __anon84c0493f0211::DbgValueProperties 763 const DIExpression *Expr = Properties.DIExpr; in emitLoc() 855 if (Properties.DIExpr) in dump() 856 dbgs() << " " << *Properties.DIExpr; in dump() 1236 const DIExpression *Expr = ActiveVLocIt->second.Properties.DIExpr; in clobberMloc() 1292 MIB.addMetadata(Properties.DIExpr); in emitMOLoc()
|
D | VarLocBasedImpl.cpp | 433 const DIExpression *DIExpr = MI.getDebugExpression(); in BuildDbgValue() local 447 return BuildMI(MF, DbgLoc, IID, Indirect, Loc.RegNo, Var, DIExpr); in BuildDbgValue() 454 DIExpr, DIExpression::ApplyOffset, Loc.SpillLocation.SpillOffset); in BuildDbgValue() 460 return BuildMI(MF, DbgLoc, IID, Indirect, MO, Var, DIExpr); in BuildDbgValue()
|
/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/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 326 DIExpression *salvageDebugInfoImpl(Instruction &I, DIExpression *DIExpr,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/ |
D | MIRParser.cpp | 798 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local 801 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || in parseStackObjectsDebugInfo() 804 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 370 DIExpression *salvageDebugInfoImpl(Instruction &I, DIExpression *DIExpr,
|
/external/llvm-project/llvm/lib/CodeGen/MIRParser/ |
D | MIRParser.cpp | 844 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local 847 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || in parseStackObjectsDebugInfo() 850 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | MetadataLoader.cpp | 536 if (auto *DIExpr = DDI->getExpression()) in upgradeDeclareExpressions() local 537 if (DIExpr->startsWithDeref() && in upgradeDeclareExpressions() 540 Ops.append(std::next(DIExpr->elements_begin()), in upgradeDeclareExpressions() 541 DIExpr->elements_end()); in upgradeDeclareExpressions()
|