Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDeltaTree.cpp42 int Delta; member
45 SourceDelta Delta; in get() local
46 Delta.FileLoc = Loc; in get()
47 Delta.Delta = D; in get()
48 return Delta; in get()
108 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
140 IR.LHS->getFullDelta() + IR.RHS->getFullDelta() + IR.Split.Delta; in DeltaTreeInteriorNode()
172 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally()
183 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
186 FullDelta += Delta; in DoInsertion()
[all …]
H A DDivisionByConstantInfo.cpp27 APInt Delta; in get() local
55 Delta = AD; in get()
56 Delta -= R2; in get()
57 } while (Q1.ult(Delta) || (Q1 == Delta && R1.isZero())); in get()
79 APInt Delta; in get() local
129 Delta = D; in get()
130 --Delta; in get()
131 Delta -= R2; in get()
133 (Q1.ult(Delta) || (Q1 == Delta && R1.isZero()))); 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterPressure.cpp947 RegPressureDelta &Delta, in computeExcessPressureDelta() argument
950 Delta.Excess = PressureChange(); in computeExcessPressureDelta()
971 Delta.Excess = PressureChange(i); in computeExcessPressureDelta()
972 Delta.Excess.setUnitInc(PDiff); in computeExcessPressureDelta()
988 RegPressureDelta &Delta) { in computeMaxPressureDelta() argument
989 Delta.CriticalMax = PressureChange(); in computeMaxPressureDelta()
990 Delta.CurrentMax = PressureChange(); in computeMaxPressureDelta()
999 if (!Delta.CriticalMax.isValid()) { in computeMaxPressureDelta()
1006 Delta.CriticalMax = PressureChange(i); in computeMaxPressureDelta()
1007 Delta.CriticalMax.setUnitInc(PDiff); in computeMaxPressureDelta()
[all …]
H A DVLIWMachineScheduler.cpp595 RegPressureDelta &Delta, in SchedulingCost() argument
684 ResCount -= (Delta.Excess.getUnitInc() * PriorityOne); in SchedulingCost()
686 ResCount -= (Delta.CriticalMax.getUnitInc() * PriorityOne); in SchedulingCost()
689 ResCount -= (Delta.CurrentMax.getUnitInc() * PriorityTwo); in SchedulingCost()
694 (Delta.Excess.getUnitInc() || Delta.CriticalMax.getUnitInc() || in SchedulingCost()
695 Delta.CurrentMax.getUnitInc())) in SchedulingCost()
698 dbgs() << "RP " << Delta.Excess.getUnitInc() << "/" in SchedulingCost()
699 << Delta.CriticalMax.getUnitInc() << "/" in SchedulingCost()
700 << Delta.CurrentMax.getUnitInc() << ")|"; in SchedulingCost()
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_loongarch.cpp165 uint32_t Delta = 0; in relaxBlock() local
171 const auto Loc = BlockAddr + E->getOffset() - Delta; in relaxBlock()
187 SA[0].Sym->setSize(SA[0].Offset - Delta - SA[0].Sym->getOffset()); in relaxBlock()
189 SA[0].Sym->setOffset(SA[0].Offset - Delta); in relaxBlock()
192 Delta += Remove; in relaxBlock()
193 if (Delta != Cur) { in relaxBlock()
194 Cur = Delta; in relaxBlock()
201 A.Sym->setSize(A.Offset - Delta - A.Sym->getOffset()); in relaxBlock()
203 A.Sym->setOffset(A.Offset - Delta); in relaxBlock()
222 uint32_t Delta = 0; in finalizeBlockRelax() local
[all …]
H A DELF_riscv.cpp627 uint32_t Delta = 0; in relaxBlock() local
633 const auto Loc = BlockAddr + E->getOffset() - Delta; in relaxBlock()
652 SA[0].Sym->setSize(SA[0].Offset - Delta - SA[0].Sym->getOffset()); in relaxBlock()
654 SA[0].Sym->setOffset(SA[0].Offset - Delta); in relaxBlock()
657 Delta += Remove; in relaxBlock()
658 if (Delta != Cur) { in relaxBlock()
659 Cur = Delta; in relaxBlock()
666 A.Sym->setSize(A.Offset - Delta - A.Sym->getOffset()); in relaxBlock()
668 A.Sym->setOffset(A.Offset - Delta); in relaxBlock()
688 uint32_t Delta = 0; in finalizeBlockRelax() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Daarch64.h575 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() local
576 if (Delta & 0x3) in applyFixup()
579 if (!isInt<21>(Delta)) in applyFixup()
581 uint32_t EncodedImm = ((static_cast<uint32_t>(Delta) >> 2) & 0x7ffff) << 5; in applyFixup()
590 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() local
591 if (!isInt<21>(Delta)) in applyFixup()
593 auto UDelta = static_cast<uint32_t>(Delta); in applyFixup()
606 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() local
607 if (Delta & 0x3) in applyFixup()
610 if (!isInt<16>(Delta)) in applyFixup()
[all …]
/freebsd/contrib/llvm-project/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()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1095 const SCEV *Delta = SE->getMinusSCEV(X, Y); in isKnownPredicate() local
1098 return Delta->isZero(); in isKnownPredicate()
1100 return SE->isKnownNonZero(Delta); in isKnownPredicate()
1102 return SE->isKnownNonNegative(Delta); in isKnownPredicate()
1104 return SE->isKnownNonPositive(Delta); in isKnownPredicate()
1106 return SE->isKnownPositive(Delta); in isKnownPredicate()
1108 return SE->isKnownNegative(Delta); in isKnownPredicate()
1264 const SCEV *Delta = SE->getMinusSCEV(SrcConst, DstConst); in strongSIVtest() local
1265 LLVM_DEBUG(dbgs() << "\t Delta = " << *Delta); in strongSIVtest()
1266 LLVM_DEBUG(dbgs() << ", " << *Delta->getType() << "\n"); in strongSIVtest()
[all …]
/freebsd/contrib/llvm-project/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 __anonb289878d0211::MergedReplacement
451 int Delta = 0; in merge() local
462 FirstI->getOffset() < SecondI->getOffset() + Delta); in merge()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DFDRRecords.h238 int32_t Delta = 0; variable
250 Size(S), Delta(D), Data(std::move(P)) {} in CustomEventRecordV5()
253 int32_t delta() const { return Delta; } in delta()
265 int32_t Delta = 0; variable
278 Size(S), Delta(D), Data(std::move(P)) {} in TypedEventRecord()
281 int32_t delta() const { return Delta; } in delta()
376 uint32_t Delta = 0; variable
385 : Record(RecordKind::RK_Function), Kind(K), FuncId(F), Delta(D) {} in FunctionRecord()
391 uint32_t delta() const { return Delta; } in delta()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp48 int64_t Delta; member
217 int64_t Delta = PrefInfo.Delta; in runOnMachineFunction() local
237 Delta) in runOnMachineFunction()
244 CurrentOp, CurrentOp->getOffset() + Delta, CurrentOp->getSize())); in runOnMachineFunction()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp275 static GetElementPtrInst *reconstructGEP(CallInst *Call, int Delta) { in reconstructGEP() argument
277 Indices.append(Call->data_operands_begin() + 6 + Delta, in reconstructGEP()
279 Type *GEPPointeeType = Call->getParamElementType(Delta); in reconstructGEP()
281 GetElementPtrInst::Create(GEPPointeeType, Call->getOperand(Delta), in reconstructGEP()
283 GEP->setIsInBounds(getOperandAsUnsigned(Call, 5 + Delta)); in reconstructGEP()
289 int Delta) { in reconstructCommon() argument
290 Insn->setVolatile(getOperandAsUnsigned(Call, 1 + Delta)); in reconstructCommon()
291 Insn->setOrdering((AtomicOrdering)getOperandAsUnsigned(Call, 2 + Delta)); in reconstructCommon()
292 Insn->setSyncScopeID(getOperandAsUnsigned(Call, 3 + Delta)); in reconstructCommon()
293 unsigned AlignShiftValue = getOperandAsUnsigned(Call, 4 + Delta); in reconstructCommon()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterPressure.h483 RegPressureDelta &Delta,
489 /*const*/ PressureDiff &PDiff, RegPressureDelta &Delta,
498 getMaxDownwardPressureDelta(const MachineInstr *MI, RegPressureDelta &Delta,
506 RegPressureDelta &Delta, in getMaxPressureDelta() argument
510 return getMaxDownwardPressureDelta(MI, Delta, CriticalPSets, in getMaxPressureDelta()
514 return getMaxUpwardPressureDelta(MI, nullptr, Delta, CriticalPSets, in getMaxPressureDelta()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonMachineScheduler.cpp47 RegPressureDelta &Delta, in SchedulingCost() argument
50 ConvergingVLIWScheduler::SchedulingCost(Q, SU, Candidate, Delta, verbose); in SchedulingCost()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) { in write32BitOffset() argument
51 uint64_t Result = Addend + Delta; in write32BitOffset()
102 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation() local
103 Value -= FinalAddress + Delta; in resolveRelocation()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_address.h140 ExecutorAddr &operator+=(const ExecutorAddrDiff Delta) {
141 Addr += Delta;
145 ExecutorAddr &operator-=(const ExecutorAddrDiff Delta) {
146 Addr -= Delta;
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DRustDemangle.cpp1137 auto Adapt = [&](size_t Delta, size_t NumPoints) { in decodePunycode() argument
1138 Delta /= Damp; in decodePunycode()
1139 Delta += Delta / NumPoints; in decodePunycode()
1143 while (Delta > (Base - TMin) * TMax / 2) { in decodePunycode()
1144 Delta /= Base - TMin; in decodePunycode()
1147 return K + (((Base - TMin + 1) * Delta) / (Delta + Skew)); in decodePunycode()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp665 uint64_t Delta = Address + Value.Addend - SourceAddress; in resolveLoongArch64ShortBranch() local
668 if (!isInt<28>(Delta)) in resolveLoongArch64ShortBranch()
676 if (((int64_t)Delta + 0x20000) != llvm::SignExtend64(Delta + 0x20000, 38)) in resolveLoongArch64ShortBranch()
1093 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local
1094 writeInt16BE(LocalAddress, applyPPClo(Delta)); in resolvePPC64Relocation()
1098 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local
1099 writeInt16BE(LocalAddress, applyPPChi(Delta)); in resolvePPC64Relocation()
1103 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local
1104 writeInt16BE(LocalAddress, applyPPCha(Delta)); in resolvePPC64Relocation()
1130 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrFormats.td111 let DecoderNamespace = "Delta";
117 let DecoderNamespace = "Delta";
174 let DecoderNamespace = "Delta";
183 let DecoderNamespace = "Delta";
238 let DecoderNamespace = "Delta";
244 let DecoderNamespace = "Delta";
301 let DecoderNamespace = "Delta";
310 let DecoderNamespace = "Delta";

12345