| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | AssignmentTrackingAnalysis.cpp | 104 UniqueVector<DebugVariable> Variables; 115 VariableID insertVariable(DebugVariable V) { in insertVariable() 120 const DebugVariable &getVariable(VariableID ID) const { in getVariable() 139 void addSingleLocVar(DebugVariable Var, DIExpression *Expr, DebugLoc DL, in addSingleLocVar() 150 void addVarLoc(VarLocInsertPt Before, DebugVariable Var, DIExpression *Expr, in addVarLoc() 166 for (const DebugVariable &V : Variables) { in print() 253 Variables.push_back(DebugVariable(nullptr, std::nullopt, nullptr)); in init() 331 static DebugAggregate getAggregate(const DebugVariable &Var) { in getAggregate() 666 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef() 974 DebugVariable Var(Aggregates[FragMemLoc.Var].first, Expr, in run() [all …]
|
| H A D | RemoveRedundantDebugValues.cpp | 89 DenseMap<DebugVariable, std::pair<MachineOperand *, const DIExpression *>> in reduceDbgValsForwardScan() 95 DebugVariable Var(MI.getDebugVariable(), std::nullopt, in reduceDbgValsForwardScan() 162 SmallDenseSet<DebugVariable> VariableSet; in reduceDbgValsBackwardScan() 166 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in reduceDbgValsBackwardScan()
|
| H A D | LiveDebugVariables.cpp | 594 using UVMap = DenseMap<DebugVariable, UserValue *>; 787 DebugVariable ID(Var, Fragment, DL->getInlinedAt()); in getUserValue()
|
| H A D | MachineSink.cpp | 186 DenseSet<DebugVariable> SeenDbgVars; 1017 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in ProcessDbgInst()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | AssignmentTrackingAnalysis.h | 39 /// 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 D | WebAssemblyDebugValueManager.cpp | 111 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 D | InstrRefBasedImpl.h | 40 using VarAndLoc = std::pair<DebugVariable, const DILocation *>; 48 DenseMap<DebugVariable, unsigned> VarToIdx; 52 DebugVariableID getDVID(const DebugVariable &Var) const { in getDVID() 58 DebugVariableID insertDVID(DebugVariable &Var, const DILocation *Loc) { in insertDVID() 1023 const DebugVariable &Var, const DILocation *DILoc, 1067 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), 1082 void considerOverlaps(const DebugVariable &Var, const DILocation *Loc) { 1094 if (DebugVariable::isDefaultFragment(FragmentInfo)) 1097 DebugVariable Overlapped(Var.getVariable(), OptFragmentInfo,
|
| H A D | VarLocBasedImpl.cpp | 329 const DebugVariable Var; 900 SmallDenseMap<DebugVariable, LocIndices, 8> Vars; 902 SmallDenseMap<DebugVariable, LocIndices, 8> EntryValuesBackupVars; 935 std::optional<LocIndices> getEntryValueBackup(DebugVariable Var); 1122 auto DoErase = [&VL, this](DebugVariable VarToErase) { in erase() 1133 DebugVariable Var = VL.Var; in erase() 1148 if (!DebugVariable::isDefaultFragment(Fragment)) in erase() 1195 VarLocBasedLDV::OpenRangesSet::getEntryValueBackup(DebugVariable Var) { in getEntryValueBackup() 1421 DebugVariable V(Var, Expr, InlinedAt); in transferDebugValue() 1957 DebugVariable MIVar(MI.getDebugVariable(), MI.getDebugExpression(), in accumulateFragmentMap() [all …]
|
| H A D | InstrRefBasedImpl.cpp | 628 bool isEntryValueVariable(const DebugVariable &Var, in isEntryValueVariable() 710 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in redefVar() 750 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in redefVar() 966 const DebugVariable &Var, in emitMOLoc() 1205 const DebugVariable &Var, const DILocation *DILoc, in emitLoc() 1654 DebugVariable V(Var, Expr, InlinedAt); in transferDebugInstrRef() 2262 DebugVariable MIVar(MI.getDebugVariable(), MI.getDebugExpression(), in accumulateFragmentMap()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 383 SmallDenseSet<DebugVariable> VariableSet; in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan() 389 DebugVariable Key(DVR.getVariable(), DVR.getExpression(), in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan() 445 SmallDenseMap<DebugVariable, in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan() 452 DebugVariable Key(DVR.getVariable(), std::nullopt, in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan() 489 DenseSet<DebugVariable> SeenDefForAggregate; in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock() 492 return DebugVariable(DVR.getVariable(), std::nullopt, in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock() 504 DebugVariable Aggregate = GetAggregateVariable(DVR); in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
|
| H A D | PromoteMemoryToRegister.cpp | 136 SmallSet<DebugVariable, 2> Vars; in init() 138 if (Vars.insert(DebugVariable(DAI)).second) in init() 142 if (Vars.insert(DebugVariable(DVR)).second) in init()
|
| H A D | LoopUtils.cpp | 608 llvm::SmallDenseSet<DebugVariable, 4> DeadDebugSet; in deleteDeadLoop() 640 DebugVariable Key(DVR.getVariable(), DVR.getExpression(), in deleteDeadLoop()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 4604 class DebugVariable { 4616 LLVM_ABI DebugVariable(const DbgVariableIntrinsic *DII); 4617 LLVM_ABI DebugVariable(const DbgVariableRecord *DVR); 4619 DebugVariable(const DILocalVariable *Var, 4624 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, 4642 bool operator==(const DebugVariable &Other) const { 4647 bool operator<(const DebugVariable &Other) const { 4653 template <> struct DenseMapInfo<DebugVariable> { 4657 static inline DebugVariable getEmptyKey() { 4658 return DebugVariable(nullptr, std::nullopt, nullptr); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 5296 SmallSet<DebugVariable, 4> SunkVariables; in tryToSinkInstructionDbgValues() 5305 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgValues() 5306 DebugVariable(User->getVariable(), User->getExpression(), in tryToSinkInstructionDbgValues() 5367 using InstVarPair = std::pair<const Instruction *, DebugVariable>; in tryToSinkInstructionDbgVariableRecords() 5373 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgVariableRecords() 5374 DebugVariable(DVR->getVariable(), DVR->getExpression(), in tryToSinkInstructionDbgVariableRecords() 5394 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgVariableRecords() 5395 DebugVariable(DVR.getVariable(), DVR.getExpression(), in tryToSinkInstructionDbgVariableRecords() 5411 SmallSet<DebugVariable, 4> SunkVariables; in tryToSinkInstructionDbgVariableRecords() 5416 DebugVariable DbgUserVariable = in tryToSinkInstructionDbgVariableRecords() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 49 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = { 52 DebugVariable::DebugVariable(const DbgVariableIntrinsic *DII) in DebugVariable() function in DebugVariable 57 DebugVariable::DebugVariable(const DbgVariableRecord *DVR) in DebugVariable() function in DebugVariable 63 : DebugVariable(DVI->getVariable(), std::nullopt, in DebugVariableAggregate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMLoadStoreOptimizer.cpp | 2521 static DebugVariable createDebugVariableFromMachineInstr(MachineInstr *MI) { in createDebugVariableFromMachineInstr() 2522 auto DbgVar = DebugVariable(MI->getDebugVariable(), MI->getDebugExpression(), in createDebugVariableFromMachineInstr() 2771 SmallDenseMap<DebugVariable, MachineInstr *, 8> DbgValueSinkCandidates; in RescheduleLoadStoreInstrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 318 static DebugVariable getAggregateVariable(DbgVariableIntrinsic *DVI) { in getAggregateVariable() 319 return DebugVariable(DVI->getVariable(), std::nullopt, in getAggregateVariable() 322 static DebugVariable getAggregateVariable(DbgVariableRecord *DVR) { in getAggregateVariable() 323 return DebugVariable(DVR->getVariable(), std::nullopt, in getAggregateVariable() 377 DenseMap<DebugVariable, std::optional<DIExpression::FragmentInfo>> in migrateDebugInfo()
|