Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp78 const DIExpression *DIExpr = MI.getDebugExpression(); in runOnMachineFunction() local
80DIExpr = TRI.prependOffsetExpression(MI.getDebugExpression(), DIExpression::ApplyOffset, Offset); in runOnMachineFunction()
85 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, OpIdx); in runOnMachineFunction()
87 MI.getDebugExpressionOp().setMetadata(DIExpr); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDebugHandlerBase.cpp48 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction() local
49 auto Op = DIExpr->expr_op_begin(); in extractFromMachineInstruction()
59 while (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction()
64 if (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction()
H A DDbgEntityHistoryCalculator.cpp375 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue() local
380 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
H A DDwarfExpression.cpp381 const DIExpression *DIExpr) { in setLocation() argument
385 if (DIExpr->isEntryValue()) in setLocation()
H A DDwarfCompileUnit.cpp1445 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress() local
1446 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress()
1447 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress()
1449 DIExpressionCursor Cursor(DIExpr); in addComplexAddress()
1451 if (DIExpr->isEntryValue()) in addComplexAddress()
H A DDwarfExpression.h157 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
H A DDwarfDebug.cpp2488 auto *DIExpr = Value.getExpression(); in emitDebugLocValue() local
2489 DIExpressionCursor ExprCursor(DIExpr); in emitDebugLocValue()
2490 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue()
2494 if (DIExpr && DIExpr->isEntryValue()) { in emitDebugLocValue()
2500 DwarfExpr.setLocation(Location, DIExpr); in emitDebugLocValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DPrologEpilogInserter.cpp1236 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndices() local
1246 if (!MI.isIndirectDebugValue() && !DIExpr->isComplex()) in replaceFrameIndices()
1253 if (MI.isIndirectDebugValue() && DIExpr->isImplicit()) { in replaceFrameIndices()
1256 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndices()
1260 DIExpr = TRI.prependOffsetExpression(DIExpr, PrependFlags, Offset); in replaceFrameIndices()
1268 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, DebugOpIndex); in replaceFrameIndices()
1270 MI.getDebugExpressionOp().setMetadata(DIExpr); in replaceFrameIndices()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLocal.cpp1365 DIExpression *DIExpr, in PhiHasDebugValue() argument
1374 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1437 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local
1451 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue()
1455 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue()
1463 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local
1482 LI, DIVar, DIExpr, NewLoc, (Instruction *)nullptr); in ConvertDebugDeclareToDebugValue()
1491 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local
1494 if (PhiHasDebugValue(DIVar, DIExpr, APN)) in ConvertDebugDeclareToDebugValue()
1515 Builder.insertDbgValueIntrinsic(APN, DIVar, DIExpr, NewLoc, &*InsertionPt); in ConvertDebugDeclareToDebugValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp366 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 __anon45b083930211::DbgValueProperties
764 const DIExpression *Expr = Properties.DIExpr; in emitLoc()
858 if (Properties.DIExpr) in dump()
859 dbgs() << " " << *Properties.DIExpr; in dump()
1239 const DIExpression *Expr = ActiveVLocIt->second.Properties.DIExpr; in clobberMloc()
1296 MIB.addMetadata(Properties.DIExpr); in emitMOLoc()
H A DVarLocBasedImpl.cpp540 const DIExpression *DIExpr = Expr; in BuildDbgValue() local
568 DIExpr = in BuildDbgValue()
569 TRI->prependOffsetExpression(DIExpr, DIExpression::ApplyOffset, in BuildDbgValue()
576 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue()
590 return BuildMI(MF, DbgLoc, IID, Indirect, MOs, Var, DIExpr); in BuildDbgValue()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLocal.h300 DIExpression *salvageDebugInfoImpl(Instruction &I, DIExpression *DIExpr,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp845 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local
848 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || in parseStackObjectsDebugInfo()
851 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp547 if (auto *DIExpr = DDI->getExpression()) in upgradeDeclareExpressions() local
548 if (DIExpr->startsWithDeref() && in upgradeDeclareExpressions()
551 Ops.append(std::next(DIExpr->elements_begin()), in upgradeDeclareExpressions()
552 DIExpr->elements_end()); in upgradeDeclareExpressions()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3614 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
3617 Fragment(DIExpr ? DIExpr->getFragmentInfo() : NoneType()),
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp8855 auto *DIExpr = DV->getExpression(); in salvageDebugInfo() local
8868 DIExpr = DIExpression::appendOpsToArg(DIExpr, ExprOps, i, true); in salvageDebugInfo()
8875 SDDbgValue *Clone = getDbgValueList(DV->getVariable(), DIExpr, in salvageDebugInfo()
8884 dbgs() << " into " << *DIExpr << '\n'); in salvageDebugInfo()