Home
last modified time | relevance | path

Searched refs:Delta (Results 1 – 25 of 106) sorted by relevance

12345

/llvm-project-15.0.7/clang/lib/Rewrite/
H A DDeltaTree.cpp43 int Delta; member
46 SourceDelta Delta; in get() local
47 Delta.FileLoc = Loc; in get()
48 Delta.Delta = D; in get()
49 return Delta; in get()
173 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally()
187 FullDelta += Delta; in DoInsertion()
201 Values[i].Delta += Delta; in DoInsertion()
368 FullDelta += IVal.Delta; in VerifyTree()
425 Result += Val.Delta; in getDeltaAt()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DPostingList.cpp130 bool encodeVByte(DocID Delta, llvm::MutableArrayRef<uint8_t> &Payload) { in encodeVByte() argument
131 assert(Delta != 0 && "0 is not a valid PostingList delta."); in encodeVByte()
134 unsigned Width = 1 + llvm::findLastSet(Delta) / BitsPerEncodingByte; in encodeVByte()
139 uint8_t Encoding = Delta & 0x7f; in encodeVByte()
140 Delta >>= 7; in encodeVByte()
141 Payload.front() = Delta ? Encoding | 0x80 : Encoding; in encodeVByte()
143 } while (Delta != 0); in encodeVByte()
206 DocID Delta; in decompress() local
207 for (DocID Current = Head; !Bytes.empty(); Current += Delta) { in decompress()
211 Delta = *MaybeDelta; in decompress()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp23 APInt AD, ANC, Delta, Q1, R1, Q2, R2, T; in get() local
49 Delta = AD - R2; in get()
50 } while (Q1.ult(Delta) || (Q1 == Delta && R1 == 0)); in get()
68 APInt NC, Delta, Q1, R1, Q2, R2; in get() local
101 Delta = D - 1 - R2; in get()
103 (Q1.ult(Delta) || (Q1 == Delta && R1 == 0))); in get()
H A DDeltaAlgorithm.cpp43 DeltaAlgorithm::Delta(const changeset_ty &Changes, in Delta() function in DeltaAlgorithm
64 return Delta(Changes, SplitSets); in Delta()
77 Res = Delta(*it, Sets); in Search()
93 Res = Delta(Complement, ComplementSets); in Search()
111 return Delta(Changes, Sets); in Run()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegisterPressure.cpp965 Delta.Excess = PressureChange(); in computeExcessPressureDelta()
986 Delta.Excess = PressureChange(i); in computeExcessPressureDelta()
987 Delta.Excess.setUnitInc(PDiff); in computeExcessPressureDelta()
1004 Delta.CriticalMax = PressureChange(); in computeMaxPressureDelta()
1005 Delta.CurrentMax = PressureChange(); in computeMaxPressureDelta()
1014 if (!Delta.CriticalMax.isValid()) { in computeMaxPressureDelta()
1125 if (Delta != Delta2) { in getMaxUpwardPressureDelta()
1129 if (Delta.Excess.isValid()) in getMaxUpwardPressureDelta()
1132 if (Delta.CriticalMax.isValid()) in getMaxUpwardPressureDelta()
1135 if (Delta.CurrentMax.isValid()) in getMaxUpwardPressureDelta()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DUtils.cpp115 int32_t shuffleDown(uint64_t Mask, int32_t Var, uint32_t Delta, int32_t Width) { in shuffleDown() argument
117 return __nvvm_shfl_sync_down_i32(Mask, Var, Delta, T); in shuffleDown()
135 int32_t utils::shuffleDown(uint64_t Mask, int32_t Var, uint32_t Delta, in shuffleDown() argument
137 return impl::shuffleDown(Mask, Var, Delta, Width); in shuffleDown()
141 int32_t __kmpc_shuffle_int32(int32_t Val, int16_t Delta, int16_t SrcLane) { in __kmpc_shuffle_int32() argument
143 return impl::shuffleDown(lanes::All, Val, Delta, SrcLane); in __kmpc_shuffle_int32()
146 int64_t __kmpc_shuffle_int64(int64_t Val, int16_t Delta, int16_t Width) { in __kmpc_shuffle_int64() argument
150 hi = impl::shuffleDown(lanes::All, hi, Delta, Width); in __kmpc_shuffle_int64()
151 lo = impl::shuffleDown(lanes::All, lo, Delta, Width); in __kmpc_shuffle_int64()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_fdr_controller.h261 auto Delta = TSC - LatestTSC; in functionEnter() local
265 mask(FuncId), Delta); in functionEnter()
287 auto Delta = TSC - LatestTSC; in functionTailExit() local
290 mask(FuncId), Delta); in functionTailExit()
300 auto Delta = TSC - LatestTSC; in functionEnterArg() local
307 mask(FuncId), Delta, Arg); in functionEnterArg()
325 auto Delta = TSC - LatestTSC; in functionExit() local
330 Delta); in functionExit()
340 auto Delta = TSC - LatestTSC; in customEvent() local
344 return W.writeCustomEvent(Delta, Event, EventSize); in customEvent()
[all …]
H A Dxray_fdr_log_writer.h129 bool writeFunction(FunctionRecordKind Kind, int32_t FuncId, int32_t Delta) {
134 R.TSCDelta = Delta;
140 int32_t Delta, uint64_t Arg) {
149 R.TSCDelta = Delta;
167 bool writeCustomEvent(int32_t Delta, const void *Event, int32_t EventSize) {
175 EventSize, Delta);
192 bool writeTypedEvent(int32_t Delta, uint16_t EventType, const void *Event,
198 EventSize, Delta, EventType);
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp25 int64_t Delta; member
27 DeltaInfo(int64_t D, uint32_t C) : Delta(D), Count(C) {} in DeltaInfo()
30 inline bool operator<(const DeltaInfo &LHS, int64_t Delta) { in operator <() argument
31 return LHS.Delta < Delta; in operator <()
146 if (Pos != End && Pos->Delta == LineDelta) in encode()
168 const int64_t FirstDelta = DeltaInfos[I].Delta; in encode()
172 auto LineRange = DeltaInfos[J].Delta - FirstDelta; in encode()
183 MinLineDelta = DeltaInfos[BestIndex].Delta; in encode()
184 MaxLineDelta = DeltaInfos[BestEndIndex].Delta; in encode()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1016 return Delta->isZero(); in isKnownPredicate()
1191 SE->isKnownNonNegative(Delta) ? Delta : SE->getNegativeSCEV(Delta); in strongSIVtest()
1318 if (Delta->isZero()) { in weakCrossingSIVtest()
1338 Delta = SE->getNegativeSCEV(Delta); in weakCrossingSIVtest()
1344 SE->getSMaxExpr(SE->getZero(Delta->getType()), Delta), in weakCrossingSIVtest()
1451 R = Delta.srem(G); in findGCD()
1454 Q = Delta.sdiv(G); in findGCD()
1714 NewConstraint.setLine(SE->getZero(Delta->getType()), DstCoeff, Delta, in weakZeroSrcSIVtest()
1732 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroSrcSIVtest()
1823 NewConstraint.setLine(SrcCoeff, SE->getZero(Delta->getType()), Delta, in weakZeroDstSIVtest()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp154 for (scudo::sptr Delta = -32; Delta <= 32; Delta++) { in BasicTest() local
155 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in BasicTest()
157 const scudo::uptr Size = (1U << SizeLog) + Delta; in BasicTest()
202 for (scudo::uptr Delta = 0U; Delta <= 4U; Delta++) { in SCUDO_TYPED_TEST() local
203 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST()
220 for (scudo::uptr Delta = 0U; Delta <= 4U; Delta++) { in SCUDO_TYPED_TEST() local
221 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST()
240 for (scudo::uptr Delta = 0U; Delta <= 4U; Delta++) { in SCUDO_TYPED_TEST() local
241 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST()
331 for (scudo::sptr Delta = -32; Delta < 32; Delta += 8) { in SCUDO_TYPED_TEST() local
[all …]
H A Dsecondary_test.cpp130 for (scudo::sptr Delta = -128; Delta <= 128; Delta += 8) { in TEST_F() local
131 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in TEST_F()
134 scudo::roundUpTo((1U << SizeLog) + Delta, MinAlign); in TEST_F()
/llvm-project-15.0.7/llvm/test/Other/
H A Dmachine-size-remarks.ll17 ; CHECK-SAME: to [[INIT:[1-9][0-9]*]]; Delta: [[INIT]]
21 ; CHECK-SAME: Delta: [[DELTA:-?[1-9][0-9]*]]
35 ; CHECK-NEXT: - String: '; Delta: '
36 ; CHECK-NEXT: - Delta: '[[INIT]]'
50 ; CHECK-NEXT: - String: '; Delta: '
51 ; CHECK-NEXT: - Delta: '[[DELTA]]'
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dmachine-outliner-size-info.mir14 # CHECK-SAME: Delta: [[FOODELTA:-?[1-9][0-9]*]]
17 # CHECK-SAME: 0 to [[OFUNCSIZE:[1-9][0-9]*]]; Delta: [[OFUNCSIZE]]
25 # CHECK-NEXT: - String: '; Delta: '
26 # CHECK-NEXT: - Delta: '[[FOODELTA]]'
40 # CHECK-NEXT: - String: '; Delta: '
41 # CHECK-NEXT: - Delta: '[[OFUNCSIZE]]'
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dpr35472.ll19 %struct.Delta = type { %struct.Charlie }
27 %Hotel = alloca %struct.Delta, align 4
29 …call void @llvm.dbg.declare(metadata %struct.Delta* %Hotel, metadata !10, metadata !DIExpression()…
44 define linkonce_odr void @_ZN5DeltaD2Ev(%struct.Delta* %this) unnamed_addr comdat align 2 !dbg !36 {
64 !11 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Delta", file: !1, line: 6, size:…
86 !36 = distinct !DISubprogram(name: "~Delta", linkageName: "_ZN5DeltaD2Ev", scope: !11, file: !1, li…
90 !40 = !DISubprogram(name: "~Delta", scope: !11, type: !37, isLocal: false, isDefinition: false, fla…
103 ; struct Delta {
115 ; Delta Hotel;
/llvm-project-15.0.7/clang/lib/Tooling/Core/
H A DReplacement.cpp369 : MergeSecond(MergeSecond), Delta(D), FilePath(R.getFilePath()), in MergedReplacement()
370 Offset(R.getOffset() + (MergeSecond ? 0 : Delta)), in MergedReplacement()
372 Delta += MergeSecond ? 0 : Text.size() - Length; in MergedReplacement()
381 unsigned REnd = R.getOffset() + Delta + R.getLength(); in merge()
388 StringRef Head = TextRef.substr(0, R.getOffset() + Delta - Offset); in merge()
391 Delta += R.getReplacementText().size() - R.getLength(); in merge()
411 return Offset + Text.size() < R.getOffset() + Delta; in endsBefore()
426 int Delta; member in __anon85b414bd0211::MergedReplacement
451 int Delta = 0; in merge() local
464 Delta); in merge()
[all …]
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunctionProfile.cpp176 uint64_t Delta = (JTAddress - JT->getAddress()) / JT->EntrySize; in postProcessProfile() local
177 EI += Delta; in postProcessProfile()
183 assert(Delta < JT->Counts.size()); in postProcessProfile()
184 JT->Counts[Delta].Count += BranchInfo.Count; in postProcessProfile()
185 JT->Counts[Delta].Mispreds += BranchInfo.MispredictedCount; in postProcessProfile()
187 ++Delta; in postProcessProfile()
190 if (JT->Labels.count(Delta * JT->EntrySize)) in postProcessProfile()
/llvm-project-15.0.7/llvm/include/llvm/XRay/
H A DFDRRecords.h237 int32_t Delta = 0; variable
249 Size(S), Delta(D), Data(std::move(P)) {} in CustomEventRecordV5()
252 int32_t delta() const { return Delta; } in delta()
264 int32_t Delta = 0; variable
277 Size(S), Delta(D), Data(std::move(P)) {} in TypedEventRecord()
280 int32_t delta() const { return Delta; } in delta()
375 uint32_t Delta = 0; variable
384 : Record(RecordKind::RK_Function), Kind(K), FuncId(F), Delta(D) {} in FunctionRecord()
390 uint32_t delta() const { return Delta; } in delta()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp49 int64_t Delta; member
212 int64_t Delta = PrefInfo.Delta; in runOnMachineFunction() local
232 Delta) in runOnMachineFunction()
239 CurrentOp, CurrentOp->getOffset() + Delta, CurrentOp->getSize())); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/
H A DReductionRules.h108 RawMatrix Delta(YLen, ZLen); in applyR2()
119 Delta[i][j] = Min; in applyR2()
132 YZEId = G.addEdge(YNId, ZNId, Delta); in applyR2()
136 G.updateEdgeCosts(YZEId, Delta + YZECosts); in applyR2()
138 G.updateEdgeCosts(YZEId, Delta.transpose() + YZECosts); in applyR2()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DRegisterPressure.h479 RegPressureDelta &Delta,
485 RegPressureDelta &Delta,
494 RegPressureDelta &Delta,
502 RegPressureDelta &Delta, in getMaxPressureDelta() argument
506 return getMaxDownwardPressureDelta(MI, Delta, CriticalPSets, in getMaxPressureDelta()
510 return getMaxUpwardPressureDelta(MI, nullptr, Delta, CriticalPSets, in getMaxPressureDelta()
/llvm-project-15.0.7/compiler-rt/lib/orc/
H A Dexecutor_address.h103 ExecutorAddr &operator+=(const ExecutorAddrDiff Delta) {
104 Addr += Delta.getValue();
108 ExecutorAddr &operator-=(const ExecutorAddrDiff Delta) {
109 Addr -= Delta.getValue();
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeInlineSiteSymbol.cpp112 auto UpdateCodeOffset = [&](uint32_t Delta) { in getLineOffset() argument
116 CodeOffsetEnd = *CodeOffsetBase + Delta; in getLineOffset()
118 auto UpdateLineOffset = [&](int32_t Delta) { in getLineOffset() argument
119 LineOffset += Delta; in getLineOffset()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DLatencyBenchmarkRunner.cpp41 double Delta = V - Mean; in computeVariance() local
42 Ret += Delta * Delta; in computeVariance()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonMachineScheduler.cpp47 RegPressureDelta &Delta, in SchedulingCost() argument
50 ConvergingVLIWScheduler::SchedulingCost(Q, SU, Candidate, Delta, verbose); in SchedulingCost()

12345