Home
last modified time | relevance | path

Searched refs:Dist (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp120 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);
127 DitheringDistributer::DitheringDistributer(Distribution &Dist, in DitheringDistributer() argument
129 Dist.normalize(); in DitheringDistributer()
130 RemWeight = Dist.Total; in DitheringDistributer()
312 bool BlockFrequencyInfoImplBase::addToDist(Distribution &Dist, in addToDist() argument
341 Dist.addBackedge(Resolved, Weight); in addToDist()
347 Dist.addExit(Resolved, Weight); in addToDist()
370 Dist.addLocal(Resolved, Weight); in addToDist()
375 const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) { in addLoopSuccessorsToDist() argument
378 if (!addToDist(Dist, OuterLoop, Loop.getHeader(), I.first, in addLoopSuccessorsToDist()
[all …]
H A DLoopAccessAnalysis.cpp1611 int Dist = Val / Size; in getPointersDiff() local
1615 if (!StrictCheck || Dist * Size == Val) in getPointersDiff()
1616 return Dist; in getPointersDiff()
1811 const SCEV &MaxBTC, const SCEV &Dist, in isSafeDependenceDistance() argument
1836 const SCEV *CastedDist = &Dist; in isSafeDependenceDistance()
1838 uint64_t DistTypeSizeBits = DL.getTypeSizeInBits(Dist.getType()); in isSafeDependenceDistance()
1845 CastedProduct = SE.getZeroExtendExpr(Product, Dist.getType()); in isSafeDependenceDistance()
1847 CastedDist = SE.getNoopOrSignExtend(&Dist, Product->getType()); in isSafeDependenceDistance()
1937 const SCEV *Dist = SE.getMinusSCEV(Sink, Src); in getDependenceDistanceStrideAndSize() local
1942 << ": " << *Dist << "\n"); in getDependenceDistanceStrideAndSize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTwoAddressInstructionPass.cpp126 bool noUseAfterLastDef(Register Reg, unsigned Dist, unsigned &LastDef);
151 MachineInstr *MI, unsigned Dist);
154 unsigned RegBIdx, unsigned RegCIdx, unsigned Dist);
160 Register RegB, unsigned &Dist);
162 bool isDefTooClose(Register Reg, unsigned Dist, MachineInstr *MI);
172 unsigned &Dist, bool shouldOnlyCommute);
178 unsigned Dist);
187 void processTiedPairs(MachineInstr *MI, TiedPairList&, unsigned &Dist);
339 bool TwoAddressInstructionImpl::noUseAfterLastDef(Register Reg, unsigned Dist, in noUseAfterLastDef() argument
342 unsigned LastUse = Dist; in noUseAfterLastDef()
[all …]
H A DLiveVariables.cpp228 unsigned Dist = DistanceMap[Def]; in FindLastPartialDef() local
229 if (Dist > LastDefDist) { in FindLastPartialDef()
232 LastDefDist = Dist; in FindLastPartialDef()
317 unsigned Dist = DistanceMap[Def]; in FindLastRefOrPartRef() local
318 if (Dist > LastPartDefDist) in FindLastRefOrPartRef()
319 LastPartDefDist = Dist; in FindLastRefOrPartRef()
321 unsigned Dist = DistanceMap[Use]; in FindLastRefOrPartRef() local
322 if (Dist > LastRefOrPartRefDist) { in FindLastRefOrPartRef()
323 LastRefOrPartRefDist = Dist; in FindLastRefOrPartRef()
365 unsigned Dist = DistanceMap[Def]; in HandlePhysRegKill() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DExponentialBackoff.cpp20 std::uniform_int_distribution<uint64_t> Dist(MinWait.count(), in waitForNextAttempt() local
24 duration WaitDuration = std::min(duration(Dist(RandDev)), EndTime - Now); in waitForNextAttempt()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h75 UseQueueType() : Uses(Dist) {} in UseQueueType()
95 Dist.clear(); in reset()
99 Cmp(DenseMap<const MachineInstr*,unsigned> &Map) : Dist(Map) {} in Cmp()
101 DenseMap<const MachineInstr*,unsigned> &Dist; member
105 DenseMap<const MachineInstr*,unsigned> Dist; member
H A DHexagonHardwareLoops.cpp786 int64_t Dist = EndV - StartV; in computeCount() local
787 if (Dist == 0) in computeCount()
790 bool Exact = (Dist % IVBump) == 0; in computeCount()
795 if ((Dist < 0) ^ (IVBump < 0)) in computeCount()
802 Dist = Dist > 0 ? Dist+1 : Dist-1; in computeCount()
808 if ((CmpLess && Dist < 0) || (CmpGreater && Dist > 0)) in computeCount()
812 int64_t Dist1 = (IVBump > 0) ? (Dist + (IVBump - 1)) / IVBump in computeCount()
813 : (-Dist + (-IVBump - 1)) / (-IVBump); in computeCount()
H A DHexagonISelDAGToDAGHVX.cpp1575 if (auto Dist = rotationDistance(SM, VecLen)) { in shuffs1()
1576 OpRef Rotate = funnels(Va, Va, *Dist, Results); in shuffs1() local
2051 std::optional<int> Dist; in rotationDistance()
2056 if (Dist) { in rotationDistance()
2057 if ((I + *Dist) % static_cast<int>(WrapAt) != M) in rotationDistance()
2062 // Add WrapAt in an attempt to keep I+Dist non-negative. in rotationDistance()
2063 Dist = M - I; in rotationDistance()
2064 if (Dist < 0) in rotationDistance()
2065 Dist = *Dist in rotationDistance()
2053 std::optional<int> Dist; rotationDistance() local
2091 if (auto Dist = rotationDistance(SM, 2 * VecLen)) { contracting() local
[all...]
H A DBitTracker.cpp782 auto F = Dist.find(MI); in operator ()()
783 if (F != Dist.end()) in operator ()()
788 Dist.insert(std::make_pair(MI, D)); in operator ()()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp271 int64_t &AddrDispShift, int &Dist);
341 MachineInstr *&BestLEA, int64_t &AddrDispShift, int &Dist) { in chooseBestLEA() argument
383 Dist = DistTemp; in chooseBestLEA()
527 int Dist; in removeRedundantAddrCalc() local
528 if (!chooseBestLEA(Insns->second, MI, DefMI, AddrDispShift, Dist)) in removeRedundantAddrCalc()
537 if (Dist < 0) { in removeRedundantAddrCalc()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h447 Distribution &Dist);
456 bool addToDist(Distribution &Dist, const LoopData *OuterLoop,
485 Distribution &Dist);
500 void distributeIrrLoopHeaderMass(Distribution &Dist);
1256 Distribution Dist;
1280 Dist.addLocal(HeaderNode, HeaderWeightValue);
1299 Dist.addLocal(HeaderNode, MinWeight);
1301 distributeIrrLoopHeaderMass(Dist);
1691 Distribution Dist;
1694 if (!addLoopSuccessorsToDist(OuterLoop, *Loop, Dist))
[all …]
H A DLoopAccessAnalysis.h369 const SCEV *Dist; member
376 DepDistanceStrideAndSizeInfo(const SCEV *Dist, uint64_t StrideA, in DepDistanceStrideAndSizeInfo()
379 : Dist(Dist), StrideA(StrideA), StrideB(StrideB), in DepDistanceStrideAndSizeInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTTypeTraits.cpp81 unsigned Dist = 0; in isBaseOf() local
84 ++Dist; in isBaseOf()
87 *Distance = Dist; in isBaseOf()
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/
H A DMANIFEST1 # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
H A DChanges44 the Dist::Zilla generated LICENSE file.
47 with Dist::Zilla and avoids maintenance issue of updating the tests for
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp129 auto *Dist = dyn_cast<SCEVConstant>( in isDependenceDistanceOfOne() local
131 if (!Dist) in isDependenceDistanceOfOne()
133 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp163 const uint64_t Dist = DstAddr - (SrcAddr + SrcSize); in MergeGainT()
164 return jumpExtTSPScore(Dist, ForwardDistance, Count,
169 const uint64_t Dist = SrcAddr + SrcSize - DstAddr; in mergeType()
170 return jumpExtTSPScore(Dist, BackwardDistance, Count,
1296 uint64_t Dist = SrcAddr <= DstAddr ? DstAddr - SrcAddr : SrcAddr - DstAddr;
1297 double D = Dist == 0 ? 0.1 : static_cast<double>(Dist);
142 const uint64_t Dist = DstAddr - (SrcAddr + SrcSize); extTSPScore() local
148 const uint64_t Dist = SrcAddr + SrcSize - DstAddr; extTSPScore() local
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCuda.cpp187 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple())); in CudaInstallationDetector() local
188 if (Dist.IsDebian() || Dist.IsUbuntu()) in CudaInstallationDetector()
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8dxl.dtsi89 reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */
H A Dimx8qxp.dtsi156 reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */
/freebsd/sys/contrib/device-tree/src/arm64/al/
H A Dalpine-v2.dtsi118 reg = <0x0 0xf0200000 0x0 0x10000>, /* GIC Dist */
/freebsd/sys/contrib/device-tree/src/arm64/amazon/
H A Dalpine-v2.dtsi119 reg = <0x0 0xf0200000 0x0 0x10000>, /* GIC Dist */
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1504 std::optional<int> Dist = getPointersDiff( in getShallowScore() local
1507 if (!Dist || *Dist == 0) { in getShallowScore()
1517 if (std::abs(*Dist) > NumLanes / 2) in getShallowScore()
1522 return (*Dist > 0) ? LookAheadHeuristics::ScoreConsecutiveLoads in getShallowScore()
1558 int Dist = Idx2 - Idx1; in getShallowScore() local
1561 if (std::abs(Dist) == 0) in getShallowScore()
1563 if (std::abs(Dist) > NumLanes / 2) in getShallowScore()
1565 return (Dist > 0) ? LookAheadHeuristics::ScoreConsecutiveExtracts in getShallowScore()
4462 // Dist in calculateRtStride()
4463 const SCEV *Dist = SE.getMinusSCEV(PtrSCEVHighest, PtrSCEVLowest); calculateRtStride() local
4468 __anon07b2d7742c02(const SCEV *Dist, const SCEV *Multiplier) calculateRtStride() argument
4498 unsigned Dist = 0; calculateRtStride() local
4636 int Dist = 0; canVectorizeLoads() local
6516 std::optional<int> Dist = getScalarsVectorizationState() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp2187 int64_t Dist = MAddr.Offset - MAddrNext.Offset; in promoteConstantOffsetToImm() local
2190 AM.BaseOffs = Dist; in promoteConstantOffsetToImm()
2192 (uint32_t)std::abs(Dist) > MaxDist) { in promoteConstantOffsetToImm()
2193 MaxDist = std::abs(Dist); in promoteConstantOffsetToImm()
/freebsd/sys/contrib/device-tree/src/arm64/microchip/
H A Dsparx5.dtsi116 reg = <0x6 0x00300000 0x10000>, /* GIC Dist */

12