Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRemoveRedundantDebugValues.cpp86 DenseMap<DebugVariable, std::pair<MachineOperand *, const DIExpression *>> in reduceDbgValsForwardScan()
92 DebugVariable Var(MI.getDebugVariable(), std::nullopt, in reduceDbgValsForwardScan()
159 SmallDenseSet<DebugVariable> VariableSet; in reduceDbgValsBackwardScan()
163 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in reduceDbgValsBackwardScan()
H A DAssignmentTrackingAnalysis.cpp103 UniqueVector<DebugVariable> Variables;
114 VariableID insertVariable(DebugVariable V) { in insertVariable()
119 const DebugVariable &getVariable(VariableID ID) const { in getVariable()
138 void addSingleLocVar(DebugVariable Var, DIExpression *Expr, DebugLoc DL, in addSingleLocVar()
149 void addVarLoc(VarLocInsertPt Before, DebugVariable Var, DIExpression *Expr, in addVarLoc()
165 for (const DebugVariable &V : Variables) { in print()
251 Variables.push_back(DebugVariable(nullptr, std::nullopt, nullptr)); in init()
332 static DebugAggregate getAggregate(const DebugVariable &Var) { in getAggregate()
668 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
976 DebugVariable Var(Aggregates[FragMemLoc.Var].first, Expr, in run()
[all …]
H A DMachineSink.cpp168 DenseSet<DebugVariable> SeenDbgVars;
877 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in ProcessDbgInst()
H A DLiveDebugVariables.cpp582 using UVMap = DenseMap<DebugVariable, UserValue *>;
778 DebugVariable ID(Var, Fragment, DL->getInlinedAt()); in getUserValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAssignmentTrackingAnalysis.h39 /// Maps VarLocInfo.VariableID to a DebugVariable for VarLocRecords.
40 SmallVector<DebugVariable> Variables;
63 /// Return the DebugVariable represented by \p ID. in single_locs_begin()
64 const DebugVariable &getVariable(VariableID ID) const {
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp111 SmallDenseMap<DebugVariable, SmallVector<MachineInstr *, 2>> in getSinkableDebugValues()
115 DebugVariable Var(DV->getDebugVariable(), DV->getDebugExpression(), in getSinkableDebugValues()
133 DebugVariable Var(DV->getDebugVariable(), DV->getDebugExpression(), in getSinkableDebugValues()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h39 using VarAndLoc = std::pair<DebugVariable, const DILocation *>;
47 DenseMap<DebugVariable, unsigned> VarToIdx;
51 DebugVariableID getDVID(const DebugVariable &Var) const { in getDVID()
57 DebugVariableID insertDVID(DebugVariable &Var, const DILocation *Loc) { in insertDVID()
1026 const DebugVariable &Var, const DILocation *DILoc,
1070 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(),
1087 void considerOverlaps(const DebugVariable &Var, const DILocation *Loc) {
1099 if (DebugVariable::isDefaultFragment(FragmentInfo))
1102 DebugVariable Overlapped(Var.getVariable(), OptFragmentInfo,
H A DVarLocBasedImpl.cpp327 const DebugVariable Var;
897 SmallDenseMap<DebugVariable, LocIndices, 8> Vars;
899 SmallDenseMap<DebugVariable, LocIndices, 8> EntryValuesBackupVars;
932 std::optional<LocIndices> getEntryValueBackup(DebugVariable Var);
1119 auto DoErase = [&VL, this](DebugVariable VarToErase) { in erase()
1130 DebugVariable Var = VL.Var; in erase()
1145 if (!DebugVariable::isDefaultFragment(Fragment)) in erase()
1192 VarLocBasedLDV::OpenRangesSet::getEntryValueBackup(DebugVariable Var) { in getEntryValueBackup()
1409 DebugVariable V(Var, Expr, InlinedAt); in transferDebugValue()
1948 DebugVariable MIVar(MI.getDebugVariable(), MI.getDebugExpression(), in accumulateFragmentMap()
[all …]
H A DInstrRefBasedImpl.cpp622 bool isEntryValueVariable(const DebugVariable &Var, in isEntryValueVariable()
694 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in redefVar()
734 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in redefVar()
952 const DebugVariable &Var, in emitMOLoc()
1191 const DebugVariable &Var, const DILocation *DILoc, in emitLoc()
1619 DebugVariable V(Var, Expr, InlinedAt); in transferDebugInstrRef()
2228 DebugVariable MIVar(MI.getDebugVariable(), MI.getDebugExpression(), in accumulateFragmentMap()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp388 SmallDenseSet<DebugVariable> VariableSet; in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
411 DebugVariable Key(DVR.getVariable(), DVR.getExpression(), in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
447 SmallDenseSet<DebugVariable> VariableSet; in removeRedundantDbgInstrsUsingBackwardScan()
450 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
506 DenseMap<DebugVariable, std::pair<SmallVector<Value *, 4>, DIExpression *>> in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
512 DebugVariable Key(DVR.getVariable(), std::nullopt, in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
549 DenseSet<DebugVariable> SeenDefForAggregate; in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
552 return DebugVariable(DVR.getVariable(), std::nullopt, in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
564 DebugVariable Aggregate = GetAggregateVariable(DVR); in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
587 DenseMap<DebugVariable, std::pair<SmallVector<Value *, 4>, DIExpression *>> in removeRedundantDbgInstrsUsingForwardScan()
[all …]
H A DPromoteMemoryToRegister.cpp133 SmallSet<DebugVariable, 2> Vars; in init()
135 if (Vars.insert(DebugVariable(DAI)).second) in init()
139 if (Vars.insert(DebugVariable(DVR)).second) in init()
H A DLoopUtils.cpp606 llvm::SmallDenseSet<DebugVariable, 4> DeadDebugSet; in deleteDeadLoop()
638 DebugVariable Key(DVR.getVariable(), DVR.getExpression(), in deleteDeadLoop()
654 if (!DeadDebugSet.insert(DebugVariable(DVI)).second) in deleteDeadLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3988 class DebugVariable {
4000 DebugVariable(const DbgVariableIntrinsic *DII);
4001 DebugVariable(const DbgVariableRecord *DVR);
4003 DebugVariable(const DILocalVariable *Var,
4008 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
4026 bool operator==(const DebugVariable &Other) const {
4031 bool operator<(const DebugVariable &Other) const {
4037 template <> struct DenseMapInfo<DebugVariable> {
4041 static inline DebugVariable getEmptyKey() {
4042 return DebugVariable(nullptr, std::nullopt, nullptr);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp41 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = {
44 DebugVariable::DebugVariable(const DbgVariableIntrinsic *DII) in DebugVariable() function in DebugVariable
49 DebugVariable::DebugVariable(const DbgVariableRecord *DVR) in DebugVariable() function in DebugVariable
55 : DebugVariable(DVI->getVariable(), std::nullopt, in DebugVariableAggregate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4836 SmallSet<DebugVariable, 4> SunkVariables; in tryToSinkInstructionDbgValues()
4845 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgValues()
4846 DebugVariable(User->getVariable(), User->getExpression(), in tryToSinkInstructionDbgValues()
4907 using InstVarPair = std::pair<const Instruction *, DebugVariable>; in tryToSinkInstructionDbgVariableRecords()
4913 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgVariableRecords()
4914 DebugVariable(DVR->getVariable(), DVR->getExpression(), in tryToSinkInstructionDbgVariableRecords()
4934 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgVariableRecords()
4935 DebugVariable(DVR.getVariable(), DVR.getExpression(), in tryToSinkInstructionDbgVariableRecords()
4951 SmallSet<DebugVariable, 4> SunkVariables; in tryToSinkInstructionDbgVariableRecords()
4956 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgVariableRecords()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp314 static DebugVariable getAggregateVariable(DbgVariableIntrinsic *DVI) { in getAggregateVariable()
315 return DebugVariable(DVI->getVariable(), std::nullopt, in getAggregateVariable()
318 static DebugVariable getAggregateVariable(DbgVariableRecord *DVR) { in getAggregateVariable()
319 return DebugVariable(DVR->getVariable(), std::nullopt, in getAggregateVariable()
373 DenseMap<DebugVariable, std::optional<DIExpression::FragmentInfo>> in migrateDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp2526 static DebugVariable createDebugVariableFromMachineInstr(MachineInstr *MI) { in createDebugVariableFromMachineInstr()
2527 auto DbgVar = DebugVariable(MI->getDebugVariable(), MI->getDebugExpression(), in createDebugVariableFromMachineInstr()
2777 SmallDenseMap<DebugVariable, MachineInstr *, 8> DbgValueSinkCandidates; in RescheduleLoadStoreInstrs()