Home
last modified time | relevance | path

Searched refs:DIExpr (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp79 const DIExpression *DIExpr = MI.getDebugExpression(); in runOnMachineFunction() local
81DIExpr = 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1578 DIExpression *DIExpr, in PhiHasDebugValue() argument
1588 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1593 if ((DVR->getVariable() == DIVar) && (DVR->getExpression() == DIExpr)) in PhiHasDebugValue()
1661 DIExpression *DIExpr, in insertDbgValueOrDbgVariableRecord() argument
1665 auto DbgVal = Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, in insertDbgValueOrDbgVariableRecord()
1673 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in insertDbgValueOrDbgVariableRecord()
1679 DIBuilder &Builder, Value *DV, DILocalVariable *DIVar, DIExpression *DIExpr, in insertDbgValueOrDbgVariableRecordAfter() argument
1682 auto DbgVal = Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, in insertDbgValueOrDbgVariableRecordAfter()
1690 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in insertDbgValueOrDbgVariableRecordAfter()
1702 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp47 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 DDbgEntityHistoryCalculator.cpp381 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue() local
386 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
H A DDwarfExpression.h95 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
H A DDwarfExpression.cpp399 const DIExpression *DIExpr) { in setLocation() argument
403 if (DIExpr->isEntryValue()) in setLocation()
H A DDwarfCompileUnit.cpp1597 void DwarfCompileUnit::addComplexAddress(const DIExpression *DIExpr, DIE &Die, in addComplexAddress() argument
1602 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress()
1603 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress()
1605 DIExpressionCursor Cursor(DIExpr); in addComplexAddress()
1607 if (DIExpr->isEntryValue()) in addComplexAddress()
H A DDwarfCompileUnit.h359 void addComplexAddress(const DIExpression *DIExpr, DIE &Die,
H A DDwarfDebug.cpp2639 auto *DIExpr = Value.getExpression(); in emitDebugLocValue() local
2640 DIExpressionCursor ExprCursor(DIExpr); in emitDebugLocValue()
2641 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue()
2645 if (DIExpr && DIExpr->isEntryValue()) { in emitDebugLocValue()
2651 DwarfExpr.setLocation(Location, DIExpr); in emitDebugLocValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h315 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;
H A DInstrRefBasedImpl.cpp659 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue() local
666 DIExpression::convertToNonVariadicExpression(DIExpr); in recoverAsEntryValue()
669 DIExpr = *NonVariadicExpression; in recoverAsEntryValue()
675 if (!isEntryValueVariable(Var, DIExpr)) in recoverAsEntryValue()
684 DIExpression::prepend(DIExpr, DIExpression::EntryValue); in recoverAsEntryValue()
964 MIB.addMetadata(Properties.DIExpr); in emitMOLoc()
1016 if (Properties.DIExpr) in dump()
1017 dbgs() << " " << *Properties.DIExpr; in dump()
1224 Properties.DIExpr); in emitLoc()
1234 const DIExpression *Expr = Properties.DIExpr; in emitLoc()
[all …]
H A DVarLocBasedImpl.cpp556 const DIExpression *DIExpr = Expr; in BuildDbgValue() local
584 DIExpr = TRI->prependOffsetExpression( in BuildDbgValue()
585 DIExpr, DIExpression::ApplyOffset | Deref, in BuildDbgValue()
592 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue()
609 return BuildMI(MF, DbgLoc, IID, Indirect, MOs, Var, DIExpr); in BuildDbgValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPrologEpilogInserter.cpp1400 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndexDebugInstr() local
1410 if (!MI.isIndirectDebugValue() && !DIExpr->isComplex()) in replaceFrameIndexDebugInstr()
1417 if (MI.isIndirectDebugValue() && DIExpr->isImplicit()) { in replaceFrameIndexDebugInstr()
1420 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndexDebugInstr()
1424 DIExpr = TRI.prependOffsetExpression(DIExpr, PrependFlags, Offset); in replaceFrameIndexDebugInstr()
1432 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, DebugOpIndex); in replaceFrameIndexDebugInstr()
1434 MI.getDebugExpressionOp().setMetadata(DIExpr); in replaceFrameIndexDebugInstr()
H A DAssignmentTrackingAnalysis.cpp286 getDerefOffsetInBytes(const DIExpression *DIExpr) { in getDerefOffsetInBytes() argument
288 const unsigned NumElements = DIExpr->getNumElements(); in getDerefOffsetInBytes()
289 const auto Elements = DIExpr->getElements(); in getDerefOffsetInBytes()
680 const DIExpression *DIExpr = VarLoc.Expr; in addDef() local
683 if (auto Frag = DIExpr->getFragmentInfo()) { in addDef()
699 const auto DerefOffsetInBytes = getDerefOffsetInBytes(DIExpr); in addDef()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp137 DIExpression *DIExpr = nullptr; member
838 if (MaybeInfo->DIVar || MaybeInfo->DIExpr || MaybeInfo->DILoc) in initializeFrameInfo()
839 PFS.MF.setVariableDbgInfo(MaybeInfo->DIVar, MaybeInfo->DIExpr, in initializeFrameInfo()
948 DIExpression *DIExpr = nullptr; in parseVarExprLoc() local
951 typecheckMDNode(DIExpr, Expr, ExprStr, "DIExpression", *this) || in parseVarExprLoc()
954 return VarExprLoc{DIVar, DIExpr, DILoc}; in parseVarExprLoc()
966 if (MaybeInfo->DIVar || MaybeInfo->DIExpr || MaybeInfo->DILoc) in parseStackObjectsDebugInfo()
967 PFS.MF.setVariableDbgInfo(MaybeInfo->DIVar, MaybeInfo->DIExpr, FrameIdx, in parseStackObjectsDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp613 auto *DIExpr = Declare->getExpression(); in upgradeDeclareExpressions() local
614 if (!DIExpr || !DIExpr->startsWithDeref() || in upgradeDeclareExpressions()
618 Ops.append(std::next(DIExpr->elements_begin()), DIExpr->elements_end()); in upgradeDeclareExpressions()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h4008 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
4011 Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11189 auto *DIExpr = DV->getExpression(); in salvageDebugInfo() local
11204 DIExpr = DIExpression::appendOpsToArg(DIExpr, ExprOps, i, true); in salvageDebugInfo()
11210 DIExpression::convertToVariadicExpression(DIExpr); in salvageDebugInfo()
11218 DIExpr = DIExpression::appendOpsToArg(TmpDIExpr, ExprOps, i, true); in salvageDebugInfo()
11230 DV->getVariable(), DIExpr, NewLocOps, AdditionalDependencies, in salvageDebugInfo()
11237 dbgs() << " into " << *DIExpr << '\n'); in salvageDebugInfo()