Home
last modified time | relevance | path

Searched refs:DIExpression (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1053 DIExpression *DIExpression::getImpl(LLVMContext &Context, in getImpl()
1265 const DIExpression *DIExpression::extractAddressClass(const DIExpression *Expr, in extractAddressClass()
1285 DIExpression *DIExpression::prepend(const DIExpression *Expr, uint8_t Flags, in prepend()
1301 DIExpression *DIExpression::appendOpsToArg(const DIExpression *Expr, in appendOpsToArg()
1325 DIExpression *DIExpression::replaceArg(const DIExpression *Expr, in replaceArg()
1347 DIExpression *DIExpression::prependOpcodes(const DIExpression *Expr, in prependOpcodes()
1381 DIExpression *DIExpression::append(const DIExpression *Expr, in append()
1405 DIExpression *DIExpression::appendToStack(const DIExpression *Expr, in appendToStack()
1438 Optional<DIExpression *> DIExpression::createFragmentExpression( in createFragmentExpression()
1516 DIExpression::ExtOps DIExpression::getExtOps(unsigned FromSize, unsigned ToSize, in getExtOps()
[all …]
H A DDIBuilder.cpp547 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h38 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 …]
H A DDebugLocEntry.h110 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()
H A DDwarfExpression.cpp316 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()
H A DDwarfCompileUnit.cpp207 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()
H A DDwarfDebug.cpp237 const DIExpression *Expr = MI->getDebugExpression(); in getDebugLocValue()
598 const DIExpression *Expr;
605 static const DIExpression *combineDIExpressions(const DIExpression *Original, in combineDIExpressions()
611 const DIExpression *CombinedExpr = in combineDIExpressions()
634 const DIExpression *CombinedExpr = in finishCallSiteParams()
651 const DIExpression *Expr, in addToFwdRegWorklist()
677 const DIExpression *EmptyExpr = in interpretValues()
678 DIExpression::get(MF->getFunction().getContext(), {}); in interpretValues()
812 const DIExpression *EmptyExpr = in collectCallSiteParameters()
813 DIExpression::get(MF->getFunction().getContext(), {}); in collectCallSiteParameters()
[all …]
H A DDwarfDebug.h127 const DIExpression *Expr;
141 void initializeMMI(const DIExpression *E, int FI) { in initializeMMI()
171 const DIExpression *getSingleExpression() const { in getSingleExpression()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h82 DIExpression *Expr, const DILocation *DL,
92 DIExpression *Expr, const DILocation *DL,
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()
696 return DIExpression::get( in createConstantValueExpression()
897 DIExpression *Expr,
[all …]
H A DDebugInfoMetadata.h1227 DIExpression *getRankExp() const { in getRankExp()
2566 ~DIExpression() = default;
2759 static const DIExpression *extractAddressClass(const DIExpression *Expr,
2773 static DIExpression *prepend(const DIExpression *Expr, uint8_t Flags,
2778 static DIExpression *prependOpcodes(const DIExpression *Expr,
2787 static DIExpression *append(const DIExpression *Expr, ArrayRef<uint64_t> Ops);
2793 static DIExpression *appendToStack(const DIExpression *Expr,
2800 static DIExpression *appendOpsToArg(const DIExpression *Expr,
2810 static DIExpression *replaceArg(const DIExpression *Expr, uint64_t OldArg,
2823 static Optional<DIExpression *>
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp645 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()
H A DLiveDebugVariables.cpp107 const DIExpression &Expr) in DbgVariableValue()
147 Expression = *DIExpression::createFragmentExpression( in DbgVariableValue()
259 const DIExpression *Expression = nullptr;
293 const Optional<DIExpression::FragmentInfo> Fragment;
418 bool IsList, const DIExpression &Expr) { in addDef()
862 const DIExpression *Expr = MI.getDebugExpression(); in handleDebugValue()
1710 const DIExpression *Expr = DbgValue.getExpression(); in insertDebugValue()
1716 uint8_t DIExprFlags = DIExpression::ApplyOffset; in insertDebugValue()
1718 DIExprFlags |= DIExpression::DerefAfter; in insertDebugValue()
1723 DIExpression::appendOffset(Ops, SpillOffsets[I]); in insertDebugValue()
[all …]
H A DMachineInstr.cpp871 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()
2232 const DIExpression *Expr = computeExprForSpill(Orig, SpillReg); in buildDbgValueForSpill()
[all …]
H A DPrologEpilogInserter.cpp191 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h23 class DIExpression; variable
146 DIExpression *Expr;
155 SDDbgValue(BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, in SDDbgValue()
182 DIExpression *getExpression() const { return Expr; } in getExpression()
H A DSelectionDAGBuilder.h57 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-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp78 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp301 using FragmentInfo = DIExpression::FragmentInfo;
302 using OptFragmentInfo = Optional<DIExpression::FragmentInfo>;
323 const DIExpression *Expr;
425 Expr = DIExpression::replaceArg(Expr, OpIdx, DuplicatingIdx); in VarLoc()
474 const DIExpression *EntryExpr) { in CreateEntryBackupLoc()
540 const DIExpression *DIExpr = Expr; in BuildDbgValue()
576 DIExpr = DIExpression::appendOpsToArg(DIExpr, Ops, I); in BuildDbgValue()
809 std::pair<const DILocalVariable *, DIExpression::FragmentInfo>;
1287 const DIExpression *Expr = MI.getDebugExpression(); in transferDebugValue()
2042 DIExpression *NewExpr = in recordEntryValue()
[all …]
H A DInstrRefBasedImpl.cpp366 DbgValueProperties(const DIExpression *DIExpr, bool Indirect) in DbgValueProperties()
384 const DIExpression *DIExpr;
764 const DIExpression *Expr = Properties.DIExpr; in emitLoc()
884 std::pair<const DILocalVariable *, DIExpression::FragmentInfo>;
1175 const DIExpression *Expr) const { in isEntryValueVariable()
1219 DIExpression *NewExpr = in recoverAsEntryValue()
1220 DIExpression::prepend(Prop.DIExpr, DIExpression::EntryValue); in recoverAsEntryValue()
1418 using FragmentInfo = DIExpression::FragmentInfo;
1419 using OptFragmentInfo = Optional<DIExpression::FragmentInfo>;
1747 const DIExpression *Expr = MI.getDebugExpression(); in transferDebugValue()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp582 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-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLocal.h300 DIExpression *salvageDebugInfoImpl(Instruction &I, DIExpression *DIExpr,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDebugHandlerBase.h40 llvm::Optional<llvm::DIExpression::FragmentInfo> FragmentInfo;
H A DMachineFunction.h50 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1374 DIExpression *DIExpr, in PhiHasDebugValue()
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()
1902 DIExpression *DIExpr = SrcDIExpr; in salvageDebugInfoImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrInfo.cpp848 DIExpression *Expr = in describeLoadedValue()
849 DIExpression::get(MI.getMF()->getFunction().getContext(), {}); in describeLoadedValue()
860 Expr = DIExpression::prepend(Expr, DIExpression::ApplyOffset, Offset); in describeLoadedValue()

123