Home
last modified time | relevance | path

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

/freebsd-14.2/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()
165 for (const DebugVariable &V : Variables) { in print()
1307 VariableID getVariableID(const DebugVariable &Var) { in getVariableID()
1638 DebugVariable V = FnVarLocs->getVariable(Var); in processUntaggedInstruction()
2149 DenseSet<DebugVariable> Seen; in buildOverlapMapAndRecordDeclares()
2166 DebugVariable DV = DebugVariable(Record); in buildOverlapMapAndRecordDeclares()
2201 DebugVariable DV = in buildOverlapMapAndRecordDeclares()
2226 SmallVector<DebugVariable, 8> &Frags = Pair.second; in buildOverlapMapAndRecordDeclares()
[all …]
H A DMachineSink.cpp160 DenseSet<DebugVariable> SeenDbgVars;
863 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h988 const DebugVariable &Var,
1014 MapVector<DebugVariable, DbgValue> Vars;
1015 SmallDenseMap<DebugVariable, const DILocation *, 8> Scopes;
1027 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(),
1042 void considerOverlaps(const DebugVariable &Var, const DILocation *Loc) {
1054 if (DebugVariable::isDefaultFragment(FragmentInfo))
1057 DebugVariable Overlapped(Var.getVariable(), OptFragmentInfo,
1096 using VarAndLoc = std::pair<DebugVariable, DbgValue>;
1335 const DebugVariable &Var, LiveInsT &Output);
1420 bool emitTransfers(DenseMap<DebugVariable, unsigned> &AllVarsNumbering);
[all …]
H A DInstrRefBasedImpl.cpp235 DenseMap<DebugVariable, ResolvedDbgValue> ActiveVLocs;
247 DebugVariable Var;
263 DenseSet<DebugVariable> UseBeforeDefVariables;
348 DebugVariable Var, DbgValue Value) { in loadVarInloc()
489 void addUseBeforeDef(const DebugVariable &Var, in addUseBeforeDef()
596 bool isEntryValueVariable(const DebugVariable &Var, in isEntryValueVariable()
625 bool recoverAsEntryValue(const DebugVariable &Var, in recoverAsEntryValue()
814 DenseSet<DebugVariable> NewMLocs; in clobberMloc()
1159 const DebugVariable &Var, in emitLoc()
1588 DebugVariable V(Var, Expr, InlinedAt); in transferDebugInstrRef()
[all …]
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 …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAssignmentTrackingAnalysis.h40 SmallVector<DebugVariable> Variables;
64 const DebugVariable &getVariable(VariableID ID) const { in getVariable()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp387 SmallDenseSet<DebugVariable> VariableSet; in DPValuesRemoveRedundantDbgInstrsUsingBackwardScan()
438 SmallDenseSet<DebugVariable> VariableSet; in removeRedundantDbgInstrsUsingBackwardScan()
441 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
502 DebugVariable Key(DPV.getVariable(), std::nullopt, in DPValuesRemoveRedundantDbgInstrsUsingForwardScan()
538 DenseSet<DebugVariable> SeenDefForAggregate; in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
541 return DebugVariable(DPV.getVariable(), std::nullopt, in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
553 DebugVariable Aggregate = GetAggregateVariable(DPV); in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
580 DebugVariable Key(DVI->getVariable(), std::nullopt, in removeRedundantDbgInstrsUsingForwardScan()
641 DenseSet<DebugVariable> SeenDefForAggregate; in removeUndefDbgAssignsFromEntryBlock()
644 return DebugVariable(DVI->getVariable(), std::nullopt, in removeUndefDbgAssignsFromEntryBlock()
[all …]
H A DPromoteMemoryToRegister.cpp131 SmallSet<DebugVariable, 2> Vars; in init()
133 if (Vars.insert(DebugVariable(DAI)).second) in init()
137 if (Vars.insert(DebugVariable(DPV)).second) in init()
H A DLoopUtils.cpp605 llvm::SmallDenseSet<DebugVariable, 4> DeadDebugSet; in deleteDeadLoop()
637 DebugVariable Key(DPV.getVariable(), DPV.getExpression(), in deleteDeadLoop()
653 if (!DeadDebugSet.insert(DebugVariable(DVI)).second) in deleteDeadLoop()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3809 class DebugVariable {
3821 DebugVariable(const DbgVariableIntrinsic *DII);
3822 DebugVariable(const DPValue *DPV);
3824 DebugVariable(const DILocalVariable *Var,
3852 bool operator<(const DebugVariable &Other) const {
3858 template <> struct DenseMapInfo<DebugVariable> {
3862 static inline DebugVariable getEmptyKey() {
3867 static inline DebugVariable getTombstoneKey() {
3880 static bool isEqual(const DebugVariable &A, const DebugVariable &B) {
3890 DebugVariableAggregate(const DebugVariable &V)
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp37 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = {
40 DebugVariable::DebugVariable(const DbgVariableIntrinsic *DII) in DebugVariable() function in DebugVariable
45 DebugVariable::DebugVariable(const DPValue *DPV) in DebugVariable() function in DebugVariable
51 : DebugVariable(DVI->getVariable(), std::nullopt, in DebugVariableAggregate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp318 static DebugVariable getAggregateVariable(DbgVariableIntrinsic *DVI) { in getAggregateVariable()
319 return DebugVariable(DVI->getVariable(), std::nullopt, in getAggregateVariable()
322 static DebugVariable getAggregateVariable(DPValue *DPV) { in getAggregateVariable()
323 return DebugVariable(DPV->getVariable(), std::nullopt, in getAggregateVariable()
384 DenseMap<DebugVariable, std::optional<DIExpression::FragmentInfo>> in migrateDebugInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp2524 static DebugVariable createDebugVariableFromMachineInstr(MachineInstr *MI) { in createDebugVariableFromMachineInstr()
2525 auto DbgVar = DebugVariable(MI->getDebugVariable(), MI->getDebugExpression(), in createDebugVariableFromMachineInstr()
2775 SmallDenseMap<DebugVariable, MachineInstr *, 8> DbgValueSinkCandidates; in RescheduleLoadStoreInstrs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4328 SmallSet<DebugVariable, 4> SunkVariables; in tryToSinkInstruction()
4337 DebugVariable DbgUserVariable = in tryToSinkInstruction()
4338 DebugVariable(User->getVariable(), User->getExpression(), in tryToSinkInstruction()