/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DebugProgramInstruction.h | 85 DIExpression *Expression; 87 DIExpression *AddressExpression; 126 DPValue(Metadata *Location, DILocalVariable *DV, DIExpression *Expr, 130 DIExpression *AddressExpression, const DILocation *DI); 133 DIExpression *Expression, 135 DIExpression *AddressExpression, 139 DIExpression *Expression, 220 DIExpression *NewExpr); 224 void setExpression(DIExpression *NewExpr) { Expression = NewExpr; } in setExpression() 245 DIExpression *getExpression() const { return Expression; } in getExpression() [all …]
|
H A D | DIBuilder.h | 94 DIExpression *Expr, const DILocation *DL, 111 DIExpression *Expr, const DILocation *DL, 243 DIExpression *StringLengthExp, 562 PointerUnion<DIExpression *, DIVariable *> Allocated = nullptr, 563 PointerUnion<DIExpression *, DIVariable *> Rank = nullptr); 687 DIExpression *Expr = nullptr, MDNode *Decl = nullptr, 745 DIExpression *createConstantValueExpression(uint64_t Val) { in createConstantValueExpression() 746 return DIExpression::get( in createConstantValueExpression() 945 DIExpression *AddrExpr, 980 DIExpression *Expr, [all …]
|
H A D | DebugInfoMetadata.h | 2670 ~DIExpression() = default; 2839 static DIExpression::FragmentInfo intersect(DIExpression::FragmentInfo A, in intersect() 2886 static const DIExpression *convertToUndefExpression(const DIExpression *Expr); 2943 static const DIExpression *extractAddressClass(const DIExpression *Expr, 2957 static DIExpression *prepend(const DIExpression *Expr, uint8_t Flags, 2962 static DIExpression *prependOpcodes(const DIExpression *Expr, 2971 static DIExpression *append(const DIExpression *Expr, ArrayRef<uint64_t> Ops); 2977 static DIExpression *appendToStack(const DIExpression *Expr, 2984 static DIExpression *appendOpsToArg(const DIExpression *Expr, 2994 static DIExpression *replaceArg(const DIExpression *Expr, uint64_t OldArg, [all …]
|
H A D | IntrinsicInst.h | 265 bool isKillLocation(const DIExpression *Expression) const { in isKillLocation() 320 DIExpression *NewExpr); 326 void setExpression(DIExpression *NewExpr) { in setExpression() 363 DIExpression *getExpression() const { in getExpression() 364 return cast<DIExpression>(getRawExpression()); in getExpression() 395 std::optional<DIExpression::FragmentInfo> getFragment() const { in getFragment() 402 DIExpression::FragmentInfo getFragmentOrEntireVariable() const { in getFragmentOrEntireVariable() 403 DIExpression::FragmentInfo VariableSlice(0, 0); in getFragmentOrEntireVariable() 502 DIExpression *getAddressExpression() const { in getAddressExpression() 503 return cast<DIExpression>(getRawAddressExpression()); in getAddressExpression() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugInfoMetadata.cpp | 1355 DIExpression *DIExpression::getImpl(LLVMContext &Context, in getImpl() 1584 DIExpression::convertToUndefExpression(const DIExpression *Expr) { in convertToUndefExpression() 1647 bool DIExpression::isEqualExpression(const DIExpression *FirstExpr, in isEqualExpression() 1726 const DIExpression *DIExpression::extractAddressClass(const DIExpression *Expr, in extractAddressClass() 1751 DIExpression *DIExpression::prepend(const DIExpression *Expr, uint8_t Flags, in prepend() 1767 DIExpression *DIExpression::appendOpsToArg(const DIExpression *Expr, in appendOpsToArg() 1802 DIExpression *DIExpression::replaceArg(const DIExpression *Expr, in replaceArg() 1824 DIExpression *DIExpression::prependOpcodes(const DIExpression *Expr, in prependOpcodes() 1857 DIExpression *DIExpression::append(const DIExpression *Expr, in append() 1881 DIExpression *DIExpression::appendToStack(const DIExpression *Expr, in appendToStack() [all …]
|
H A D | DebugProgramInstruction.cpp | 47 DPValue::DPValue(Metadata *Location, DILocalVariable *DV, DIExpression *Expr, in DPValue() 53 DIExpression *Expression, DIAssignID *AssignID, in DPValue() 54 Metadata *Address, DIExpression *AddressExpression, in DPValue() 63 DIExpression *Expr, const DILocation *DI) { in createDPValue() 69 DIExpression *Expr, const DILocation *DI, in createDPValue() 83 DIExpression *Expr, const DILocation *DI, in createDPVDeclare() 91 DIExpression *Expression, in createDPVAssign() 93 DIExpression *AddressExpression, in createDPVAssign() 101 DIExpression *Expression, in createLinkedDPVAssign() 103 DIExpression *AddressExpression, in createLinkedDPVAssign() [all …]
|
H A D | DIBuilder.cpp | 577 isa<DIExpression *>(DL) ? (Metadata *)cast<DIExpression *>(DL) in createArrayType() 579 isa<DIExpression *>(AS) ? (Metadata *)cast<DIExpression *>(AS) in createArrayType() 581 isa<DIExpression *>(AL) ? (Metadata *)cast<DIExpression *>(AL) in createArrayType() 583 isa<DIExpression *>(RK) ? (Metadata *)cast<DIExpression *>(RK) in createArrayType() 709 return isa<DIExpression *>(Bound) ? (Metadata *)cast<DIExpression *>(Bound) in getOrCreateGenericSubrange() 729 DIExpression *Expr, MDNode *Decl, MDTuple *TemplateParams, in createGlobalVariableExpression() 818 return DIExpression::get(VMContext, Addr); in createExpression() 947 Value *Addr, DIExpression *AddrExpr, in insertDbgAssign() 988 DIExpression *Expr, in insertDbgValueIntrinsic() 1000 DIExpression *Expr, in insertDbgValueIntrinsic() [all …]
|
H A D | DebugInfo.cpp | 1843 static DIExpression::FragmentInfo 1845 DIExpression::FragmentInfo VariableSlice(0, 0); in getFragmentOrEntireVariable() 1854 static DIExpression::FragmentInfo 1856 DIExpression::FragmentInfo VariableSlice(0, 0); in getFragmentOrEntireVariable() 1868 std::optional<DIExpression::FragmentInfo> &Result) { in calculateFragmentIntersectImpl() 1964 DIExpression::FragmentInfo VarFrag = in calculateFragmentIntersectImpl() 1996 DIExpression::FragmentInfo TrimmedSliceOfVariable = in calculateFragmentIntersectImpl() 2007 std::optional<DIExpression::FragmentInfo> &Result) { in calculateFragmentIntersect() 2014 std::optional<DIExpression::FragmentInfo> &Result) { in calculateFragmentIntersect() 2099 DIExpression *Expr = in emitDbgAssign() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfExpression.h | 37 DIExpression::expr_op_iterator Start, End; 40 DIExpressionCursor(const DIExpression *Expr) { in DIExpressionCursor() 55 std::optional<DIExpression::ExprOperand> take() { in take() 65 std::optional<DIExpression::ExprOperand> peek() const { in peek() 72 std::optional<DIExpression::ExprOperand> peekNext() const { in peekNext() 86 DIExpression::expr_op_iterator begin() const { return Start; } in begin() 87 DIExpression::expr_op_iterator end() const { return End; } in end() 90 std::optional<DIExpression::FragmentInfo> getFragmentInfo() const { in getFragmentInfo() 91 return DIExpression::getFragmentInfo(Start, End); in getFragmentInfo() 156 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr); [all …]
|
H A D | DebugLocEntry.h | 113 const DIExpression *Expression; 120 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs) in DbgValueLoc() 124 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs, in DbgValueLoc() 137 DbgValueLoc(const DIExpression *Expr, DbgValueLocEntry Loc) in DbgValueLoc() 155 if (!DIExpression::isEqualExpression(Expression, ThisIsIndirect, in isEquivalent() 169 const DIExpression *getExpression() const { return Expression; } in getExpression()
|
H A D | DwarfDebug.h | 113 const DIExpression *Expr; 122 const DIExpression &Expr; 133 const DIExpression *Expr; 139 const DIExpression *getExpr() const { return Expr; } in getExpr() 163 explicit MMI(const DIExpression *E, int FI) : FrameIndexExprs({{FI, E}}) { in MMI() 167 void addFrameIndexExpr(const DIExpression *Expr, int FI); 174 explicit EntryValue(MCRegister Reg, const DIExpression &Expr) { in EntryValue() 180 void addExpr(MCRegister Reg, const DIExpression &Expr) { in addExpr() 181 std::optional<const DIExpression *> NonVariadicExpr = in addExpr() 182 DIExpression::convertToNonVariadicExpression(&Expr); in addExpr()
|
H A D | DwarfDebug.cpp | 236 const DIExpression *Expr = MI->getDebugExpression(); in getDebugLocValue() 574 const DIExpression *Expr; 584 static const DIExpression *combineDIExpressions(const DIExpression *Original, in combineDIExpressions() 590 const DIExpression *CombinedExpr = in combineDIExpressions() 613 const DIExpression *CombinedExpr = in finishCallSiteParams() 630 const DIExpression *Expr, in addToFwdRegWorklist() 657 const DIExpression *EmptyExpr = in interpretValues() 658 DIExpression::get(MF->getFunction().getContext(), {}); in interpretValues() 814 const DIExpression *EmptyExpr = in collectCallSiteParameters() 815 DIExpression::get(MF->getFunction().getContext(), {}); in collectCallSiteParameters() [all …]
|
H A D | DwarfExpression.cpp | 324 if (any_of(ExprCursor, [](DIExpression::ExprOperand Op) -> bool { in addMachineRegExpression() 398 const DIExpression *DIExpr) { in setLocation() 498 std::optional<DIExpression::ExprOperand> PrevConvertOp; in addExpression() 680 void DwarfExpression::addFragmentOffset(const DIExpression *Expr) { in addFragmentOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetRegisterInfo.cpp | 650 DIExpression::appendOffset(Ops, Offset.getFixed()); in getOffsetOpcodes() 653 DIExpression * 654 TargetRegisterInfo::prependOffsetExpression(const DIExpression *Expr, in prependOffsetExpression() 658 ~(DIExpression::DerefBefore | DIExpression::DerefAfter | in prependOffsetExpression() 659 DIExpression::StackValue | DIExpression::EntryValue)) == 0 && in prependOffsetExpression() 662 if (PrependFlags & DIExpression::DerefBefore) in prependOffsetExpression() 665 if (PrependFlags & DIExpression::DerefAfter) in prependOffsetExpression() 667 return DIExpression::prependOpcodes(Expr, OffsetExpr, in prependOffsetExpression() 668 PrependFlags & DIExpression::StackValue, in prependOffsetExpression() 669 PrependFlags & DIExpression::EntryValue); in prependOffsetExpression()
|
H A D | AssignmentTrackingAnalysis.cpp | 264 static std::pair<Value *, DIExpression *> 273 Expression = DIExpression::prependOpcodes( in walkToAllocaAndPrependOffsetDeref() 284 getDerefOffsetInBytes(const DIExpression *DIExpr) { in getDerefOffsetInBytes() 679 const DIExpression *DIExpr = VarLoc.Expr; in addDef() 968 DIExpression *Expr = DIExpression::get(Ctx, std::nullopt); in run() 973 Expr = DIExpression::prepend(Expr, DIExpression::DerefAfter, in run() 1574 Expr = *DIExpression::createFragmentExpression( in emitDbgValue() 1639 DIExpression *DIE = DIExpression::get(I.getContext(), std::nullopt); in processUntaggedInstruction() 2091 static bool fullyContains(DIExpression::FragmentInfo A, in fullyContains() 2092 DIExpression::FragmentInfo B) { in fullyContains() [all …]
|
H A D | CodeGenCommonISel.cpp | 230 auto ExtOps = DIExpression::getExtOps(FromLLT.getSizeInBits(), in getSalvageOpsForTrunc() 274 const DIExpression *SalvagedExpr = DbgMI->getDebugExpression(); in salvageDebugInfoForDbgValue() 280 SalvagedExpr = DIExpression::appendOpsToArg(SalvagedExpr, Ops, 0, true); in salvageDebugInfoForDbgValue()
|
H A D | LiveDebugVariables.cpp | 105 const DIExpression &Expr) in DbgVariableValue() 144 Expression = *DIExpression::createFragmentExpression( in DbgVariableValue() 256 const DIExpression *Expression = nullptr; 290 const std::optional<DIExpression::FragmentInfo> Fragment; 415 bool IsList, const DIExpression &Expr) { in addDef() 857 const DIExpression *Expr = MI.getDebugExpression(); in handleDebugValue() 1698 const DIExpression *Expr = DbgValue.getExpression(); in insertDebugValue() 1704 uint8_t DIExprFlags = DIExpression::ApplyOffset; in insertDebugValue() 1706 DIExprFlags |= DIExpression::DerefAfter; in insertDebugValue() 1711 DIExpression::appendOffset(Ops, SpillOffsets[I]); in insertDebugValue() [all …]
|
H A D | MachineInstr.cpp | 699 if (!DIExpression::isEqualExpression( in isEquivalentDbgInstr() 895 const DIExpression *MachineInstr::getDebugExpression() const { in getDebugExpression() 896 return cast<DIExpression>(getDebugExpressionOp().getMetadata()); in getDebugExpression() 2158 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI() 2174 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI() 2229 static const DIExpression * 2235 const DIExpression *Expr = MI.getDebugExpression(); in computeExprForSpill() 2239 Expr = DIExpression::prepend(Expr, DIExpression::DerefBefore); in computeExprForSpill() 2246 Expr = DIExpression::appendOpsToArg(Expr, Ops, OpIdx); in computeExprForSpill() 2266 const DIExpression *Expr = computeExprForSpill(Orig, SpillReg); in buildDbgValueForSpill() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 61 class DIExpression; variable 113 DIExpression *Expression; 116 DanglingDebugInfo(DILocalVariable *Var, DIExpression *Expr, DebugLoc DL, in DanglingDebugInfo() 122 DIExpression *getExpression() const { return Expression; } in getExpression() 337 DILocalVariable *Var, DIExpression *Expr, 344 const DIExpression *Expr); 358 DIExpression *Expr, DebugLoc DbgLoc, unsigned Order, 362 void handleKillDebugValue(DILocalVariable *Var, DIExpression *Expr, 366 DIExpression *Expression, DebugLoc DL); 680 DIExpression *Expr, DILocation *DL, [all …]
|
H A D | SDNodeDbgValue.h | 24 class DIExpression; variable 147 DIExpression *Expr; 156 SDDbgValue(BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, in SDDbgValue() 183 DIExpression *getExpression() const { return Expr; } in getExpression()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXPrologEpilogPass.cpp | 79 const DIExpression *DIExpr = MI.getDebugExpression(); in runOnMachineFunction() 81 … DIExpr = TRI.prependOffsetExpression(MI.getDebugExpression(), DIExpression::ApplyOffset, Offset); in runOnMachineFunction() 86 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, OpIdx); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | VarLocBasedImpl.cpp | 293 using FragmentInfo = DIExpression::FragmentInfo; 294 using OptFragmentInfo = std::optional<DIExpression::FragmentInfo>; 330 const DIExpression *Expr; 556 const DIExpression *DIExpr = Expr; in BuildDbgValue() 583 auto Deref = Indirect ? DIExpression::DerefAfter : 0; in BuildDbgValue() 585 DIExpr, DIExpression::ApplyOffset | Deref, in BuildDbgValue() 592 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue() 1403 const DIExpression *Expr = MI.getDebugExpression(); in transferDebugValue() 2155 const DIExpression *Expr = MI.getDebugExpression(); in isEntryValueCandidate() 2198 DIExpression *NewExpr = in recordEntryValue() [all …]
|
H A D | InstrRefBasedImpl.h | 277 DbgValueProperties(const DIExpression *DIExpr, bool Indirect, bool IsVariadic) 291 return DIExpression::isEqualExpression(DIExpr, Indirect, Other.DIExpr, 308 const DIExpression *DIExpr; 996 std::pair<const DILocalVariable *, DIExpression::FragmentInfo>; 998 DenseMap<FragmentOfVar, SmallVector<DIExpression::FragmentInfo, 1>>; 1021 VLocTracker(const OverlapMap &O, const DIExpression *EmptyExpr) 1053 std::optional<DIExpression::FragmentInfo> OptFragmentInfo = FragmentInfo; 1080 using FragmentInfo = DIExpression::FragmentInfo; 1081 using OptFragmentInfo = std::optional<DIExpression::FragmentInfo>; 1129 const DIExpression *EmptyExpr;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86OptimizeLEAs.cpp | 578 const DIExpression *Expr = MI.getDebugExpression(); in replaceDebugValue() 582 DIExpression::prepend(Expr, DIExpression::StackValue, AddrDispShift); in replaceDebugValue() 587 DIExpression::appendOffset(Ops, AddrDispShift); in replaceDebugValue() 590 Expr = DIExpression::appendOpsToArg(Expr, Ops, OpIdx); in replaceDebugValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineFunction.h | 51 class DIExpression; variable 420 const DIExpression *Expr; 423 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr, 427 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr, 1284 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr, 1291 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
|