| /openbsd-src/gnu/llvm/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 43 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() 109 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes); 141 FullDelta = IR.LHS->getFullDelta()+IR.RHS->getFullDelta()+IR.Split.Delta; in DeltaTreeInteriorNode() 173 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally() 184 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument 187 FullDelta += Delta; in DoInsertion() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | DivisionByConstantInfo.cpp | 27 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 128 Delta = D; in get() 129 --Delta; in get() 130 Delta -= R2; in get() 132 (Q1.ult(Delta) || (Q1 == Delta && R1.isZero()))); in get()
|
| H A D | DeltaAlgorithm.cpp | 43 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | RegisterPressure.cpp | 961 RegPressureDelta &Delta, in computeExcessPressureDelta() argument 964 Delta.Excess = PressureChange(); in computeExcessPressureDelta() 985 Delta.Excess = PressureChange(i); in computeExcessPressureDelta() 986 Delta.Excess.setUnitInc(PDiff); in computeExcessPressureDelta() 1002 RegPressureDelta &Delta) { in computeMaxPressureDelta() argument 1003 Delta.CriticalMax = PressureChange(); in computeMaxPressureDelta() 1004 Delta.CurrentMax = PressureChange(); in computeMaxPressureDelta() 1013 if (!Delta.CriticalMax.isValid()) { in computeMaxPressureDelta() 1020 Delta.CriticalMax = PressureChange(i); in computeMaxPressureDelta() 1021 Delta.CriticalMax.setUnitInc(PDiff); in computeMaxPressureDelta() [all …]
|
| H A D | VLIWMachineScheduler.cpp | 598 RegPressureDelta &Delta, in SchedulingCost() argument 687 ResCount -= (Delta.Excess.getUnitInc() * PriorityOne); in SchedulingCost() 689 ResCount -= (Delta.CriticalMax.getUnitInc() * PriorityOne); in SchedulingCost() 692 ResCount -= (Delta.CurrentMax.getUnitInc() * PriorityTwo); in SchedulingCost() 697 (Delta.Excess.getUnitInc() || Delta.CriticalMax.getUnitInc() || in SchedulingCost() 698 Delta.CurrentMax.getUnitInc())) in SchedulingCost() 701 dbgs() << "RP " << Delta.Excess.getUnitInc() << "/" in SchedulingCost() 702 << Delta.CriticalMax.getUnitInc() << "/" in SchedulingCost() 703 << Delta.CurrentMax.getUnitInc() << ")|"; in SchedulingCost()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_fdr_controller.h | 261 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 D | xray_fdr_log_writer.h | 129 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);
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/GSYM/ |
| H A D | LineTable.cpp | 25 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 1076 const SCEV *Delta = SE->getMinusSCEV(X, Y); in isKnownPredicate() local 1079 return Delta->isZero(); in isKnownPredicate() 1081 return SE->isKnownNonZero(Delta); in isKnownPredicate() 1083 return SE->isKnownNonNegative(Delta); in isKnownPredicate() 1085 return SE->isKnownNonPositive(Delta); in isKnownPredicate() 1087 return SE->isKnownPositive(Delta); in isKnownPredicate() 1089 return SE->isKnownNegative(Delta); in isKnownPredicate() 1245 const SCEV *Delta = SE->getMinusSCEV(SrcConst, DstConst); in strongSIVtest() local 1246 LLVM_DEBUG(dbgs() << "\t Delta = " << *Delta); in strongSIVtest() 1247 LLVM_DEBUG(dbgs() << ", " << *Delta->getType() << "\n"); in strongSIVtest() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | combined_test.cpp | 155 for (scudo::sptr Delta = -32; Delta <= 32; Delta++) { in BasicTest() local 156 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta < 0) in BasicTest() 158 const scudo::uptr Size = (1U << SizeLog) + Delta; in BasicTest() 203 for (scudo::uptr Delta = 0U; Delta <= 4U; Delta++) { in SCUDO_TYPED_TEST() local 204 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST() 221 for (scudo::uptr Delta = 0U; Delta <= 4U; Delta++) { in SCUDO_TYPED_TEST() local 222 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST() 241 for (scudo::uptr Delta = 0U; Delta <= 4U; Delta++) { in SCUDO_TYPED_TEST() local 242 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST() 332 for (scudo::sptr Delta = -32; Delta < 32; Delta += 8) { in SCUDO_TYPED_TEST() local [all …]
|
| H A D | secondary_test.cpp | 130 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()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 369 : 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 __anon9dc030840211::MergedReplacement 451 int Delta = 0; in merge() local 462 FirstI->getOffset() < SecondI->getOffset() + Delta); in merge() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/XRay/ |
| H A D | FDRRecords.h | 237 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InsertPrefetch.cpp | 49 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | ReductionRules.h | 108 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | RegisterPressure.h | 479 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeInlineSiteSymbol.cpp | 112 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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | LatencyBenchmarkRunner.cpp | 42 double Delta = V - Mean; in computeVariance() local 43 Ret += Delta * Delta; in computeVariance()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonMachineScheduler.cpp | 47 RegPressureDelta &Delta, in SchedulingCost() argument 50 ConvergingVLIWScheduler::SchedulingCost(Q, SU, Candidate, Delta, verbose); in SchedulingCost()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | aarch64.h | 422 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup() local 423 if (Delta & 0x3) in applyFixup() 426 if (Delta < -(1 << 20) || Delta > ((1 << 20) - 1)) in applyFixup() 429 uint32_t EncodedImm = ((static_cast<uint32_t>(Delta) >> 2) & 0x7ffff) << 5; in applyFixup()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFX86_64.h | 50 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()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/orc/ |
| H A D | executor_address.h | 140 ExecutorAddr &operator+=(const ExecutorAddrDiff Delta) { 141 Addr += Delta; 145 ExecutorAddr &operator-=(const ExecutorAddrDiff Delta) { 146 Addr -= Delta;
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 879 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 880 writeInt16BE(LocalAddress, applyPPClo(Delta)); in resolvePPC64Relocation() 884 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 885 writeInt16BE(LocalAddress, applyPPChi(Delta)); in resolvePPC64Relocation() 889 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 890 writeInt16BE(LocalAddress, applyPPCha(Delta)); in resolvePPC64Relocation() 916 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation() local 917 writeInt64BE(LocalAddress, Delta); in resolvePPC64Relocation() 935 int64_t Delta = (Value + Addend) - Section.getLoadAddressWithOffset(Offset); in resolveSystemZRelocation() local 936 assert(int16_t(Delta / 2) * 2 == Delta && "R_390_PC16DBL overflow"); in resolveSystemZRelocation() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Demangle/ |
| H A D | RustDemangle.cpp | 1140 auto Adapt = [&](size_t Delta, size_t NumPoints) { in decodePunycode() argument 1141 Delta /= Damp; in decodePunycode() 1142 Delta += Delta / NumPoints; in decodePunycode() 1146 while (Delta > (Base - TMin) * TMax / 2) { in decodePunycode() 1147 Delta /= Base - TMin; in decodePunycode() 1150 return K + (((Base - TMin + 1) * Delta) / (Delta + Skew)); in decodePunycode()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | ExecutorAddress.h | 146 ExecutorAddr &operator+=(const ExecutorAddrDiff &Delta) { 147 Addr += Delta; 151 ExecutorAddr &operator-=(const ExecutorAddrDiff &Delta) { 152 Addr -= Delta;
|