Home
last modified time | relevance | path

Searched refs:DV (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp67 DisplayValues DV; in printView() local
69 collectData(DV); in printView()
70 TempStream << "Iterations: " << DV.Iterations; in printView()
71 TempStream << "\nInstructions: " << DV.TotalInstructions; in printView()
72 TempStream << "\nTotal Cycles: " << DV.TotalCycles; in printView()
73 TempStream << "\nTotal uOps: " << DV.TotalUOps << '\n'; in printView()
74 TempStream << "\nDispatch Width: " << DV.DispatchWidth; in printView()
76 << format("%.2f", floor((DV.UOpsPerCycle * 100) + 0.5) / 100); in printView()
78 << format("%.2f", floor((DV.IPC * 100) + 0.5) / 100); in printView()
80 << format("%.1f", floor((DV.BlockRThroughput * 10) + 0.5) / 10) in printView()
[all …]
H A DSummaryView.h73 /// Compute the data we want to print out in the object DV.
74 void collectData(DisplayValues &DV) const;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp78 void evalCast(const CallEvent &Call, DefinedOrUnknownSVal DV,
80 void evalDynCast(const CallEvent &Call, DefinedOrUnknownSVal DV,
82 void evalCastOrNull(const CallEvent &Call, DefinedOrUnknownSVal DV,
84 void evalDynCastOrNull(const CallEvent &Call, DefinedOrUnknownSVal DV,
86 void evalCastAs(const CallEvent &Call, DefinedOrUnknownSVal DV,
88 void evalGetAs(const CallEvent &Call, DefinedOrUnknownSVal DV,
90 void evalIsa(const CallEvent &Call, DefinedOrUnknownSVal DV,
92 void evalIsaAndNonNull(const CallEvent &Call, DefinedOrUnknownSVal DV,
198 static void addCastTransition(const CallEvent &Call, DefinedOrUnknownSVal DV, in addCastTransition() argument
202 ProgramStateRef State = C.getState()->assume(DV, IsNonNullParam); in addCastTransition()
[all …]
H A DNonNullParamChecker.cpp136 auto DV = V.getAs<DefinedSVal>(); in checkPreCall() local
137 if (!DV) in checkPreCall()
140 assert(!HasRefTypeParam || isa<Loc>(*DV)); in checkPreCall()
143 if (ExpectedToBeNonNull && !isa<Loc>(*DV)) { in checkPreCall()
154 auto CSV = DV->getAs<nonloc::CompoundVal>(); in checkPreCall()
161 DV = V.getAs<DefinedSVal>(); in checkPreCall()
176 std::tie(stateNotNull, stateNull) = CM.assumeDual(state, *DV); in checkPreCall()
H A DDivZeroChecker.cpp95 std::optional<DefinedSVal> DV = Denom.getAs<DefinedSVal>(); in checkPreStmt() local
99 if (!DV) in checkPreStmt()
105 std::tie(stateNotZero, stateZero) = CM.assumeDual(C.getState(), *DV); in checkPreStmt()
114 std::vector<SymbolRef> taintedSyms = getTaintedSymbols(C.getState(), *DV); in checkPreStmt()
H A DIterator.cpp279 if (auto DV = IsCappedFromAbove.getAs<DefinedSVal>()) { in assumeNoOverflow() local
280 NewState = NewState->assume(*DV, true); in assumeNoOverflow()
289 if (auto DV = IsCappedFromBelow.getAs<DefinedSVal>()) { in assumeNoOverflow() local
290 NewState = NewState->assume(*DV, true); in assumeNoOverflow()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp113 for (auto *DV : DbgValuesInBetween) { in getSinkableDebugValues() local
114 if (!llvm::is_contained(DbgValues, DV)) { in getSinkableDebugValues()
115 DebugVariable Var(DV->getDebugVariable(), DV->getDebugExpression(), in getSinkableDebugValues()
116 DV->getDebugLoc()->getInlinedAt()); in getSinkableDebugValues()
117 SeenDbgVarToDbgValues[Var].push_back(DV); in getSinkableDebugValues()
132 for (auto *DV : DbgValues) { in getSinkableDebugValues() local
133 DebugVariable Var(DV->getDebugVariable(), DV->getDebugExpression(), in getSinkableDebugValues()
134 DV->getDebugLoc()->getInlinedAt()); in getSinkableDebugValues()
137 SinkableDbgValues.push_back(DV); in getSinkableDebugValues()
213 SinkableDbgValues.push_back(DV); in getSinkableDebugValues()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp35 void ExecutionDomainFix::release(DomainValue *DV) { in release() argument
36 while (DV) { in release()
37 assert(DV->Refs && "Bad DomainValue"); in release()
38 if (--DV->Refs) in release()
42 if (DV->AvailableDomains && !DV->isCollapsed()) in release()
43 collapse(DV, DV->getFirstDomain()); in release()
45 DomainValue *Next = DV->Next; in release()
46 DV->clear(); in release()
47 Avail.push_back(DV); in release()
49 DV = Next; in release()
[all …]
H A DAssignmentTrackingAnalysis.cpp2142 DebugVariable DV = DebugVariable(Record); in buildOverlapMapAndRecordDeclares() local
2143 DebugAggregate DA = {DV.getVariable(), DV.getInlinedAt()}; in buildOverlapMapAndRecordDeclares()
2146 if (Seen.insert(DV).second) in buildOverlapMapAndRecordDeclares()
2147 FragmentMap[DA].push_back(DV); in buildOverlapMapAndRecordDeclares()
2174 DebugVariable DV = in buildOverlapMapAndRecordDeclares() local
2177 DebugAggregate DA = {DV.getVariable(), DV.getInlinedAt()}; in buildOverlapMapAndRecordDeclares()
2183 {FnVarLocs->insertVariable(DV), *Info}); in buildOverlapMapAndRecordDeclares()
2185 if (Seen.insert(DV).second) in buildOverlapMapAndRecordDeclares()
2186 FragmentMap[DA].push_back(DV); in buildOverlapMapAndRecordDeclares()
2195 DebugVariable DV = in buildOverlapMapAndRecordDeclares() local
[all …]
/freebsd/usr.bin/tip/tip/
H A Dremote.c47 &AT, &DV, &CM, &CU, &EL, &IE, &OE, &PN, &PR, &DI,
80 if ((DV != NULL) || in getremcap()
81 (host[0] == '/' && access(DV = host, R_OK | W_OK) == 0)) { in getremcap()
82 CU = DV; in getremcap()
122 if (DV == NOSTR) { in getremcap()
127 CU = DV; in getremcap()
144 HW = (CU == NOSTR) || (DU && equal(DV, CU)); in getremcap()
210 next = DV; in getremote()
220 DV = next; in getremote()
224 DV = next; in getremote()
[all …]
H A Dcu.c52 CU = DV = NOSTR; in cumain()
80 if (DV != NULL) { in cumain()
87 DV = optarg; in cumain()
89 asprintf(&DV, "/dev/%s", optarg); in cumain()
H A Dacu.c69 logent(value(HOST), "", DV, "call completed"); in con()
158 logent(value(HOST), "", DV, "call terminated"); in disconnect()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DExecutionDomainFix.h164 DomainValue *retain(DomainValue *DV) { in retain() argument
165 if (DV) in retain()
166 ++DV->Refs; in retain()
167 return DV; in retain()
179 void setLiveReg(int rx, DomainValue *DV);
H A DAntiDepBreaker.h80 for (const auto &DV : make_range(DbgValues.crbegin(), DbgValues.crend())) { in UpdateDbgValues() local
81 MachineInstr *PrevMI = DV.second; in UpdateDbgValues()
83 MachineInstr *DbgMI = DV.first; in UpdateDbgValues()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h105 const DbgVariable &DV,
109 const DbgVariable &DV,
113 const DbgVariable &DV,
117 const DbgVariable &DV,
121 const DbgVariable &DV,
246 DIE *constructVariableDIE(DbgVariable &DV, bool Abstract = false);
250 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
356 void addVariableAddress(const DbgVariable &DV, DIE &Die,
H A DDbgEntityHistoryCalculator.cpp371 static void handleNewDebugValue(InlinedEntity Var, const MachineInstr &DV, in handleNewDebugValue() argument
376 if (HistMap.startDbgValue(Var, DV, NewIndex)) { in handleNewDebugValue()
394 const DIExpression *DIExpr = DV.getDebugExpression(); in handleNewDebugValue()
398 const MachineInstr &DV = *Entry.getInstr(); in handleNewDebugValue() local
399 bool Overlaps = DIExpr->fragmentsOverlap(DV.getDebugExpression()); in handleNewDebugValue()
404 if (!DV.isDebugEntryValue()) in handleNewDebugValue()
405 for (const MachineOperand &Op : DV.debug_operands()) in handleNewDebugValue()
412 if (!DV.isDebugEntryValue()) { in handleNewDebugValue()
413 for (const MachineOperand &Op : DV.debug_operands()) { in handleNewDebugValue()
H A DDwarfCompileUnit.cpp794 DIE *DwarfCompileUnit::constructVariableDIE(DbgVariable &DV, bool Abstract) { in constructVariableDIE() argument
795 auto *VariableDie = DIE::get(DIEValueAllocator, DV.getTag()); in constructVariableDIE()
796 insertDIE(DV.getVariable(), VariableDie); in constructVariableDIE()
797 DV.setDIE(*VariableDie); in constructVariableDIE()
800 applyCommonDbgVariableAttributes(DV, *VariableDie); in constructVariableDIE()
804 applyConcreteDbgVariableAttributes(V, DV, *VariableDie); in constructVariableDIE()
806 DV.asVariant()); in constructVariableDIE()
812 const Loc::Single &Single, const DbgVariable &DV, DIE &VariableDie) { in applyConcreteDbgVariableAttributes() argument
824 addVariableAddress(DV, VariableDie, Entry->getLoc()); in applyConcreteDbgVariableAttributes()
839 addConstantValue(VariableDie, Entry->getInt(), DV.getType()); in applyConcreteDbgVariableAttributes()
[all …]
H A DDwarfFile.cpp107 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable() local
108 if (unsigned ArgNum = DV->getArg()) { in addScopeVariable()
H A DDebugLocEntry.h173 for (const DbgValueLocEntry &DV : ValueLocEntries) in dump() local
174 DV.dump(); in dump()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp291 DV = std::make_unique<DVEntry[]>(CommonLevels); in FullDependence()
311 unsigned char Direction = DV[Level - 1].Direction; in isDirectionNegative()
330 unsigned char Direction = DV[Level - 1].Direction; in normalize()
338 DV[Level - 1].Direction = RevDirection; in normalize()
340 if (DV[Level - 1].Distance != nullptr) in normalize()
341 DV[Level - 1].Distance = in normalize()
342 SE->getNegativeSCEV(DV[Level - 1].Distance); in normalize()
355 return DV[Level - 1].Direction; in getDirection()
362 return DV[Level - 1].Distance; in getDistance()
371 return DV[Level - 1].Scalar; in isScalar()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp65 DbgVariableRecord::DbgVariableRecord(Metadata *Location, DILocalVariable *DV, in DbgVariableRecord() argument
69 Type(Type), Variable(DV), Expression(Expr) {}
180 DbgVariableRecord::createDbgVariableRecord(Value *Location, DILocalVariable *DV, in createDbgVariableRecord() argument
183 return new DbgVariableRecord(ValueAsMetadata::get(Location), DV, Expr, DI, in createDbgVariableRecord()
188 Value *Location, DILocalVariable *DV, DIExpression *Expr, in createDbgVariableRecord() argument
190 auto *NewDbgVariableRecord = createDbgVariableRecord(Location, DV, Expr, DI); in createDbgVariableRecord()
196 DILocalVariable *DV, in createDVRDeclare() argument
199 return new DbgVariableRecord(ValueAsMetadata::get(Address), DV, Expr, DI, in createDVRDeclare()
204 DbgVariableRecord::createDVRDeclare(Value *Address, DILocalVariable *DV, in createDVRDeclare() argument
207 auto *NewDVRDeclare = createDVRDeclare(Address, DV, Expr, DI); in createDVRDeclare()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h310 LLVM_ABI DbgVariableRecord(Metadata *Location, DILocalVariable *DV,
353 createDbgVariableRecord(Value *Location, DILocalVariable *DV,
356 createDbgVariableRecord(Value *Location, DILocalVariable *DV,
360 DILocalVariable *DV,
364 createDVRDeclare(Value *Address, DILocalVariable *DV, DIExpression *Expr,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp745 auto HasUnknownVReg = [&VRBaseMap](SDDbgValue *DV) { in ProcessSDDbgValues() argument
746 for (const SDDbgOperand &L : DV->getLocationOps()) { in ProcessSDDbgValues()
758 for (auto *DV : DAG->GetDbgValues(N)) { in ProcessSDDbgValues() local
759 if (DV->isEmitted()) in ProcessSDDbgValues()
761 unsigned DVOrder = DV->getOrder(); in ProcessSDDbgValues()
769 if (!DV->isInvalidated() && HasUnknownVReg(DV)) in ProcessSDDbgValues()
771 MachineInstr *DbgMI = Emitter.EmitDbgValue(DV, VRBaseMap); in ProcessSDDbgValues()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormat.h176 FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U,
178 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1687 static void insertDbgValueOrDbgVariableRecord(DIBuilder &Builder, Value *DV, in insertDbgValueOrDbgVariableRecord() argument
1692 ValueAsMetadata *DVAM = ValueAsMetadata::get(DV); in insertDbgValueOrDbgVariableRecord()
1699 DIBuilder &Builder, Value *DV, DILocalVariable *DIVar, DIExpression *DIExpr, in insertDbgValueOrDbgVariableRecordAfter() argument
1703 insertDbgValueOrDbgVariableRecord(Builder, DV, DIVar, DIExpr, NewLoc, NextIt); in insertDbgValueOrDbgVariableRecordAfter()
1714 Value *DV = SI->getValueOperand(); in ConvertDebugDeclareToDebugValue() local
1732 valueCoversEntireFragment(DV->getType(), DII)); in ConvertDebugDeclareToDebugValue()
1734 insertDbgValueOrDbgVariableRecord(Builder, DV, DIVar, DIExpr, NewLoc, in ConvertDebugDeclareToDebugValue()
1746 DV = PoisonValue::get(DV->getType()); in ConvertDebugDeclareToDebugValue()
1747 insertDbgValueOrDbgVariableRecord(Builder, DV, DIVar, DIExpr, NewLoc, in ConvertDebugDeclareToDebugValue()
1763 Value *DV = SI->getValueOperand(); in InsertDebugValueAtStoreLoc() local
[all …]

123