Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp73 UniqueVector<DebugVariable> Variables;
83 VariableID insertVariable(DebugVariable V) { in insertVariable()
88 const DebugVariable &getVariable(VariableID ID) const { in getVariable()
107 void addSingleLocVar(DebugVariable Var, DIExpression *Expr, DebugLoc DL, in addSingleLocVar()
118 void addVarLoc(Instruction *Before, DebugVariable Var, DIExpression *Expr, in addVarLoc()
134 for (const DebugVariable &V : Variables) { in print()
198 Variables.push_back(DebugVariable(nullptr, std::nullopt, nullptr)); in init()
277 static DebugAggregate getAggregate(const DebugVariable &Var) { in getAggregate()
570 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
862 DebugVariable Var(Aggregates[FragMemLoc.Var].first, Expr, in run()
[all …]
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 DMachineSink.cpp159 DenseSet<DebugVariable> SeenDbgVars;
571 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(), in ProcessDbgInst()
H A DLiveDebugVariables.cpp581 using UVMap = DenseMap<DebugVariable, UserValue *>;
777 DebugVariable ID(Var, Fragment, DL->getInlinedAt()); in getUserValue()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h949 const DebugVariable &Var,
975 MapVector<DebugVariable, DbgValue> Vars;
976 SmallDenseMap<DebugVariable, const DILocation *, 8> Scopes;
988 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(),
1003 void considerOverlaps(const DebugVariable &Var, const DILocation *Loc) {
1015 if (DebugVariable::isDefaultFragment(FragmentInfo))
1018 DebugVariable Overlapped(Var.getVariable(), OptFragmentInfo,
1057 using VarAndLoc = std::pair<DebugVariable, DbgValue>;
1070 using ScopeToVarsT = DenseMap<const LexicalScope *, SmallSet<DebugVariable, 4>>;
1296 const DebugVariable &Var, LiveInsT &Output);
[all …]
H A DInstrRefBasedImpl.cpp230 DenseMap<LocIdx, SmallSet<DebugVariable, 4>> ActiveMLocs;
235 DenseMap<DebugVariable, ResolvedDbgValue> ActiveVLocs;
247 DebugVariable Var;
250 UseBeforeDef(ArrayRef<DbgOp> Values, const DebugVariable &Var, in UseBeforeDef()
263 DenseSet<DebugVariable> UseBeforeDefVariables;
348 DebugVariable Var, DbgValue Value) { in loadVarInloc()
433 const SmallVectorImpl<std::pair<DebugVariable, DbgValue>> &VLocs, in loadInlocs() argument
489 void addUseBeforeDef(const DebugVariable &Var, in addUseBeforeDef()
596 bool isEntryValueVariable(const DebugVariable &Var, in isEntryValueVariable()
625 bool recoverAsEntryValue(const DebugVariable &Var, in recoverAsEntryValue()
[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 …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DAssignmentTrackingAnalysis.h32 SmallVector<DebugVariable> Variables;
56 const DebugVariable &getVariable(VariableID ID) const { in getVariable()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp112 SmallSet<DebugVariable, 2> Vars; in init()
114 if (Vars.insert(DebugVariable(DAI)).second) in init()
131 SmallSet<DebugVariable, 2> VarHasDbgAssignForStore; in updateForDeletedStore()
133 VarHasDbgAssignForStore.insert(DebugVariable(DAI)); in updateForDeletedStore()
144 if (VarHasDbgAssignForStore.contains(DebugVariable(DAI))) in updateForDeletedStore()
H A DBasicBlockUtils.cpp386 SmallDenseSet<DebugVariable> VariableSet; in removeRedundantDbgInstrsUsingBackwardScan()
389 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
444 DenseMap<DebugVariable, std::pair<SmallVector<Value *, 4>, DIExpression *>> in removeRedundantDbgInstrsUsingForwardScan()
448 DebugVariable Key(DVI->getVariable(), std::nullopt, in removeRedundantDbgInstrsUsingForwardScan()
506 DenseSet<DebugVariable> SeenDefForAggregate; in remomveUndefDbgAssignsFromEntryBlock()
509 return DebugVariable(DVI->getVariable(), std::nullopt, in remomveUndefDbgAssignsFromEntryBlock()
521 DebugVariable Aggregate = GetAggregateVariable(DVI); in remomveUndefDbgAssignsFromEntryBlock()
H A DLoopUtils.cpp596 llvm::SmallDenseSet<DebugVariable, 4> DeadDebugSet; in deleteDeadLoop()
625 if (!DeadDebugSet.insert(DebugVariable(DVI)).second) in deleteDeadLoop()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3725 class DebugVariable {
3737 DebugVariable(const DbgVariableIntrinsic *DII);
3739 DebugVariable(const DILocalVariable *Var,
3744 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
3762 bool operator==(const DebugVariable &Other) const {
3767 bool operator<(const DebugVariable &Other) const {
3773 template <> struct DenseMapInfo<DebugVariable> {
3777 static inline DebugVariable getEmptyKey() {
3778 return DebugVariable(nullptr, std::nullopt, nullptr);
3782 static inline DebugVariable getTombstoneKey() {
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDebugInfoMetadata.cpp36 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = {
39 DebugVariable::DebugVariable(const DbgVariableIntrinsic *DII) in DebugVariable() function in DebugVariable
H A DDebugInfo.cpp1946 return DebugVariable(DAI) == DebugVariable(DDI); in runOnFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4158 SmallSet<DebugVariable, 4> SunkVariables; in TryToSinkInstruction()
4167 DebugVariable DbgUserVariable = in TryToSinkInstruction()
4168 DebugVariable(User->getVariable(), User->getExpression(), in TryToSinkInstruction()