Home
last modified time | relevance | path

Searched refs:DbgValue (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp312 SlotIndex StopIdx, DbgVariableValue DbgValue,
400 const DbgVariableValue &DbgValue = I.value(); in removeLocationIfUnused() local
401 if (DbgValue.containsLocNo(LocNo)) in removeLocationIfUnused()
408 const DbgVariableValue &DbgValue = I.value(); in removeLocationIfUnused() local
409 if (DbgValue.hasLocNoGreaterThan(LocNo)) in removeLocationIfUnused()
410 I.setValueUnchecked(DbgValue.decrementLocNosAfterPivot(LocNo)); in removeLocationIfUnused()
423 DbgVariableValue DbgValue(Locs, IsIndirect, IsList, Expr); in addDef() local
427 I.insert(Idx, Idx.getNextSlot(), std::move(DbgValue)); in addDef()
430 I.setValue(std::move(DbgValue)); in addDef()
449 extendDef(SlotIndex Idx, DbgVariableValue DbgValue,
[all …]
H A DRegAllocFast.cpp828 for (MachineInstr *DbgValue : Dangling) { in assignDanglingDebugValues()
829 assert(DbgValue->isDebugValue()); in assignDanglingDebugValues()
830 if (!DbgValue->hasDebugOperandForReg(VirtReg)) in assignDanglingDebugValues()
837 E = DbgValue->getIterator(); in assignDanglingDebugValues()
840 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in assignDanglingDebugValues()
846 for (MachineOperand &MO : DbgValue->getDebugOperandsForReg(VirtReg)) { in assignDanglingDebugValues()
1817 for (MachineInstr *DbgValue : UDBGPair.second) { in allocateBasicBlock()
1818 assert(DbgValue->isDebugValue() && "expected DBG_VALUE"); in allocateBasicBlock()
1820 if (!DbgValue->hasDebugOperandForReg(UDBGPair.first)) in allocateBasicBlock()
1822 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in allocateBasicBlock()
[all …]
H A DAssignmentTrackingAnalysis.cpp1336 void processDbgValue(DbgVariableRecord *DbgValue, BlockInfo *LiveSet);
1807 void AssignmentTrackingLowering::processDbgValue(DbgVariableRecord *DbgValue, in processDbgValue() argument
1811 if (!VarsWithStackSlot->count(getAggregate(DbgValue))) in processDbgValue()
1814 VariableID Var = getVariableID(DebugVariable(DbgValue)); in processDbgValue()
1824 LLVM_DEBUG(dbgs() << "processDbgValue on " << *DbgValue << "\n";); in processDbgValue()
1829 emitDbgValue(LocKind::Val, DbgValue, DbgValue); in processDbgValue()
1832 static bool hasZeroSizedFragment(DbgVariableRecord &DbgValue) { in hasZeroSizedFragment() argument
1833 if (auto F = DbgValue.getExpression()->getFragmentInfo()) in hasZeroSizedFragment()
H A DPostRASchedulerList.cpp711 MachineInstr *DbgValue = P.first; in EmitSchedule() local
713 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
H A DMachineScheduler.cpp1225 MachineInstr *DbgValue = P.first; in placeDebugValues() local
1227 if (&*RegionBegin == DbgValue) in placeDebugValues()
1229 BB->splice(std::next(OrigPrevMI), BB, DbgValue); in placeDebugValues()
1231 RegionEnd = DbgValue; in placeDebugValues()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h513 class DbgValue {
541 DbgValue(ArrayRef<DbgOpID> DbgOps, const DbgValueProperties &Prop)
543 static_assert(sizeof(DbgValue) <= 64,
562 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind)
567 DbgValue(const DbgValueProperties &Prop, KindT Kind)
578 bool operator==(const DbgValue &Other) const {
593 bool operator!=(const DbgValue &Other) const { return !(*this == Other); }
631 bool hasJoinableLocOps(const DbgValue &Other) const {
643 bool hasIdenticalValidLocOps(const DbgValue &Other) const {
1052 SmallMapVector<DebugVariableID, DbgValue, 8> Vars;
[all …]
H A DInstrRefBasedImpl.cpp357 DebugVariableID VarID, DbgValue Value) { in loadVarInloc()
460 const SmallVectorImpl<std::pair<DebugVariableID, DbgValue>> &VLocs, in loadInlocs()
476 if (VLoc.second.Kind == DbgValue::Def) in loadInlocs()
1012 void DbgValue::dump(const MLocTracker *MTrack, in dump()
2843 const DbgValue &FirstValue = *FirstValueIt->second; in pickVPHILoc()
2850 const DbgValue &OutVal = *OutValIt->second; in pickVPHILoc()
2853 if (OutVal.Kind == DbgValue::NoVal) in pickVPHILoc()
2920 const DbgValue &OutVal = *OutValIt->second; in pickOperandPHILoc()
2930 if (OutVal.Kind == DbgValue::Def || in pickOperandPHILoc()
2931 (OutVal.Kind == DbgValue::VPHI && OutVal.BlockNo != MBB.getNumber() && in pickOperandPHILoc()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp203 for (auto &DbgValue : DbgValues) { in UpdateDebugValues() local
204 if (DbgValue->getParent() == I->getParent()) in UpdateDebugValues()
206 UpdateDebugValue(I, DbgValue); in UpdateDebugValues()
217 for (auto &DbgValue : DbgValues) { in UpdateDebugValues() local
218 UpdateDebugValue(I, DbgValue); in UpdateDebugValues()
229 void SSAUpdater::UpdateDebugValue(Instruction *I, DbgValueInst *DbgValue) { in UpdateDebugValue() argument
230 BasicBlock *UserBB = DbgValue->getParent(); in UpdateDebugValue()
233 DbgValue->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue()
235 DbgValue->setKillLocation(); in UpdateDebugValue()
H A DLoopRotationUtils.cpp164 for (auto &DbgValue : DbgValues) { in RewriteUsesOfClonedInstructions() local
167 BasicBlock *UserBB = DbgValue->getParent(); in RewriteUsesOfClonedInstructions()
182 DbgValue->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp152 for (auto [Slot, DbgValue] : RegMapIt->second) { in undefInvalidDbgValues()
163 LLVM_DEBUG(dbgs() << "Undefed: " << *DbgValue << "\n"); in undefInvalidDbgValues()
164 DbgValue->setDebugValueUndef(); in undefInvalidDbgValues()
209 LLVM_DEBUG(dbgs() << "Undefed: " << *DbgValue << "\n"); in undefInvalidDbgValues()
210 DbgValue->setDebugValueUndef(); in undefInvalidDbgValues()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h139 void UpdateDebugValue(Instruction *I, DbgValueInst *DbgValue);
140 void UpdateDebugValue(Instruction *I, DbgVariableRecord *DbgValue);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDbgEntityHistoryCalculator.h76 enum EntryKind { DbgValue, Clobber }; enumerator
86 bool isDbgValue() const { return getEntryKind() == DbgValue; } in isDbgValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp293 Loc::Single::Single(const MachineInstr *DbgValue) in Single() argument
294 : Single(getDebugLocValue(DbgValue)) {} in Single()
1604 const MachineInstr *DbgValue, in validThroughout() argument
1607 assert(DbgValue->getDebugLoc() && "DBG_VALUE without a debug location"); in validThroughout()
1608 auto MBB = DbgValue->getParent(); in validThroughout()
1609 auto DL = DbgValue->getDebugLoc(); in validThroughout()
1622 if (!Ordering.isBefore(DbgValue, LScopeBegin)) { in validThroughout()
1627 MachineBasicBlock::const_reverse_iterator Pred(DbgValue); in validThroughout()
1653 all_of(DbgValue->debug_operands(), in validThroughout()
H A DDbgEntityHistoryCalculator.cpp85 Entries.emplace_back(&MI, Entry::DbgValue); in startDbgValue()
H A DDwarfDebug.h137 explicit Single(const MachineInstr *DbgValue);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1701 MachineInstr *DbgValue = MOUse.getParent(); in salvageDebugInfo() local
1703 if (DbgValue->isNonListDebugValue() && DbgValue->getNumOperands() == 4) { in salvageDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6633 DVIRecoveryRec(DbgValueInst *DbgValue) in DVIRecoveryRec()
6634 : DbgRef(DbgValue), Expr(DbgValue->getExpression()), in DVIRecoveryRec()