| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXPrologEpilogPass.cpp | 79 const DIExpression *DIExpr = MI.getDebugExpression(); in runOnMachineFunction() local 81 … DIExpr = TRI.prependOffsetExpression(MI.getDebugExpression(), DIExpression::ApplyOffset, Offset); in runOnMachineFunction() 86 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, OpIdx); in runOnMachineFunction() 88 MI.getDebugExpressionOp().setMetadata(DIExpr); in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugHandlerBase.cpp | 47 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction() local 48 auto Op = DIExpr->expr_op_begin(); in extractFromMachineInstruction() 58 while (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction() 63 if (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction()
|
| H A D | DbgEntityHistoryCalculator.cpp | 374 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue() local 379 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
|
| H A D | DwarfExpression.cpp | 398 const DIExpression *DIExpr) { in setLocation() argument 402 if (DIExpr->isEntryValue()) in setLocation()
|
| H A D | DwarfCompileUnit.cpp | 1477 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress() local 1478 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress() 1479 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress() 1481 DIExpressionCursor Cursor(DIExpr); in addComplexAddress() 1483 if (DIExpr->isEntryValue()) in addComplexAddress()
|
| H A D | DwarfExpression.h | 157 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
|
| H A D | DwarfDebug.cpp | 2558 auto *DIExpr = Value.getExpression(); in emitDebugLocValue() local 2559 DIExpressionCursor ExprCursor(DIExpr); in emitDebugLocValue() 2560 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue() 2564 if (DIExpr && DIExpr->isEntryValue()) { in emitDebugLocValue() 2570 DwarfExpr.setLocation(Location, DIExpr); in emitDebugLocValue()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | PrologEpilogInserter.cpp | 1373 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndices() local 1383 if (!MI.isIndirectDebugValue() && !DIExpr->isComplex()) in replaceFrameIndices() 1390 if (MI.isIndirectDebugValue() && DIExpr->isImplicit()) { in replaceFrameIndices() 1393 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndices() 1397 DIExpr = TRI.prependOffsetExpression(DIExpr, PrependFlags, Offset); in replaceFrameIndices() 1405 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, DebugOpIndex); in replaceFrameIndices() 1407 MI.getDebugExpressionOp().setMetadata(DIExpr); in replaceFrameIndices()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 202 DbgValueProperties(const DIExpression *DIExpr, bool Indirect) in DbgValueProperties() argument 203 : DIExpr(DIExpr), Indirect(Indirect) {} in DbgValueProperties() 208 DIExpr = MI.getDebugExpression(); in DbgValueProperties() 213 return std::tie(DIExpr, Indirect) == std::tie(Other.DIExpr, Other.Indirect); 220 const DIExpression *DIExpr; variable
|
| H A D | VarLocBasedImpl.cpp | 522 const DIExpression *DIExpr = Expr; in BuildDbgValue() local 550 DIExpr = TRI->prependOffsetExpression( in BuildDbgValue() 551 DIExpr, DIExpression::ApplyOffset | Deref, in BuildDbgValue() 558 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue() 571 return BuildMI(MF, DbgLoc, IID, Indirect, MOs, Var, DIExpr); in BuildDbgValue()
|
| H A D | InstrRefBasedImpl.cpp | 444 if (!isEntryValueVariable(Var, Prop.DIExpr)) in recoverAsEntryValue() 453 DIExpression::prepend(Prop.DIExpr, DIExpression::EntryValue); in recoverAsEntryValue() 657 MIB.addMetadata(Properties.DIExpr); in emitMOLoc() 683 if (Properties.DIExpr) in dump() 684 dbgs() << " " << *Properties.DIExpr; in dump() 864 const DIExpression *Expr = Properties.DIExpr; in emitLoc() 2858 assert(BlockLiveIn->Properties.DIExpr->getFragmentInfo() == in buildVLocValueMap()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1388 DIExpression *DIExpr, in PhiHasDebugValue() argument 1458 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1484 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1512 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1515 if (PhiHasDebugValue(DIVar, DIExpr, APN)) in ConvertDebugDeclareToDebugValue() 1695 auto *DIExpr = DII->getExpression(); in replaceDbgDeclare() local 1697 DIExpr = DIExpression::prepend(DIExpr, DIExprFlags, Offset); in replaceDbgDeclare() 1710 auto *DIExpr = DVI->getExpression(); in replaceOneDbgValueForAlloca() local 1716 if (!DIExpr || DIExpr->getNumElements() < 1 || in replaceOneDbgValueForAlloca() 1717 DIExpr->getElement(0) != dwarf::DW_OP_deref) in replaceOneDbgValueForAlloca() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 889 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local 892 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || in parseStackObjectsDebugInfo() 895 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | MetadataLoader.cpp | 534 if (auto *DIExpr = DDI->getExpression()) in upgradeDeclareExpressions() local 535 if (DIExpr->startsWithDeref() && in upgradeDeclareExpressions() 538 Ops.append(std::next(DIExpr->elements_begin()), in upgradeDeclareExpressions() 539 DIExpr->elements_end()); in upgradeDeclareExpressions()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 3636 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, 3639 Fragment(DIExpr ? DIExpr->getFragmentInfo() : NoneType()),
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 10007 auto *DIExpr = DV->getExpression(); in salvageDebugInfo() local 10020 DIExpr = DIExpression::appendOpsToArg(DIExpr, ExprOps, i, true); in salvageDebugInfo() 10027 SDDbgValue *Clone = getDbgValueList(DV->getVariable(), DIExpr, in salvageDebugInfo() 10036 dbgs() << " into " << *DIExpr << '\n'); in salvageDebugInfo()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 4681 llvm::DIExpression *DIExpr = llvm::DIExpression::get(Ctx, Ops); in EmitOMPTaskBasedDirective() local 4682 Last.setOperand(2, llvm::MetadataAsValue::get(Ctx, DIExpr)); in EmitOMPTaskBasedDirective()
|