Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DInstrRefLDVTest.cpp2187 DbgValue JoinedLoc = DbgValue(3, EmptyProps, DbgValue::NoVal); in TEST_F()
2221 JoinedLoc = DbgValue(3, EmptyProps, DbgValue::VPHI); in TEST_F()
2235 JoinedLoc = DbgValue(3, EmptyProps, DbgValue::VPHI); in TEST_F()
2247 JoinedLoc = DbgValue(2, EmptyProps, DbgValue::VPHI); in TEST_F()
2257 JoinedLoc = DbgValue(2, EmptyProps, DbgValue::VPHI); in TEST_F()
2267 JoinedLoc = DbgValue(3, EmptyProps, DbgValue::VPHI); in TEST_F()
2278 JoinedLoc = DbgValue(2, EmptyProps, DbgValue::VPHI); in TEST_F()
2294 JoinedLoc = DbgValue(3, EmptyProps, DbgValue::VPHI); in TEST_F()
2348 DbgValue JoinedLoc = DbgValue(LiveInRax, EmptyProps, DbgValue::Def); in TEST_F()
2357 JoinedLoc = DbgValue(1, EmptyProps, DbgValue::VPHI); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h229 class DbgValue {
272 DbgValue(const DbgValueProperties &Prop, KindT Kind) in DbgValue() function
283 bool operator==(const DbgValue &Other) const {
699 MapVector<DebugVariable, DbgValue> Vars;
714 DbgValue Rec = (ID) ? DbgValue(*ID, Properties, DbgValue::Def) in defVar()
715 : DbgValue(Properties, DbgValue::Undef); in defVar()
732 DbgValue Rec = DbgValue(MO, Properties, DbgValue::Const); in defVar()
760 DbgValue Rec = DbgValue(EmptyProperties, DbgValue::Undef); in considerOverlaps()
797 using VarAndLoc = std::pair<DebugVariable, DbgValue>;
800 using InValueT = std::pair<MachineBasicBlock *, DbgValue *>;
[all …]
H A DInstrRefBasedImpl.cpp288 if (VLoc.second.Kind == DbgValue::Def) in loadInlocs()
2378 if (OutVal.Kind == DbgValue::Const || OutVal.Kind == DbgValue::NoVal) in pickVPHILoc()
2389 if (OutVal.Kind == DbgValue::Def || in pickVPHILoc()
2455 DbgValue &LiveIn) { in vlocJoin()
2524 if (V.second->Kind == DbgValue::Const && FirstVal.Kind != DbgValue::Const) in vlocJoin()
2552 DbgValue VPHI(MBB.getNumber(), FirstVal.Properties, DbgValue::VPHI); in vlocJoin()
2680 DbgValue EmptyDbgValue(I, EmptyProperties, DbgValue::NoVal); in buildVLocValueMap()
2703 DbgValue EmptyDbgValue(I, EmptyProperties, DbgValue::NoVal); in buildVLocValueMap()
2734 *LiveIn = DbgValue(BlockNo, EmptyProperties, DbgValue::VPHI); in buildVLocValueMap()
2799 DbgValue NewVal(MBB->getNumber(), EmptyProperties, DbgValue::NoVal); in buildVLocValueMap()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp396 if (DbgValue.containsLocNo(LocNo)) in removeLocationIfUnused()
425 I.setValue(std::move(DbgValue)); in addDef()
459 DbgVariableValue DbgValue,
1009 DbgVariableValue DbgValue, in addDefsFromCopies() argument
1071 DbgVariableValue NewValue(DbgValue); in addDefsFromCopies()
1215 I.insert(RStart, IStop, DbgValue); in computeIntervals()
1672 if (DbgValue.isUndef()) { in insertDebugValue()
1673 MOs.assign(DbgValue.loc_nos().size(), in insertDebugValue()
1696 bool IsList = DbgValue.getWasList(); in insertDebugValue()
1749 DbgVariableValue DbgValue = I.value(); in emitDebugValues() local
[all …]
H A DRegAllocFast.cpp668 for (MachineInstr *DbgValue : Dangling) { in assignDanglingDebugValues()
669 assert(DbgValue->isDebugValue()); in assignDanglingDebugValues()
670 if (!DbgValue->hasDebugOperandForReg(VirtReg)) in assignDanglingDebugValues()
677 E = DbgValue->getIterator(); I != E; ++I) { in assignDanglingDebugValues()
679 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in assignDanglingDebugValues()
685 for (MachineOperand &MO : DbgValue->getDebugOperandsForReg(VirtReg)) { in assignDanglingDebugValues()
1528 for (MachineInstr *DbgValue : UDBGPair.second) { in allocateBasicBlock()
1529 assert(DbgValue->isDebugValue() && "expected DBG_VALUE"); in allocateBasicBlock()
1531 if (!DbgValue->hasDebugOperandForReg(UDBGPair.first)) in allocateBasicBlock()
1533 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in allocateBasicBlock()
[all …]
H A DPostRASchedulerList.cpp690 MachineInstr *DbgValue = P.first; in EmitSchedule() local
692 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
H A DMachineScheduler.cpp917 MachineInstr *DbgValue = P.first; in placeDebugValues() local
919 if (&*RegionBegin == DbgValue) in placeDebugValues()
921 BB->splice(std::next(OrigPrevMI), BB, DbgValue); in placeDebugValues()
923 RegionEnd = DbgValue; in placeDebugValues()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DDbgEntityHistoryCalculator.h76 enum EntryKind { DbgValue, Clobber }; enumerator
86 bool isDbgValue() const { return getEntryKind() == DbgValue; } in isDbgValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp158 for (auto &DbgValue : DbgValues) { in RewriteUsesOfClonedInstructions() local
161 BasicBlock *UserBB = DbgValue->getParent(); in RewriteUsesOfClonedInstructions()
176 DbgValue->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
H A DLocal.cpp1502 Instruction *DbgValue = Builder.insertDbgValueIntrinsic( in ConvertDebugDeclareToDebugValue() local
1504 DbgValue->insertAfter(LI); in ConvertDebugDeclareToDebugValue()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DBasicBlockTest.cpp111 Function *DbgValue = Intrinsic::getDeclaration(M, Intrinsic::dbg_value); in TEST() local
120 Builder1.CreateCall(DbgValue, Args); in TEST()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp258 void DbgVariable::initializeDbgValue(const MachineInstr *DbgValue) { in initializeDbgValue() argument
262 assert(getVariable() == DbgValue->getDebugVariable() && "Wrong variable"); in initializeDbgValue()
263 assert(getInlinedAt() == DbgValue->getDebugLoc()->getInlinedAt() && in initializeDbgValue()
266 ValueLoc = std::make_unique<DbgValueLoc>(getDebugLocValue(DbgValue)); in initializeDbgValue()
267 if (auto *E = DbgValue->getDebugExpression()) in initializeDbgValue()
1551 const MachineInstr *DbgValue, in validThroughout() argument
1555 auto MBB = DbgValue->getParent(); in validThroughout()
1556 auto DL = DbgValue->getDebugLoc(); in validThroughout()
1569 if (!Ordering.isBefore(DbgValue, LScopeBegin)) { in validThroughout()
1574 MachineBasicBlock::const_reverse_iterator Pred(DbgValue); in validThroughout()
[all …]
H A DDwarfDebug.h163 void initializeDbgValue(const MachineInstr *DbgValue);
H A DDbgEntityHistoryCalculator.cpp85 Entries.emplace_back(&MI, Entry::DbgValue); in startDbgValue()
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/X86/
H A Dsink-leaves-undef.mir2 # This is a copy of test/CodeGen/X86/MachineSink-DbgValue.ll, where we
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6212 DVIRecoveryRec(DbgValueInst *DbgValue) in DVIRecoveryRec()
6213 : DVI(DbgValue), Expr(DbgValue->getExpression()), in DVIRecoveryRec()