| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LiveDebugVariables.cpp | 312 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 D | RegAllocFast.cpp | 828 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 D | AssignmentTrackingAnalysis.cpp | 1336 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 D | PostRASchedulerList.cpp | 711 MachineInstr *DbgValue = P.first; in EmitSchedule() local 713 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
|
| H A D | MachineScheduler.cpp | 1225 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 D | InstrRefBasedImpl.h | 513 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 D | InstrRefBasedImpl.cpp | 357 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 D | SSAUpdater.cpp | 203 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 D | LoopRotationUtils.cpp | 164 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 D | WebAssemblyRegColoring.cpp | 152 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 D | SSAUpdater.h | 139 void UpdateDebugValue(Instruction *I, DbgValueInst *DbgValue); 140 void UpdateDebugValue(Instruction *I, DbgVariableRecord *DbgValue);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | DbgEntityHistoryCalculator.h | 76 enum EntryKind { DbgValue, Clobber }; enumerator 86 bool isDbgValue() const { return getEntryKind() == DbgValue; } in isDbgValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 293 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 D | DbgEntityHistoryCalculator.cpp | 85 Entries.emplace_back(&MI, Entry::DbgValue); in startDbgValue()
|
| H A D | DwarfDebug.h | 137 explicit Single(const MachineInstr *DbgValue);
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 1701 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 D | LoopStrengthReduce.cpp | 6633 DVIRecoveryRec(DbgValueInst *DbgValue) in DVIRecoveryRec() 6634 : DbgRef(DbgValue), Expr(DbgValue->getExpression()), in DVIRecoveryRec()
|