Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/CodeGen/
DLiveDebugVariables.cpp181 SlotIndex StopIdx, DbgVariableValue DbgValue,
267 DbgVariableValue DbgValue = I.value(); in removeLocationIfUnused() local
268 if (DbgValue.getLocNo() == LocNo) in removeLocationIfUnused()
275 DbgVariableValue DbgValue = I.value(); in removeLocationIfUnused() local
276 if (!DbgValue.isUndef() && DbgValue.getLocNo() > LocNo) in removeLocationIfUnused()
277 I.setValueUnchecked(DbgValue.changeLocNo(DbgValue.getLocNo() - 1)); in removeLocationIfUnused()
287 DbgVariableValue DbgValue(getLocationNo(LocMO), IsIndirect, Expr); in addDef() local
291 I.insert(Idx, Idx.getNextSlot(), DbgValue); in addDef()
294 I.setValue(DbgValue); in addDef()
311 void extendDef(SlotIndex Idx, DbgVariableValue DbgValue, LiveRange *LR,
[all …]
DRegAllocFast.cpp619 for (MachineInstr *DbgValue : Dangling) { in assignDanglingDebugValues()
620 assert(DbgValue->isDebugValue()); in assignDanglingDebugValues()
621 MachineOperand &MO = DbgValue->getOperand(0); in assignDanglingDebugValues()
629 E = DbgValue->getIterator(); I != E; ++I) { in assignDanglingDebugValues()
631 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in assignDanglingDebugValues()
1432 for (MachineInstr *DbgValue : UDBGPair.second) { in allocateBasicBlock()
1433 assert(DbgValue->isDebugValue() && "expected DBG_VALUE"); in allocateBasicBlock()
1434 MachineOperand &MO = DbgValue->getOperand(0); in allocateBasicBlock()
1438 LLVM_DEBUG(dbgs() << "Register did not survive for " << *DbgValue in allocateBasicBlock()
DPostRASchedulerList.cpp695 MachineInstr *DbgValue = P.first; in EmitSchedule() local
697 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
DMachineScheduler.cpp916 MachineInstr *DbgValue = P.first; in placeDebugValues() local
918 if (&*RegionBegin == DbgValue) in placeDebugValues()
920 BB->splice(++OrigPrevMI, BB, DbgValue); in placeDebugValues()
922 RegionEnd = DbgValue; in placeDebugValues()
/external/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
DInstrRefBasedImpl.cpp796 class DbgValue { class
821 DbgValue(const ValueIDNum &Val, const DbgValueProperties &Prop, KindT Kind) in DbgValue() function in __anon84c0493f0211::DbgValue
826 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind) in DbgValue() function in __anon84c0493f0211::DbgValue
831 DbgValue(const MachineOperand &MO, const DbgValueProperties &Prop, KindT Kind) in DbgValue() function in __anon84c0493f0211::DbgValue
836 DbgValue(const DbgValueProperties &Prop, KindT Kind) in DbgValue() function in __anon84c0493f0211::DbgValue
859 bool operator==(const DbgValue &Other) const { in operator ==()
874 bool operator!=(const DbgValue &Other) const { return !(*this == Other); } in operator !=()
899 MapVector<DebugVariable, DbgValue> Vars;
911 DbgValue Rec = (ID) ? DbgValue(*ID, Properties, DbgValue::Def) in defVar()
912 : DbgValue(Properties, DbgValue::Undef); in defVar()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h94 void initializeDbgValue(const MachineInstr *DbgValue) { in initializeDbgValue() argument
99 assert(Var == DbgValue->getDebugVariable() && "Wrong variable"); in initializeDbgValue()
100 assert(IA == DbgValue->getDebugLoc()->getInlinedAt() && "Wrong inlined-at"); in initializeDbgValue()
102 MInsn = DbgValue; in initializeDbgValue()
103 if (auto *E = DbgValue->getDebugExpression()) in initializeDbgValue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDbgEntityHistoryCalculator.h55 enum EntryKind { DbgValue, Clobber }; enumerator
65 bool isDbgValue() const { return getEntryKind() == DbgValue; } in isDbgValue()
/external/llvm-project/llvm/include/llvm/CodeGen/
DDbgEntityHistoryCalculator.h77 enum EntryKind { DbgValue, Clobber }; enumerator
87 bool isDbgValue() const { return getEntryKind() == DbgValue; } in isDbgValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp155 for (auto &DbgValue : DbgValues) { in RewriteUsesOfClonedInstructions() local
158 BasicBlock *UserBB = DbgValue->getParent(); in RewriteUsesOfClonedInstructions()
173 DbgValue->setOperand(0, in RewriteUsesOfClonedInstructions()
DLocal.cpp1341 Instruction *DbgValue = Builder.insertDbgValueIntrinsic( in ConvertDebugDeclareToDebugValue() local
1343 DbgValue->insertAfter(LI); in ConvertDebugDeclareToDebugValue()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp162 for (auto &DbgValue : DbgValues) { in RewriteUsesOfClonedInstructions() local
165 BasicBlock *UserBB = DbgValue->getParent(); in RewriteUsesOfClonedInstructions()
180 DbgValue->setOperand(0, in RewriteUsesOfClonedInstructions()
DLocal.cpp1449 Instruction *DbgValue = Builder.insertDbgValueIntrinsic( in ConvertDebugDeclareToDebugValue() local
1451 DbgValue->insertAfter(LI); in ConvertDebugDeclareToDebugValue()
/external/llvm-project/llvm/unittests/IR/
DBasicBlockTest.cpp109 Function *DbgValue = Intrinsic::getDeclaration(M, Intrinsic::dbg_value); in TEST() local
118 Builder1.CreateCall(DbgValue, Args); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp259 void DbgVariable::initializeDbgValue(const MachineInstr *DbgValue) { in initializeDbgValue() argument
263 assert(getVariable() == DbgValue->getDebugVariable() && "Wrong variable"); in initializeDbgValue()
264 assert(getInlinedAt() == DbgValue->getDebugLoc()->getInlinedAt() && in initializeDbgValue()
267 ValueLoc = std::make_unique<DbgValueLoc>(getDebugLocValue(DbgValue)); in initializeDbgValue()
268 if (auto *E = DbgValue->getDebugExpression()) in initializeDbgValue()
1343 const MachineInstr *DbgValue, in validThroughout() argument
1345 assert(DbgValue->getDebugLoc() && "DBG_VALUE without a debug location"); in validThroughout()
1346 auto MBB = DbgValue->getParent(); in validThroughout()
1347 auto DL = DbgValue->getDebugLoc(); in validThroughout()
1361 MachineBasicBlock::const_reverse_iterator Pred(DbgValue); in validThroughout()
[all …]
DDbgEntityHistoryCalculator.cpp68 Entries.emplace_back(&MI, Entry::DbgValue); in startDbgValue()
DDwarfDebug.h166 void initializeDbgValue(const MachineInstr *DbgValue);
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp243 void DbgVariable::initializeDbgValue(const MachineInstr *DbgValue) { in initializeDbgValue() argument
247 assert(getVariable() == DbgValue->getDebugVariable() && "Wrong variable"); in initializeDbgValue()
248 assert(getInlinedAt() == DbgValue->getDebugLoc()->getInlinedAt() && in initializeDbgValue()
251 ValueLoc = std::make_unique<DbgValueLoc>(getDebugLocValue(DbgValue)); in initializeDbgValue()
252 if (auto *E = DbgValue->getDebugExpression()) in initializeDbgValue()
1531 const MachineInstr *DbgValue, in validThroughout() argument
1534 assert(DbgValue->getDebugLoc() && "DBG_VALUE without a debug location"); in validThroughout()
1535 auto MBB = DbgValue->getParent(); in validThroughout()
1536 auto DL = DbgValue->getDebugLoc(); in validThroughout()
1549 if (!Ordering.isBefore(DbgValue, LScopeBegin)) { in validThroughout()
[all …]
DDwarfDebug.h164 void initializeDbgValue(const MachineInstr *DbgValue);
DDbgEntityHistoryCalculator.cpp102 Entries.emplace_back(&MI, Entry::DbgValue); in startDbgValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPostRASchedulerList.cpp697 MachineInstr *DbgValue = P.first; in EmitSchedule() local
699 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
DMachineScheduler.cpp899 MachineInstr *DbgValue = P.first; in placeDebugValues() local
901 if (&*RegionBegin == DbgValue) in placeDebugValues()
903 BB->splice(++OrigPrevMI, BB, DbgValue); in placeDebugValues()
905 RegionEnd = DbgValue; in placeDebugValues()
/external/llvm/lib/CodeGen/
DPostRASchedulerList.cpp699 MachineInstr *DbgValue = P.first; in EmitSchedule() local
701 BB->splice(++OrigPrivMI, BB, DbgValue); in EmitSchedule()
DMachineScheduler.cpp833 MachineInstr *DbgValue = P.first; in placeDebugValues() local
835 if (&*RegionBegin == DbgValue) in placeDebugValues()
837 BB->splice(++OrigPrevMI, BB, DbgValue); in placeDebugValues()
839 RegionEnd = DbgValue; in placeDebugValues()
/external/llvm-project/llvm/test/DebugInfo/MIR/X86/
Dsink-leaves-undef.mir2 # This is a copy of test/CodeGen/X86/MachineSink-DbgValue.ll, where we
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1121 Instruction *DbgValue = Builder.insertDbgValueIntrinsic( in ConvertDebugDeclareToDebugValue() local
1123 DbgValue->insertAfter(LI); in ConvertDebugDeclareToDebugValue()