/llvm-project/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/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 1612 DIExpression *DIExpr, in valueCoversEntireFragment() 1622 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in valueCoversEntireFragment() 1627 if ((DVR->getVariable() == DIVar) && (DVR->getExpression() == DIExpr)) 1695 DIExpression *DIExpr, in ConvertDebugDeclareToDebugValue() 1699 auto DbgVal = Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, in ConvertDebugDeclareToDebugValue() 1707 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in ConvertDebugDeclareToDebugValue() 1713 DIBuilder &Builder, Value *DV, DILocalVariable *DIVar, DIExpression *DIExpr, in ConvertDebugDeclareToDebugValue() 1716 auto DbgVal = Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, in ConvertDebugDeclareToDebugValue() 1724 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in ConvertDebugDeclareToDebugValue() 1736 auto *DIExpr 1572 PhiHasDebugValue(DILocalVariable * DIVar,DIExpression * DIExpr,PHINode * APN) PhiHasDebugValue() argument 1655 insertDbgValueOrDbgVariableRecord(DIBuilder & Builder,Value * DV,DILocalVariable * DIVar,DIExpression * DIExpr,const DebugLoc & NewLoc,BasicBlock::iterator Instr) insertDbgValueOrDbgVariableRecord() argument 1673 insertDbgValueOrDbgVariableRecordAfter(DIBuilder & Builder,Value * DV,DILocalVariable * DIVar,DIExpression * DIExpr,const DebugLoc & NewLoc,BasicBlock::iterator Instr) insertDbgValueOrDbgVariableRecordAfter() argument 1696 auto *DIExpr = DII->getExpression(); ConvertDebugDeclareToDebugValue() local 1739 auto *DIExpr = DII->getExpression(); ConvertDebugDeclareToDebugValue() local 1766 auto *DIExpr = DVR->getExpression(); ConvertDebugDeclareToDebugValue() local 1813 auto *DIExpr = DII->getExpression(); ConvertDebugDeclareToDebugValue() local 1845 auto *DIExpr = DVR->getExpression(); ConvertDebugDeclareToDebugValue() local 1885 auto *DIExpr = DVR->getExpression(); ConvertDebugDeclareToDebugValue() local 2140 auto *DIExpr = DII->getExpression(); replaceDbgDeclare() local 2154 updateOneDbgValueForAlloca(const DebugLoc & Loc,DILocalVariable * DIVar,DIExpression * DIExpr,Value * NewAddress,DbgValueInst * DVI,DbgVariableRecord * DVR,DIBuilder & Builder,int Offset) updateOneDbgValueForAlloca() argument [all...] |
/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.h | 315 DbgValueProperties(const DIExpression *DIExpr, bool Indirect, bool IsVariadic) 316 : DIExpr(DIExpr), Indirect(Indirect), IsVariadic(IsVariadic) {} 324 DIExpr = MI.getDebugExpression(); 329 return DIExpression::isEqualExpression(DIExpr, Indirect, Other.DIExpr, 334 return std::tie(DIExpr, Indirect, IsVariadic) == 335 std::tie(Other.DIExpr, Other.Indirect, Other.IsVariadic); 343 return IsVariadic ? DIExpr->getNumLocationOperands() : 1; 346 const DIExpression *DIExpr; [all...] |
H A D | InstrRefBasedImpl.cpp | 658 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue() 665 DIExpression::convertToNonVariadicExpression(DIExpr); 668 DIExpr = *NonVariadicExpression; in redefVar() 674 if (!isEntryValueVariable(Var, DIExpr)) in redefVar() 683 DIExpression::prepend(DIExpr, DIExpression::EntryValue); in redefVar() 963 MIB.addMetadata(Properties.DIExpr); in dump() 1015 if (Properties.DIExpr) in MLocTracker() 1016 dbgs() << " " << *Properties.DIExpr; in MLocTracker() 1223 Properties.DIExpr); in emitLoc() 633 const DIExpression *DIExpr = Prop.DIExpr; recoverAsEntryValue() local [all...] |
H A D | VarLocBasedImpl.cpp | 559 const DIExpression *DIExpr = Expr; in BuildDbgValue() 587 DIExpr = TRI->prependOffsetExpression( in BuildDbgValue() 588 DIExpr, DIExpression::ApplyOffset | Deref, in BuildDbgValue() 595 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue() 612 return BuildMI(MF, DbgLoc, IID, Indirect, MOs, Var, DIExpr); 556 const DIExpression *DIExpr = Expr; BuildDbgValue() local
|
/llvm-project/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 | 381 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue() local 386 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
|
H A D | DwarfExpression.h | 94 /// Set the location (\p Loc) and \ref DIExpression (\p DIExpr) to describe. 95 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
|
H A D | DwarfExpression.cpp | 405 const DIExpression *DIExpr) { in setLocation() 409 if (DIExpr->isEntryValue()) in beginEntryValueExpression() 399 setLocation(const MachineLocation & Loc,const DIExpression * DIExpr) setLocation() argument
|
H A D | DwarfCompileUnit.cpp | 1618 void DwarfCompileUnit::addComplexAddress(const DIExpression *DIExpr, DIE &Die, in addComplexAddress() 1623 DwarfExpr.addFragmentOffset(DIExpr); 1624 DwarfExpr.setLocation(Location, DIExpr); in addLocationList() 1626 DIExpressionCursor Cursor(DIExpr); in addLocationList() 1628 if (DIExpr->isEntryValue()) in addLocationList() 1597 addComplexAddress(const DIExpression * DIExpr,DIE & Die,dwarf::Attribute Attribute,const MachineLocation & Location) addComplexAddress() argument
|
H A D | DwarfCompileUnit.h | 361 void addComplexAddress(const DIExpression *DIExpr, DIE &Die,
|
H A D | DwarfDebug.cpp | 2899 auto *DIExpr = Value.getExpression(); in emitRangeList() 2900 DIExpressionCursor ExprCursor(DIExpr); in emitRangeList() 2901 DwarfExpr.addFragmentOffset(DIExpr); in emitRangeList() 2903 // If the DIExpr is an Entry Value, we want to follow the same code path in emitRangeList() 2905 if (DIExpr && DIExpr->isEntryValue()) { in emitRangeList() 2906 // Entry values can only be a single register with no additional DIExpr, in emitRangeList() 2911 DwarfExpr.setLocation(Location, DIExpr); in emitRangeList() 2639 auto *DIExpr = Value.getExpression(); emitDebugLocValue() local
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | PrologEpilogInserter.cpp | 1402 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndexDebugInstr() 1412 if (!MI.isIndirectDebugValue() && !DIExpr->isComplex()) in replaceFrameIndexDebugInstr() 1419 if (MI.isIndirectDebugValue() && DIExpr->isImplicit()) { in replaceFrameIndexDebugInstr() 1422 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndexDebugInstr() 1426 DIExpr = TRI.prependOffsetExpression(DIExpr, PrependFlags, Offset); in replaceFrameIndexDebugInstr() 1434 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, DebugOpIndex); in replaceFrameIndexDebugInstr() 1436 MI.getDebugExpressionOp().setMetadata(DIExpr); in replaceFrameIndexDebugInstr() 1397 const DIExpression *DIExpr = MI.getDebugExpression(); replaceFrameIndexDebugInstr() local [all...] |
H A D | AssignmentTrackingAnalysis.cpp | 283 /// Extract the offset used in \p DIExpr. Returns std::nullopt if the expression 287 getDerefOffsetInBytes(const DIExpression *DIExpr) { in getDerefOffsetInBytes() 289 const unsigned NumElements = DIExpr->getNumElements(); in getDerefOffsetInBytes() 290 const auto Elements = DIExpr->getElements(); in getDerefOffsetInBytes() 681 const DIExpression *DIExpr = VarLoc.Expr; in addDef() 684 if (auto Frag = DIExpr->getFragmentInfo()) { in addDef() 700 const auto DerefOffsetInBytes = getDerefOffsetInBytes(DIExpr); in addDef() 286 getDerefOffsetInBytes(const DIExpression * DIExpr) getDerefOffsetInBytes() argument 680 const DIExpression *DIExpr = VarLoc.Expr; addDef() local
|
/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIRParser.cpp | 137 DIExpression *DIExpr = nullptr; member 908 if (MaybeInfo->DIVar || MaybeInfo->DIExpr || MaybeInfo->DILoc) in parseCalleeSavedRegister() 909 PFS.MF.setVariableDbgInfo(MaybeInfo->DIVar, MaybeInfo->DIExpr, in parseCalleeSavedRegister() 1018 DIExpression *DIExpr = nullptr; in initializeJumpTableInfo() 1021 typecheckMDNode(DIExpr, Expr, ExprStr, "DIExpression", *this) || in initializeJumpTableInfo() 1024 return VarExprLoc{DIVar, DIExpr, DILoc}; in initializeJumpTableInfo() 1036 if (MaybeInfo->DIVar || MaybeInfo->DIExpr || MaybeInfo->DILoc) in parseMBBReference() 1037 PFS.MF.setVariableDbgInfo(MaybeInfo->DIVar, MaybeInfo->DIExpr, FrameIdx, in parseMBBReference() 948 DIExpression *DIExpr = nullptr; parseVarExprLoc() local
|
/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 612 auto *DIExpr = Declare->getExpression(); in upgradeDeclareExpressions() 613 if (!DIExpr || !DIExpr->startsWithDeref() || in upgradeDeclareExpressions() local 617 Ops.append(std::next(DIExpr->elements_begin()), DIExpr->elements_end()); in upgradeDeclareExpressions()
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | DebugInfoMetadata.h | 3051 /// Prepend \p DIExpr with a deref and offset operation and optionally turn it 3056 /// Prepend \p DIExpr with the given opcodes and optionally turn it into a 3063 /// Append the opcodes \p Ops to \p DIExpr. Unlike \ref appendToStack, the 3064 /// returned expression is a stack value only if \p DIExpr is a stack value. 3065 /// If \p DIExpr describes a fragment, the returned expression will describe 3069 /// Convert \p DIExpr into a stack value if it isn't one already by appending 3071 /// If \p DIExpr describes a fragment, the returned expression will describe 4044 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, 4047 Fragment(DIExpr ? DIExpr [all...] |
/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 11516 auto *DIExpr = DV->getExpression(); in calculateDivergence() 11531 DIExpr = DIExpression::appendOpsToArg(DIExpr, ExprOps, i, true); in updateDivergence() 11537 DIExpression::convertToVariadicExpression(DIExpr); 11545 DIExpr = DIExpression::appendOpsToArg(TmpDIExpr, ExprOps, i, true); in CreateTopologicalOrder() 11557 DV->getVariable(), DIExpr, NewLocOps, AdditionalDependencies, 11564 dbgs() << " into " << *DIExpr << '\n'); in VerifyDAGDivergence() 11120 auto *DIExpr = DV->getExpression(); salvageDebugInfo() local
|