/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveDebugVariables.cpp | 397 if (DbgValue.containsLocNo(LocNo)) in removeLocationIfUnused() 426 I.setValue(std::move(DbgValue)); in addDef() 461 DbgVariableValue DbgValue, 1015 DbgVariableValue DbgValue, in addDefsFromCopies() argument 1076 DbgVariableValue NewValue(DbgValue); in addDefsFromCopies() 1220 I.insert(RStart, IStop, DbgValue); in computeIntervals() 1676 if (DbgValue.isUndef()) { in insertDebugValue() 1677 MOs.assign(DbgValue.loc_nos().size(), in insertDebugValue() 1700 bool IsList = DbgValue.getWasList(); in insertDebugValue() 1753 DbgVariableValue DbgValue = I.value(); in emitDebugValues() local [all …]
|
H A D | RegAllocFast.cpp | 782 for (MachineInstr *DbgValue : Dangling) { in assignDanglingDebugValues() 783 assert(DbgValue->isDebugValue()); in assignDanglingDebugValues() 784 if (!DbgValue->hasDebugOperandForReg(VirtReg)) in assignDanglingDebugValues() 791 E = DbgValue->getIterator(); in assignDanglingDebugValues() 794 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in assignDanglingDebugValues() 800 for (MachineOperand &MO : DbgValue->getDebugOperandsForReg(VirtReg)) { in assignDanglingDebugValues() 1720 for (MachineInstr *DbgValue : UDBGPair.second) { in allocateBasicBlock() 1721 assert(DbgValue->isDebugValue() && "expected DBG_VALUE"); in allocateBasicBlock() 1723 if (!DbgValue->hasDebugOperandForReg(UDBGPair.first)) in allocateBasicBlock() 1725 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in allocateBasicBlock() [all …]
|
H A D | PostRASchedulerList.cpp | 689 MachineInstr *DbgValue = P.first; in EmitSchedule() local 691 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
|
H A D | AssignmentTrackingAnalysis.cpp | 1813 auto ProcessDbgValueImpl = [&](auto *DbgValue) { in processDbgValue() argument 1816 if (!VarsWithStackSlot->count(getAggregate(DbgValue))) in processDbgValue() 1819 VariableID Var = getVariableID(DebugVariable(DbgValue)); in processDbgValue() 1829 LLVM_DEBUG(dbgs() << "processDbgValue on " << *DbgValue << "\n";); in processDbgValue() 1834 emitDbgValue(LocKind::Val, DbgValue, DbgValue); in processDbgValue() 1841 template <typename T> static bool hasZeroSizedFragment(T &DbgValue) { in hasZeroSizedFragment() argument 1842 if (auto F = DbgValue.getExpression()->getFragmentInfo()) in hasZeroSizedFragment()
|
H A D | MachineScheduler.cpp | 949 MachineInstr *DbgValue = P.first; in placeDebugValues() local 951 if (&*RegionBegin == DbgValue) in placeDebugValues() 953 BB->splice(std::next(OrigPrevMI), BB, DbgValue); in placeDebugValues() 955 RegionEnd = DbgValue; in placeDebugValues()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.h | 480 class DbgValue { 510 static_assert(sizeof(DbgValue) <= 64, 534 DbgValue(const DbgValueProperties &Prop, KindT Kind) 545 bool operator==(const DbgValue &Other) const { 598 bool hasJoinableLocOps(const DbgValue &Other) const { 1014 MapVector<DebugVariable, DbgValue> Vars; 1029 DbgValue Rec = (DebugOps.size() > 0) 1030 ? DbgValue(DebugOps, Properties) 1031 : DbgValue(Properties, DbgValue::Undef); 1059 DbgValue Rec = DbgValue(EmptyProperties, DbgValue::Undef); [all …]
|
H A D | InstrRefBasedImpl.cpp | 448 if (VLoc.second.Kind == DbgValue::Def) in loadInlocs() 2789 if (OutVal.Kind == DbgValue::NoVal) in pickVPHILoc() 2866 if (OutVal.Kind == DbgValue::Def || in pickOperandPHILoc() 2919 DbgValue &LiveIn) { in vlocJoin() 2986 if (V.second->Kind == DbgValue::NoVal) in vlocJoin() 3022 DbgValue VPHI(MBB.getNumber(), FirstVal.Properties, DbgValue::VPHI); in vlocJoin() 3150 DbgValue EmptyDbgValue(I, EmptyProperties, DbgValue::NoVal); in buildVLocValueMap() 3173 DbgValue EmptyDbgValue(I, EmptyProperties, DbgValue::NoVal); in buildVLocValueMap() 3204 *LiveIn = DbgValue(BlockNo, EmptyProperties, DbgValue::VPHI); in buildVLocValueMap() 3270 DbgValue NewVal(MBB->getNumber(), EmptyProperties, DbgValue::NoVal); in buildVLocValueMap() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SSAUpdater.cpp | 204 for (auto &DbgValue : DbgValues) { in UpdateDebugValues() local 205 if (DbgValue->getParent() == I->getParent()) in UpdateDebugValues() 207 UpdateDebugValue(I, DbgValue); in UpdateDebugValues() 218 for (auto &DbgValue : DbgValues) { in UpdateDebugValues() local 219 UpdateDebugValue(I, DbgValue); in UpdateDebugValues() 230 void SSAUpdater::UpdateDebugValue(Instruction *I, DbgValueInst *DbgValue) { in UpdateDebugValue() argument 231 BasicBlock *UserBB = DbgValue->getParent(); in UpdateDebugValue() 234 DbgValue->replaceVariableLocationOp(I, NewVal); in UpdateDebugValue() 236 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 | 153 for (auto [Slot, DbgValue] : RegMapIt->second) { in undefInvalidDbgValues() 164 LLVM_DEBUG(dbgs() << "Undefed: " << *DbgValue << "\n"); in undefInvalidDbgValues() 165 DbgValue->setDebugValueUndef(); in undefInvalidDbgValues() 210 LLVM_DEBUG(dbgs() << "Undefed: " << *DbgValue << "\n"); in undefInvalidDbgValues() 211 DbgValue->setDebugValueUndef(); in undefInvalidDbgValues()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SSAUpdater.h | 138 void UpdateDebugValue(Instruction *I, DbgValueInst *DbgValue); 139 void UpdateDebugValue(Instruction *I, DPValue *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 | 289 Loc::Single::Single(const MachineInstr *DbgValue) in Single() argument 290 : Single(getDebugLocValue(DbgValue)) {} in Single() 1594 const MachineInstr *DbgValue, in validThroughout() argument 1597 assert(DbgValue->getDebugLoc() && "DBG_VALUE without a debug location"); in validThroughout() 1598 auto MBB = DbgValue->getParent(); in validThroughout() 1599 auto DL = DbgValue->getDebugLoc(); in validThroughout() 1612 if (!Ordering.isBefore(DbgValue, LScopeBegin)) { in validThroughout() 1617 MachineBasicBlock::const_reverse_iterator Pred(DbgValue); in validThroughout() 1643 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 | 1547 MachineInstr *DbgValue = MOUse.getParent(); in salvageDebugInfo() local 1549 if (DbgValue->isNonListDebugValue() && DbgValue->getNumOperands() == 4) { in salvageDebugInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 6368 DVIRecoveryRec(DbgValueInst *DbgValue) in DVIRecoveryRec() 6369 : DbgRef(DbgValue), Expr(DbgValue->getExpression()), in DVIRecoveryRec()
|