Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRemoveRedundantDebugValues.cpp86 DenseMap<DebugVariable, std::pair<MachineOperand *, const DIExpression *>> in reduceDbgValsForwardScan()
92 DebugVariable Var(MI.getDebugVariable(), NoneType(), in reduceDbgValsForwardScan()
159 SmallDenseSet<DebugVariable> VariableSet; in reduceDbgValsBackwardScan()
163 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in reduceDbgValsBackwardScan()
H A DMachineSink.cpp159 DenseSet<DebugVariable> SeenDbgVars;
571 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in ProcessDbgInst()
H A DLiveDebugVariables.cpp580 using UVMap = DenseMap<DebugVariable, UserValue *>;
776 DebugVariable ID(Var, Fragment, DL->getInlinedAt()); in getUserValue()
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h699 MapVector<DebugVariable, DbgValue> Vars;
700 SmallDenseMap<DebugVariable, const DILocation *, 8> Scopes;
712 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in defVar()
729 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in defVar()
743 void considerOverlaps(const DebugVariable &Var, const DILocation *Loc) { in considerOverlaps()
755 if (DebugVariable::isDefaultFragment(FragmentInfo)) in considerOverlaps()
758 DebugVariable Overlapped(Var.getVariable(), OptFragmentInfo, in considerOverlaps()
797 using VarAndLoc = std::pair<DebugVariable, DbgValue>;
1023 const DebugVariable &Var, LiveInsT &Output);
1093 pickVPHILoc(const MachineBasicBlock &MBB, const DebugVariable &Var,
[all …]
H A DInstrRefBasedImpl.cpp216 DenseMap<DebugVariable, LocAndProperties> ActiveVLocs;
228 DebugVariable Var;
240 DenseSet<DebugVariable> UseBeforeDefVariables;
354 void addUseBeforeDef(const DebugVariable &Var, in addUseBeforeDef()
406 bool isEntryValueVariable(const DebugVariable &Var, in isEntryValueVariable()
435 bool recoverAsEntryValue(const DebugVariable &Var, in recoverAsEntryValue()
572 DenseSet<DebugVariable> NewMLocs; in clobberMloc()
1044 DebugVariable V(Var, Expr, InlinedAt); in transferDebugValue()
1116 DebugVariable V(Var, Expr, InlinedAt); in transferDebugInstrRef()
2871 const DebugVariable &Var, LiveInsT &Output) { in placePHIsForSingleVarDefinition()
[all …]
H A DVarLocBasedImpl.cpp303 const DebugVariable Var;
827 SmallDenseMap<DebugVariable, LocIndices, 8> Vars;
829 SmallDenseMap<DebugVariable, LocIndices, 8> EntryValuesBackupVars;
862 llvm::Optional<LocIndices> getEntryValueBackup(DebugVariable Var);
1041 auto DoErase = [VL, this](DebugVariable VarToErase) { in erase()
1052 DebugVariable Var = VL.Var; in erase()
1067 if (!DebugVariable::isDefaultFragment(Fragment)) in erase()
1114 VarLocBasedLDV::OpenRangesSet::getEntryValueBackup(DebugVariable Var) { in getEntryValueBackup()
1331 DebugVariable V(Var, Expr, InlinedAt); in transferDebugValue()
1847 DebugVariable MIVar(MI.getDebugVariable(), MI.getDebugExpression(), in accumulateFragmentMap()
[all …]
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DInstrRefLDVTest.cpp1802 DebugVariable Var(FuncVariable, None, nullptr); in TEST_F()
1931 DebugVariable Var(FuncVariable, None, nullptr); in TEST_F()
2033 DebugVariable Var(FuncVariable, None, nullptr); in TEST_F()
2162 DebugVariable Var(FuncVariable, None, nullptr); in TEST_F()
2182 SmallSet<DebugVariable, 4> AllVars; in TEST_F()
2337 SmallSet<DebugVariable, 4> AllVars; in TEST_F()
2445 SmallSet<DebugVariable, 4> AllVars; in TEST_F()
2510 SmallSet<DebugVariable, 4> AllVars; in TEST_F()
2570 SmallSet<DebugVariable, 4> AllVars; in TEST_F()
2787 SmallSet<DebugVariable, 4> AllVars; in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3620 class DebugVariable {
3636 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
3654 bool operator==(const DebugVariable &Other) const {
3659 bool operator<(const DebugVariable &Other) const {
3665 template <> struct DenseMapInfo<DebugVariable> {
3669 static inline DebugVariable getEmptyKey() {
3670 return DebugVariable(nullptr, NoneType(), nullptr);
3674 static inline DebugVariable getTombstoneKey() {
3675 return DebugVariable(nullptr, {{0, 0}}, nullptr);
3678 static unsigned getHashValue(const DebugVariable &D) {
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp368 SmallDenseSet<DebugVariable> VariableSet; in removeRedundantDbgInstrsUsingBackwardScan()
371 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
415 DenseMap<DebugVariable, std::pair<SmallVector<Value *, 4>, DIExpression *>> in removeRedundantDbgInstrsUsingForwardScan()
419 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingForwardScan()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp3571 DenseMap<DebugVariable, uint64_t> DebugVariableMap; in TEST_F()
3585 DebugVariable DebugVariableA(VarA, NoneType(), nullptr); in TEST_F()
3586 DebugVariable DebugVariableInlineA(VarA, NoneType(), InlinedLoc); in TEST_F()
3587 DebugVariable DebugVariableB(VarB, NoneType(), nullptr); in TEST_F()
3588 DebugVariable DebugVariableFragB(VarB, {{16, 16}}, nullptr); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4105 SmallSet<DebugVariable, 4> SunkVariables; in TryToSinkInstruction()
4114 DebugVariable DbgUserVariable = in TryToSinkInstruction()
4115 DebugVariable(User->getVariable(), User->getExpression(), in TryToSinkInstruction()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfoMetadata.cpp34 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = {