| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 238 DbgValueProperties(const DIExpression *DIExpr, bool Indirect, bool IsVariadic) 239 : DIExpr(DIExpr), Indirect(Indirect), IsVariadic(IsVariadic) {} 247 DIExpr = MI.getDebugExpression(); 252 return DIExpression::isEqualExpression(DIExpr, Indirect, Other.DIExpr, 257 return std::tie(DIExpr, Indirect, IsVariadic) == 258 std::tie(Other.DIExpr, Other.Indirect, Other.IsVariadic); 266 return IsVariadic ? DIExpr->getNumLocationOperands() : 1; 269 const DIExpression *DIExpr;
|
| H A D | InstrRefBasedImpl.cpp | 633 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue() local 640 DIExpression::convertToNonVariadicExpression(DIExpr); in recoverAsEntryValue() 643 DIExpr = *NonVariadicExpression; in recoverAsEntryValue() 647 if (!isEntryValueVariable(Var, DIExpr)) in recoverAsEntryValue() 656 DIExpression::prepend(DIExpr, DIExpression::EntryValue); in recoverAsEntryValue() 932 MIB.addMetadata(Properties.DIExpr); in emitMOLoc() 984 if (Properties.DIExpr) in dump() 985 dbgs() << " " << *Properties.DIExpr; in dump() 1194 Properties.DIExpr); in emitLoc() 1204 const DIExpression *Expr = Properties.DIExpr; in emitLoc() [all …]
|
| H A D | VarLocBasedImpl.cpp | 556 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugHandlerBase.cpp | 46 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction() local 47 auto Op = DIExpr->expr_op_begin(); in extractFromMachineInstruction() 57 while (Op != DIExpr->expr_op_end()) { in extractFromMachineInstruction() 62 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 | 1482 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress() local 1483 DwarfExpr.addFragmentOffset(DIExpr); in addComplexAddress() 1484 DwarfExpr.setLocation(Location, DIExpr); in addComplexAddress() 1486 DIExpressionCursor Cursor(DIExpr); in addComplexAddress() 1488 if (DIExpr->isEntryValue()) in addComplexAddress()
|
| H A D | DwarfExpression.h | 156 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
|
| H A D | DwarfDebug.cpp | 2594 auto *DIExpr = Value.getExpression(); in emitDebugLocValue() local 2595 DIExpressionCursor ExprCursor(DIExpr); in emitDebugLocValue() 2596 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue() 2600 if (DIExpr && DIExpr->isEntryValue()) { in emitDebugLocValue() 2606 DwarfExpr.setLocation(Location, DIExpr); in emitDebugLocValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1464 DIExpression *DIExpr, in PhiHasDebugValue() argument 1473 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue() 1522 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1536 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue() 1540 Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, SI); in ConvertDebugDeclareToDebugValue() 1548 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1567 LI, DIVar, DIExpr, NewLoc, (Instruction *)nullptr); in ConvertDebugDeclareToDebugValue() 1576 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue() local 1579 if (PhiHasDebugValue(DIVar, DIExpr, APN)) in ConvertDebugDeclareToDebugValue() 1600 Builder.insertDbgValueIntrinsic(APN, DIVar, DIExpr, NewLoc, &*InsertionPt); in ConvertDebugDeclareToDebugValue() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | AssignmentTrackingAnalysis.cpp | 233 getDerefOffsetInBytes(const DIExpression *DIExpr) { in getDerefOffsetInBytes() argument 235 const unsigned NumElements = DIExpr->getNumElements(); in getDerefOffsetInBytes() 236 const auto Elements = DIExpr->getElements(); in getDerefOffsetInBytes() 582 const DIExpression *DIExpr = VarLoc.Expr; in addDef() local 585 if (auto Frag = DIExpr->getFragmentInfo()) { in addDef() 601 const auto DerefOffsetInBytes = getDerefOffsetInBytes(DIExpr); in addDef()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 903 DIExpression *DIExpr = nullptr; in parseStackObjectsDebugInfo() local 906 typecheckMDNode(DIExpr, Expr, Object.DebugExpr, "DIExpression", *this) || in parseStackObjectsDebugInfo() 909 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/ |
| H A D | MetadataLoader.cpp | 533 if (auto *DIExpr = DDI->getExpression()) in upgradeDeclareExpressions() local 534 if (DIExpr->startsWithDeref() && in upgradeDeclareExpressions() 537 Ops.append(std::next(DIExpr->elements_begin()), in upgradeDeclareExpressions() 538 DIExpr->elements_end()); in upgradeDeclareExpressions()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 3744 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, 3747 Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 10258 auto *DIExpr = DV->getExpression(); in salvageDebugInfo() local 10271 DIExpr = DIExpression::appendOpsToArg(DIExpr, ExprOps, i, true); in salvageDebugInfo() 10278 SDDbgValue *Clone = getDbgValueList(DV->getVariable(), DIExpr, in salvageDebugInfo() 10287 dbgs() << " into " << *DIExpr << '\n'); in salvageDebugInfo()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 4734 llvm::DIExpression *DIExpr = llvm::DIExpression::get(Ctx, Ops); in EmitOMPTaskBasedDirective() local 4735 Last.setOperand(2, llvm::MetadataAsValue::get(Ctx, DIExpr)); in EmitOMPTaskBasedDirective()
|