/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TwoAddressInstructionPass.cpp | 123 bool noUseAfterLastDef(Register Reg, unsigned Dist, unsigned &LastDef); 148 MachineInstr *MI, unsigned Dist); 151 unsigned RegBIdx, unsigned RegCIdx, unsigned Dist); 157 Register RegB, unsigned &Dist); 159 bool isDefTooClose(Register Reg, unsigned Dist, MachineInstr *MI); 169 unsigned &Dist, bool shouldOnlyCommute); 175 unsigned Dist); 184 void processTiedPairs(MachineInstr *MI, TiedPairList&, unsigned &Dist); 266 bool TwoAddressInstructionPass::noUseAfterLastDef(Register Reg, unsigned Dist, argument 269 unsigned LastUse = Dist; [all...] |
H A D | LiveVariables.cpp | 198 unsigned Dist = DistanceMap[Def]; local 199 if (Dist > LastDefDist) { 202 LastDefDist = Dist; 287 unsigned Dist = DistanceMap[Def]; local 288 if (Dist > LastPartDefDist) 289 LastPartDefDist = Dist; 291 unsigned Dist = DistanceMap[Use]; local 292 if (Dist > LastRefOrPartRefDist) { 293 LastRefOrPartRefDist = Dist; 335 unsigned Dist local 345 unsigned Dist = DistanceMap[Use]; local 555 unsigned Dist = 0; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 120 DitheringDistributer(Distribution &Dist, const BlockMass &Mass); 127 DitheringDistributer::DitheringDistributer(Distribution &Dist, 129 Dist.normalize(); 130 RemWeight = Dist.Total; 312 bool BlockFrequencyInfoImplBase::addToDist(Distribution &Dist, argument 341 Dist.addBackedge(Resolved, Weight); 347 Dist.addExit(Resolved, Weight); 370 Dist.addLocal(Resolved, Weight); 375 const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) { 376 // Copy the exit map into Dist 374 addLoopSuccessorsToDist( const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) argument 447 distributeMass(const BlockNode &Source, LoopData *OuterLoop, Distribution &Dist) argument 837 Distribution Dist; local 864 distributeIrrLoopHeaderMass(Distribution &Dist) argument [all...] |
H A D | LoopAccessAnalysis.cpp | 1615 int Dist = Val / Size; local 1619 if (!StrictCheck || Dist * Size == Val) 1620 return Dist; 1807 /// Given a dependence-distance \p Dist between two 1821 const SCEV &Dist, uint64_t Stride, 1825 // (**) |Dist| > BackedgeTakenCount * Step 1830 // We basically want to check if the absolute distance (|Dist/Step|) 1845 const SCEV *CastedDist = &Dist; 1847 uint64_t DistTypeSizeBits = DL.getTypeSizeInBits(Dist.getType()); 1850 // The dependence distance can be positive/negative, so we sign extend Dist; 1819 isSafeDependenceDistance(const DataLayout &DL, ScalarEvolution &SE, const SCEV &BackedgeTakenCount, const SCEV &Dist, uint64_t Stride, uint64_t TypeByteSize) argument [all...] |
H A D | InstructionSimplify.cpp | 2786 APInt Dist = LHSOffset - RHSOffset; local 2787 if (Dist.isNonNegative() ? Dist.ult(LHSSize) : (-Dist).ult(RHSSize))
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.h | 75 UseQueueType() : Uses(Dist) {} 95 Dist.clear(); 99 Cmp(DenseMap<const MachineInstr*,unsigned> &Map) : Dist(Map) {} 101 DenseMap<const MachineInstr*,unsigned> &Dist; member in struct:llvm::BitTracker::UseQueueType::Cmp 105 DenseMap<const MachineInstr*,unsigned> Dist; member in struct:llvm::BitTracker::UseQueueType
|
H A D | HexagonHardwareLoops.cpp | 786 int64_t Dist = EndV - StartV; local 787 if (Dist == 0) 790 bool Exact = (Dist % IVBump) == 0; 795 if ((Dist < 0) ^ (IVBump < 0)) 802 Dist = Dist > 0 ? Dist+1 : Dist-1; 804 // For the loop to iterate, CmpLess should imply Dist > 0. Similarly, 805 // CmpGreater should imply Dist < [all...] |
H A D | HexagonISelDAGToDAGHVX.cpp | 1575 if (auto Dist = rotationDistance(SM, VecLen)) { 1576 OpRef Rotate = funnels(Va, Va, *Dist, Results); 2051 std::optional<int> Dist; 2056 if (Dist) { 2057 if ((I + *Dist) % static_cast<int>(WrapAt) != M) 2062 // Add WrapAt in an attempt to keep I+Dist non-negative. 2063 Dist = M - I; 2064 if (Dist < 0) 2065 Dist = *Dist [all...] |
H A D | BitTracker.cpp | 782 auto F = Dist.find(MI); 783 if (F != Dist.end()) 788 Dist.insert(std::make_pair(MI, D));
|
H A D | HexagonLoopIdiomRecognition.cpp | 2221 Value *Dist = Builder.CreateSub(LowA, HighA); local 2222 Value *CmpD = Builder.CreateICmpSLE(NumBytes, Dist);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFMIPeephole.cpp | 473 int Dist; local 479 Dist = SoFarNumInsns[CondTargetBB] - CondTargetBB->size() - CurrNumInsns; 480 if (in16BitRange(Dist)) 518 // above Dist checking should already filtered this case. 558 Dist = SoFarNumInsns[CondTargetBB] - CondTargetBB->size() - CurrNumInsns; 559 if (!in16BitRange(Dist)) {
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86OptimizeLEAs.cpp | 268 /// \p AddrDispShift and \p Dist. 271 int64_t &AddrDispShift, int &Dist); 341 MachineInstr *&BestLEA, int64_t &AddrDispShift, int &Dist) { 383 Dist = DistTemp; 527 int Dist; local 528 if (!chooseBestLEA(Insns->second, MI, DefMI, AddrDispShift, Dist)) 537 if (Dist < 0) { 339 chooseBestLEA( const SmallVectorImpl<MachineInstr *> &List, const MachineInstr &MI, MachineInstr *&BestLEA, int64_t &AddrDispShift, int &Dist) argument
|
/freebsd-current/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTTypeTraits.cpp | 81 unsigned Dist = 0; local 84 ++Dist; 87 *Distance = Dist;
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 442 /// Adds all edges from LocalLoopHead to Dist. Calls addToDist() to add each 447 Distribution &Dist); 451 /// Adds an edge to Succ to Dist. If \c LoopHead.isValid(), then whether the 456 bool addToDist(Distribution &Dist, const LoopData *OuterLoop, 480 /// Distributes the mass in Source according to Dist. If LoopHead.isValid(), 485 Distribution &Dist); 500 void distributeIrrLoopHeaderMass(Distribution &Dist); 1259 Distribution Dist; local 1283 Dist.addLocal(HeaderNode, HeaderWeightValue); 1302 Dist 1694 Distribution Dist; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeLayout.cpp | 163 const uint64_t Dist = DstAddr - (SrcAddr + SrcSize); local 164 return jumpExtTSPScore(Dist, ForwardDistance, Count, 169 const uint64_t Dist = SrcAddr + SrcSize - DstAddr; local 170 return jumpExtTSPScore(Dist, BackwardDistance, Count, 1296 uint64_t Dist = SrcAddr <= DstAddr ? DstAddr - SrcAddr : SrcAddr - DstAddr; local 1297 double D = Dist == 0 ? 0.1 : static_cast<double>(Dist);
|
H A D | SimplifyCFG.cpp | 6226 APInt Dist = Val - PrevVal; 6228 DistToPrev = Dist; 6229 } else if (Dist != DistToPrev) { 6234 Dist.isStrictlyPositive() ? Val.sle(PrevVal) : Val.sgt(PrevVal);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopLoadElimination.cpp | 129 auto *Dist = cast<SCEVConstant>( local 131 const APInt &Val = Dist->getAPInt();
|
/freebsd-current/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Cuda.cpp | 183 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple())); 184 if (Dist.IsDebian() || Dist.IsUbuntu())
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 1505 // Handle index width (the width of Dist) != pointer width (the width of 1507 APInt Dist = DistRange.getSingleElement()->sextOrTrunc(NewPtrBitWidth); local 1508 return (OffsetB - OffsetA + Dist).sextOrTrunc(OrigBitWidth);
|
H A D | SLPVectorizer.cpp | 1306 std::optional<int> Dist = getPointersDiff( 1309 if (!Dist || *Dist == 0) { 1320 if (std::abs(*Dist) > NumLanes / 2) 1325 return (*Dist > 0) ? LookAheadHeuristics::ScoreConsecutiveLoads 1361 int Dist = Idx2 - Idx1; 1364 if (std::abs(Dist) == 0) 1366 if (std::abs(Dist) > NumLanes / 2) 1368 return (Dist > 0) ? LookAheadHeuristics::ScoreConsecutiveExtracts 5456 std::optional<int> Dist [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILoadStoreOptimizer.cpp | 2214 int64_t Dist = MAddr.Offset - MAddrNext.Offset; local 2217 AM.BaseOffs = Dist; 2219 (uint32_t)std::abs(Dist) > MaxDist) { 2220 MaxDist = std::abs(Dist);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 4131 unsigned &DefIdx, unsigned &Dist) { 4132 Dist = 0; 4144 ++Dist; 4154 unsigned &UseIdx, unsigned &Dist) { 4155 Dist = 0; 4168 ++Dist; 4173 Dist = 0; 4129 getBundledDefMI(const TargetRegisterInfo *TRI, const MachineInstr *MI, unsigned Reg, unsigned &DefIdx, unsigned &Dist) argument 4152 getBundledUseMI(const TargetRegisterInfo *TRI, const MachineInstr &MI, unsigned Reg, unsigned &UseIdx, unsigned &Dist) argument
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 13603 unsigned Bytes, int Dist, 13618 return MFI.getObjectOffset(FI) == (MFI.getObjectOffset(BFI) + Dist*Bytes); 13625 if (Base1 == Base2 && Offset1 == (Offset2 + Dist * Bytes)) 13636 return Offset1 == (Offset2 + Dist*Bytes); 13643 unsigned Bytes, int Dist, 13648 return isConsecutiveLSLoc(Loc, VT, Base, Bytes, Dist, DAG); 13676 return isConsecutiveLSLoc(N->getOperand(2), VT, Base, Bytes, Dist, DAG); 13708 return isConsecutiveLSLoc(N->getOperand(3), VT, Base, Bytes, Dist, DAG); 13602 isConsecutiveLSLoc(SDValue Loc, EVT VT, LSBaseSDNode *Base, unsigned Bytes, int Dist, SelectionDAG &DAG) argument 13642 isConsecutiveLS(SDNode *N, LSBaseSDNode *Base, unsigned Bytes, int Dist, SelectionDAG &DAG) argument
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 2234 /// 'Bytes' bytes from a location that is 'Dist' units away from the 2237 unsigned Bytes, int Dist) const;
|
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 5667 Expr *Dist; 5693 Dist = AssertSuccess(Actions.ActOnConditionalOp( 5739 Dist = AssertSuccess( 5744 Dist = AssertSuccess( 5745 Actions.ActOnConditionalOp({}, {}, HasAnyIteration, Dist, Zero)); 5750 Actions.getCurScope(), {}, BO_Assign, DistRef, Dist));
|