| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | DebugInfoMetadata.cpp | 33 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = { 375 isa<DIExpression>(CB)) && in getCount() 384 if (auto *MD = dyn_cast<DIExpression>(CB)) in getCount() 396 isa<DIExpression>(LB)) && in getLowerBound() 405 if (auto *MD = dyn_cast<DIExpression>(LB)) in getLowerBound() 417 isa<DIExpression>(UB)) && in getUpperBound() 426 if (auto *MD = dyn_cast<DIExpression>(UB)) in getUpperBound() 438 isa<DIExpression>(ST)) && in getStride() 447 if (auto *MD = dyn_cast<DIExpression>(ST)) in getStride() 468 assert((isa<DIVariable>(CB) || isa<DIExpression>(CB)) && in getCount() [all …]
|
| D | DIBuilder.cpp | 547 PointerUnion<DIExpression *, DIVariable *> DL, in createArrayType() argument 548 PointerUnion<DIExpression *, DIVariable *> AS, in createArrayType() 549 PointerUnion<DIExpression *, DIVariable *> AL, in createArrayType() 550 PointerUnion<DIExpression *, DIVariable *> RK) { in createArrayType() 555 DL.is<DIExpression *>() ? (Metadata *)DL.get<DIExpression *>() in createArrayType() 557 AS.is<DIExpression *>() ? (Metadata *)AS.get<DIExpression *>() in createArrayType() 559 AL.is<DIExpression *>() ? (Metadata *)AL.get<DIExpression *>() in createArrayType() 561 RK.is<DIExpression *>() ? (Metadata *)RK.get<DIExpression *>() in createArrayType() 685 return Bound.is<DIExpression *>() ? (Metadata *)Bound.get<DIExpression *>() in getOrCreateGenericSubrange() 705 bool isDefined, DIExpression *Expr, in createGlobalVariableExpression() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| D | DwarfExpression.h | 38 DIExpression::expr_op_iterator Start, End; 41 DIExpressionCursor(const DIExpression *Expr) { in DIExpressionCursor() 56 Optional<DIExpression::ExprOperand> take() { in take() 66 Optional<DIExpression::ExprOperand> peek() const { in peek() 73 Optional<DIExpression::ExprOperand> peekNext() const { in peekNext() 87 DIExpression::expr_op_iterator begin() const { return Start; } in begin() 88 DIExpression::expr_op_iterator end() const { return End; } in end() 91 Optional<DIExpression::FragmentInfo> getFragmentInfo() const { in getFragmentInfo() 92 return DIExpression::getFragmentInfo(Start, End); in getFragmentInfo() 157 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr); [all …]
|
| D | DebugLocEntry.h | 110 const DIExpression *Expression; 117 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs) in DbgValueLoc() 127 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs, in DbgValueLoc() 132 assert(cast<DIExpression>(Expr)->isValid() || in DbgValueLoc() 144 DbgValueLoc(const DIExpression *Expr, DbgValueLocEntry Loc) in DbgValueLoc() 153 const DIExpression *getExpression() const { return Expression; } in getExpression()
|
| D | DwarfExpression.cpp | 316 if (any_of(ExprCursor, [](DIExpression::ExprOperand Op) -> bool { in addMachineRegExpression() 381 const DIExpression *DIExpr) { in setLocation() 480 Optional<DIExpression::ExprOperand> PrevConvertOp = None; in addExpression() 656 void DwarfExpression::addFragmentOffset(const DIExpression *Expr) { in addFragmentOffset()
|
| D | DwarfCompileUnit.cpp | 207 const DIExpression *Expr = GE.Expr; in addLocationAttribute() 217 DIExpression::SignedOrUnsignedConstant::UnsignedConstant == in addLocationAttribute() 251 const DIExpression *NewExpr = in addLocationAttribute() 252 DIExpression::extractAddressClass(Expr, LocalNVPTXAddressSpace); in addLocationAttribute() 773 const DIExpression *Expr = DV.getSingleExpression(); in constructVariableDIEImpl() 841 const DIExpression *Expr = Fragment.Expr; in constructVariableDIEImpl() 859 const DIExpression *NewExpr = in constructVariableDIEImpl() 860 DIExpression::extractAddressClass(Expr, LocalNVPTXAddressSpace); in constructVariableDIEImpl() 1455 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress()
|
| D | DwarfDebug.cpp | 237 const DIExpression *Expr = MI->getDebugExpression(); in getDebugLocValue() 598 const DIExpression *Expr; 605 static const DIExpression *combineDIExpressions(const DIExpression *Original, in combineDIExpressions() 606 const DIExpression *Addition) { in combineDIExpressions() 611 const DIExpression *CombinedExpr = in combineDIExpressions() 612 (Elts.size() > 0) ? DIExpression::append(Original, Elts) : Original; in combineDIExpressions() 619 static void finishCallSiteParams(ValT Val, const DIExpression *Expr, in finishCallSiteParams() 634 const DIExpression *CombinedExpr = in finishCallSiteParams() 651 const DIExpression *Expr, in addToFwdRegWorklist() 666 const DIExpression *CombinedExpr = combineDIExpressions(Expr, Param.Expr); in addToFwdRegWorklist() [all …]
|
| D | DwarfDebug.h | 127 const DIExpression *Expr; 141 void initializeMMI(const DIExpression *E, int FI) { in initializeMMI() 171 const DIExpression *getSingleExpression() const { in getSingleExpression()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | DIBuilder.h | 82 DIExpression *Expr, const DILocation *DL, 92 DIExpression *Expr, const DILocation *DL, 513 PointerUnion<DIExpression *, DIVariable *> DataLocation = nullptr, 514 PointerUnion<DIExpression *, DIVariable *> Associated = nullptr, 515 PointerUnion<DIExpression *, DIVariable *> Allocated = nullptr, 516 PointerUnion<DIExpression *, DIVariable *> Rank = nullptr); 638 DIExpression *Expr = nullptr, MDNode *Decl = nullptr, 690 DIExpression *createExpression(ArrayRef<uint64_t> Addr = None); 691 DIExpression *createExpression(ArrayRef<int64_t> Addr); 695 DIExpression *createConstantValueExpression(uint64_t Val) { in createConstantValueExpression() [all …]
|
| D | DebugInfoMetadata.h | 347 typedef PointerUnion<ConstantInt *, DIVariable *, DIExpression *> BoundType; 396 using BoundType = PointerUnion<DIVariable *, DIExpression *>; 900 DIExpression *getStringLengthExp() const { in getStringLengthExp() 901 return cast_or_null<DIExpression>(getRawStringLengthExp()); in getStringLengthExp() 1204 DIExpression *getDataLocationExp() const { in getDataLocationExp() 1205 return dyn_cast_or_null<DIExpression>(getRawDataLocation()); in getDataLocationExp() 1211 DIExpression *getAssociatedExp() const { in getAssociatedExp() 1212 return dyn_cast_or_null<DIExpression>(getRawAssociated()); in getAssociatedExp() 1218 DIExpression *getAllocatedExp() const { in getAllocatedExp() 1219 return dyn_cast_or_null<DIExpression>(getRawAllocated()); in getAllocatedExp() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | TargetRegisterInfo.cpp | 645 DIExpression::appendOffset(Ops, Offset.getFixed()); in getOffsetOpcodes() 648 DIExpression * 649 TargetRegisterInfo::prependOffsetExpression(const DIExpression *Expr, in prependOffsetExpression() 653 ~(DIExpression::DerefBefore | DIExpression::DerefAfter | in prependOffsetExpression() 654 DIExpression::StackValue | DIExpression::EntryValue)) == 0 && in prependOffsetExpression() 657 if (PrependFlags & DIExpression::DerefBefore) in prependOffsetExpression() 660 if (PrependFlags & DIExpression::DerefAfter) in prependOffsetExpression() 662 return DIExpression::prependOpcodes(Expr, OffsetExpr, in prependOffsetExpression() 663 PrependFlags & DIExpression::StackValue, in prependOffsetExpression() 664 PrependFlags & DIExpression::EntryValue); in prependOffsetExpression()
|
| D | LiveDebugVariables.cpp | 107 const DIExpression &Expr) in DbgVariableValue() 122 DIExpression::replaceArg(Expression, OpIdx, DuplicatingIdx); in DbgVariableValue() 144 DIExpression::get(Expr.getContext(), {dwarf::DW_OP_LLVM_arg, 0, in DbgVariableValue() 147 Expression = *DIExpression::createFragmentExpression( in DbgVariableValue() 181 const DIExpression *getExpression() const { return Expression; } in getExpression() 259 const DIExpression *Expression = nullptr; 293 const Optional<DIExpression::FragmentInfo> Fragment; 326 Optional<DIExpression::FragmentInfo> Fragment, DebugLoc L, in UserValue() 418 bool IsList, const DIExpression &Expr) { in addDef() 589 Optional<DIExpression::FragmentInfo> Fragment, [all …]
|
| D | MachineInstr.cpp | 871 const DIExpression *MachineInstr::getDebugExpression() const { in getDebugExpression() 872 return cast<DIExpression>(getDebugExpressionOp().getMetadata()); in getDebugExpression() 2111 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI() 2127 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI() 2146 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI() 2197 static const DIExpression * 2203 const DIExpression *Expr = MI.getDebugExpression(); in computeExprForSpill() 2207 Expr = DIExpression::prepend(Expr, DIExpression::DerefBefore); in computeExprForSpill() 2214 Expr = DIExpression::appendOpsToArg(Expr, Ops, OpIdx); in computeExprForSpill() 2219 static const DIExpression *computeExprForSpill(const MachineInstr &MI, in computeExprForSpill() [all …]
|
| D | PrologEpilogInserter.cpp | 191 const DIExpression *Expr = MI.getDebugExpression(); in stashEntryDbgValues() 1242 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndices() 1251 unsigned PrependFlags = DIExpression::ApplyOffset; in replaceFrameIndices() 1253 PrependFlags |= DIExpression::StackValue; in replaceFrameIndices() 1262 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndices() 1274 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, DebugOpIndex); in replaceFrameIndices()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | SDNodeDbgValue.h | 23 class DIExpression; variable 146 DIExpression *Expr; 155 SDDbgValue(BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, in SDDbgValue() 182 DIExpression *getExpression() const { return Expr; } in getExpression()
|
| D | SelectionDAGBuilder.h | 57 class DIExpression; variable 503 const DIExpression *Expr); 517 DIExpression *Expr, DebugLoc CurDL, DebugLoc InstDL, 803 DIExpression *Expr, DILocation *DL, 815 DIExpression *Expr, const DebugLoc &dl,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| D | NVPTXPrologEpilogPass.cpp | 78 const DIExpression *DIExpr = MI.getDebugExpression(); in runOnMachineFunction() 80 … DIExpr = TRI.prependOffsetExpression(MI.getDebugExpression(), DIExpression::ApplyOffset, Offset); in runOnMachineFunction() 85 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, OpIdx); in runOnMachineFunction()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| D | VarLocBasedImpl.cpp | 301 using FragmentInfo = DIExpression::FragmentInfo; 302 using OptFragmentInfo = Optional<DIExpression::FragmentInfo>; 323 const DIExpression *Expr; 425 Expr = DIExpression::replaceArg(Expr, OpIdx, DuplicatingIdx); in VarLoc() 458 const DIExpression *EntryExpr, Register Reg) { in CreateEntryLoc() 474 const DIExpression *EntryExpr) { in CreateEntryBackupLoc() 488 const DIExpression *EntryExpr, in CreateEntryCopyBackupLoc() 540 const DIExpression *DIExpr = Expr; in BuildDbgValue() 569 TRI->prependOffsetExpression(DIExpr, DIExpression::ApplyOffset, in BuildDbgValue() 576 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue() [all …]
|
| D | InstrRefBasedImpl.cpp | 366 DbgValueProperties(const DIExpression *DIExpr, bool Indirect) in DbgValueProperties() 384 const DIExpression *DIExpr; 764 const DIExpression *Expr = Properties.DIExpr; in emitLoc() 774 Expr = TRI->prependOffsetExpression(Expr, DIExpression::ApplyOffset, in emitLoc() 884 std::pair<const DILocalVariable *, DIExpression::FragmentInfo>; 886 DenseMap<FragmentOfVar, SmallVector<DIExpression::FragmentInfo, 1>>; 1175 const DIExpression *Expr) const { in isEntryValueVariable() 1219 DIExpression *NewExpr = in recoverAsEntryValue() 1220 DIExpression::prepend(Prop.DIExpr, DIExpression::EntryValue); in recoverAsEntryValue() 1335 const DIExpression *Expr = ActiveVLocIt->second.Properties.DIExpr; in clobberMloc() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86OptimizeLEAs.cpp | 582 const DIExpression *Expr = MI.getDebugExpression(); in replaceDebugValue() 586 DIExpression::prepend(Expr, DIExpression::StackValue, AddrDispShift); in replaceDebugValue() 591 DIExpression::appendOffset(Ops, AddrDispShift); in replaceDebugValue() 594 Expr = DIExpression::appendOpsToArg(Expr, Ops, OpIdx); in replaceDebugValue()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| D | Local.h | 300 DIExpression *salvageDebugInfoImpl(Instruction &I, DIExpression *DIExpr,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| D | Local.cpp | 1374 DIExpression *DIExpr, in PhiHasDebugValue() 1592 DIExpression::append(DDI->getExpression(), dwarf::DW_OP_deref); in LowerDbgDeclare() 1685 DIExpr = DIExpression::prepend(DIExpr, DIExprFlags, Offset); in replaceDbgDeclare() 1711 DIExpr = DIExpression::prepend(DIExpr, 0, Offset); in replaceOneDbgValueForAlloca() 1755 DIExpression *SalvagedExpr = DII->getExpression(); in salvageDebugInfoForDbgValues() 1818 DIExpression::appendOffset(Opcodes, ConstantOffset.getSExtValue()); in getSalvageOpsForGEP() 1869 DIExpression::appendOffset(Opcodes, Offset); in getSalvageOpsForBinOp() 1892 DIExpression * 1893 llvm::salvageDebugInfoImpl(Instruction &I, DIExpression *SrcDIExpr, in salvageDebugInfoImpl() 1901 auto doSalvage = [&](SmallVectorImpl<uint64_t> &Ops) -> DIExpression * { in salvageDebugInfoImpl() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| D | DebugHandlerBase.h | 40 llvm::Optional<llvm::DIExpression::FragmentInfo> FragmentInfo;
|
| D | MachineFunction.h | 50 class DIExpression; variable 385 const DIExpression *Expr; 390 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr, 1165 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| D | MipsInstrInfo.cpp | 848 DIExpression *Expr = in describeLoadedValue() 849 DIExpression::get(MI.getMF()->getFunction().getContext(), {}); in describeLoadedValue() 860 Expr = DIExpression::prepend(Expr, DIExpression::ApplyOffset, Offset); in describeLoadedValue()
|