Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp693 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
700 SE.getMinusSCEV(BoundSCEV, SE.getOne(BoundSCEV->getType())); in isSafeDecreasingBound()
741 SE.getMinusSCEV(Step, SE.getOne(Step->getType())); in isSafeIncreasingBound()
908 SE.getOne(RightSCEV->getType())); in parseLoopStructure()
913 SE.getOne(RightSCEV->getType())); in parseLoopStructure()
945 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
971 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
975 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
1011 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
1092 const SCEV *One = SE.getOne(RTy); in calculateSubRanges()
[all …]
H A DLoopBoundSplit.cpp106 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType)); in calculateUpperBound()
H A DIndVarSimplify.cpp995 IVOffset = SE->getAddExpr(IVOffset, SE->getOne(OfsTy)); in genLoopLimit()
1043 IVLimit = SE->getAddExpr(IVLimit, SE->getOne(IVLimit->getType())); in genLoopLimit()
1377 const SCEV *One = SE->getOne(MaxIter->getType()); in optimizeLoopExitWithUnknownExitCount()
H A DLoopPredication.cpp596 SE->getMinusSCEV(LatchStart, SE->getOne(Ty))); in widenICmpRangeCheckIncrementingLoop()
655 SE->getOne(Ty)); in widenICmpRangeCheckDecrementingLoop()
H A DLoopIdiomRecognize.cpp1011 SE->getNegativeSCEV(SE->getOne(BECount->getType())))) { in getNumBytes()
1013 SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW), in getNumBytes()
1017 SE->getOne(IntPtr), SCEV::FlagNUW); in getNumBytes()
H A DLoopRerollPass.cpp1481 auto One = SE->getOne(BackedgeTakenCount->getType()); in replace()
/freebsd-13.1/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.cpp1764 BB->addSuccessor(exitMBB, BranchProbability::getOne()); in emitAtomicBinaryPartword()
1948 BB->addSuccessor(exitMBB, BranchProbability::getOne()); in emitAtomicCmpSwapPartword()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DBranchProbability.h50 static BranchProbability getOne() { return BranchProbability(D); } in getOne() function
H A DScaledNumber.h521 static ScaledNumber getOne() { return ScaledNumber(1, 0); } in getOne() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp245 One = SE.getOne(Denominator->getType()); in SCEVDivision()
H A DScalarEvolution.cpp5711 const SCEV *One = getOne(I->getType()); in createNodeForSelectOrPHI()
5725 const SCEV *One = getOne(I->getType()); in createNodeForSelectOrPHI()
7150 return getAddExpr(ExitCount, getOne(ExitCount->getType())); in getTripCountFromExitCount()
9501 const SCEV *One = getOne(Distance->getType()); in howFarToZero()
10088 auto *One = getOne(Step->getType()); in getLoopInvariantExitCondDuringFirstIterations()
10333 getAddRecExpr(getZero(Ty), getOne(Ty), L, NoWrapFlags); in isLoopBackedgeGuardedByCond()
11476 const SCEV *One = getOne(Stride->getType()); in canIVOverflowOnLT()
11499 const SCEV *One = getOne(Stride->getType()); in canIVOverflowOnGT()
11522 const SCEV *MinNOne = getUMinExpr(N, getOne(N->getType())); in getUDivCeilSCEV()
11858 const SCEV *One = getOne(Stride->getType()); in howManyLessThans()
[all …]
H A DDependenceAnalysis.cpp395 A = SE->getOne(D->getType()); in setDistance()
1039 SE->getMinusSCEV(S, SE->getSMaxExpr(Size, SE->getOne(Size->getType()))); in isKnownLessThan()
2818 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsLT()
2862 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsGT()
H A DBranchProbabilityInfo.cpp418 BranchProbability::getOne() - NewUnreachableSum; in calcMetadataWeights()
H A DLoopAccessAnalysis.cpp161 static_cast<const SCEVConstant *>(SE->getOne(StrideVal->getType())); in replaceSymbolicStrideSCEV()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1474 Scaled64 OneMinusSelfProb = Scaled64::getOne();
1482 if (OneMinusSelfProb != Scaled64::getOne())
1624 ProbMatrix[EntryIdx].push_back(std::make_pair(Src, Scaled64::getOne()));
H A DScalarEvolution.h607 const SCEV *getOne(Type *Ty) { return getConstant(Ty, 1); }
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp388 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
H A DMachineBlockPlacement.cpp691 auto AdjustedSumProb = BranchProbability::getOne(); in collectViableSuccessors()
724 SuccProb = BranchProbability::getOne(); in getAdjustedProbability()
H A DIfConversion.cpp2100 BBI.BB->addSuccessor(TailBB, BranchProbability::getOne()); in IfConvertDiamond()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp410 const auto *NLessOne = SE->getMinusSCEV(N, SE->getOne(T)); in simplifyIVRemainder()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2168 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1876 SE.getOne(BackedgeTakenCount->getType())); in isHardwareLoopProfitable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2488 addSuccessorWithProb(InvokeMBB, ReturnMBB, BranchProbability::getOne()); in translateInvoke()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp2984 checkMBB->addSuccessor(&PrologueMBB, BranchProbability::getOne()); in adjustForSegmentedStacks()

12