Home
last modified time | relevance | path

Searched refs:getOne (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp50 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
57 SE.getMinusSCEV(BoundSCEV, SE.getOne(BoundSCEV->getType())); in isSafeDecreasingBound()
94 const SCEV *StepMinusOne = SE.getMinusSCEV(Step, SE.getOne(Step->getType())); in isSafeIncreasingBound()
282 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
287 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
319 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
345 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
349 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
385 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
H A DSimplifyIndVar.cpp388 const auto *NLessOne = SE->getMinusSCEV(N, SE->getOne(T)); in simplifyIVRemainder()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp132 BB.addSuccessor(loop1MBB, BranchProbability::getOne()); in expandAtomicCmpSwapSubword()
139 sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne()); in expandAtomicCmpSwapSubword()
267 BB.addSuccessor(loop1MBB, BranchProbability::getOne()); in expandAtomicCmpSwap()
432 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
547 sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
724 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOp()
H A DMipsISelLowering.cpp1780 BB->addSuccessor(exitMBB, BranchProbability::getOne()); in emitAtomicBinaryPartword()
1964 BB->addSuccessor(exitMBB, BranchProbability::getOne()); in emitAtomicCmpSwapPartword()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp351 const SCEV *One = SE.getOne(RHS->getType()); in parseIvAgaisntLimit()
475 SE.getOne(Limit->getType())); in reassociateSubLHS()
595 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
756 const SCEV *One = SE.getOne(X->getType()); in computeSafeIterationSpace()
795 const SCEV *EndWillNotOverflow = SE.getOne(RCType); in computeSafeIterationSpace()
H A DLoopPredication.cpp573 SE->getMinusSCEV(LatchStart, SE->getOne(Ty))); in widenICmpRangeCheckIncrementingLoop()
633 SE->getOne(Ty)); in widenICmpRangeCheckDecrementingLoop()
H A DLoopBoundSplit.cpp113 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType)); in calculateUpperBound()
H A DIndVarSimplify.cpp1291 Elements.push_back(SE->getMinusSCEV(Op, SE->getOne(Op->getType()))); in createReplacement()
1294 MaxIter = SE->getMinusSCEV(MaxIter, SE->getOne(MaxIter->getType())); in createReplacement()
H A DLoopRerollPass.cpp1440 auto One = SE->getOne(BackedgeTakenCount->getType()); in replace()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DBranchProbability.h50 static BranchProbability getOne() { return BranchProbability(D); } in getOne() function
H A DScaledNumber.h522 static ScaledNumber getOne() { return ScaledNumber(1, 0); } in getOne() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp247 One = SE.getOne(Denominator->getType()); in SCEVDivision()
H A DScalarEvolution.cpp9194 RHS = getAddExpr(getOne(RHS->getType()), RHS); in computeExitLimitFromICmp()
10463 const SCEV *One = getOne(Distance->getType()); in howFarToZero()
11113 auto *One = getOne(Step->getType()); in getLoopInvariantExitCondDuringFirstIterationsImpl()
11370 getAddRecExpr(getZero(Ty), getOne(Ty), L, NoWrapFlags); in isLoopBackedgeGuardedByCond()
12595 const SCEV *One = getOne(Stride->getType()); in canIVOverflowOnLT()
12618 const SCEV *One = getOne(Stride->getType()); in canIVOverflowOnGT()
12641 const SCEV *MinNOne = getUMinExpr(N, getOne(N->getType())); in getUDivCeilSCEV()
12879 Stride = getUMaxExpr(Stride, getOne(Stride->getType())); in howManyLessThans()
13034 const SCEV *One = getOne(Stride->getType()); in howManyLessThans()
13193 const SCEV *One = getOne(Stride->getType()); in howManyGreaterThans()
[all …]
H A DDependenceAnalysis.cpp460 A = SE->getOne(D->getType()); in setDistance()
1124 SE->getMinusSCEV(S, SE->getSMaxExpr(Size, SE->getOne(Size->getType()))); in isKnownLessThan()
2916 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsLT()
2960 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsGT()
H A DBranchProbabilityInfo.cpp479 BranchProbability::getOne() - NewUnreachableSum; in calcMetadataWeights()
H A DLoopAccessAnalysis.cpp173 const auto *CT = SE->getOne(StrideSCEV->getType()); in replaceSymbolicStrideSCEV()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1470 Scaled64 OneMinusSelfProb = Scaled64::getOne();
1478 if (OneMinusSelfProb != Scaled64::getOne())
1614 ProbMatrix[EntryIdx].push_back(std::make_pair(Src, Scaled64::getOne()));
H A DScalarEvolution.h660 const SCEV *getOne(Type *Ty) { return getConstant(Ty, 1); }
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp453 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
H A DMachineBlockPlacement.cpp722 auto AdjustedSumProb = BranchProbability::getOne(); in collectViableSuccessors()
755 SuccProb = BranchProbability::getOne(); in getAdjustedProbability()
H A DIfConversion.cpp2082 BBI.BB->addSuccessor(TailBB, BranchProbability::getOne()); in IfConvertDiamond()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2162 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2154 SE.getOne(BackedgeTakenCount->getType())); in isHardwareLoopProfitable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp3399 checkMBB->addSuccessor(&PrologueMBB, BranchProbability::getOne()); in adjustForSegmentedStacks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3242 addSuccessorWithProb(CallBrMBB, Return, BranchProbability::getOne()); in visitCallBr()
11730 if (PeeledCaseProb == BranchProbability::getOne()) in scaleCaseProbality()

12