Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp133 BB.addSuccessor(loop1MBB, BranchProbability::getOne()); in expandAtomicCmpSwapSubword()
140 sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne()); in expandAtomicCmpSwapSubword()
268 BB.addSuccessor(loop1MBB, BranchProbability::getOne()); in expandAtomicCmpSwap()
400 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
453 sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne()); in expandAtomicBinOpSubword()
588 BB.addSuccessor(loopMBB, BranchProbability::getOne()); in expandAtomicBinOp()
H A DMipsISelLowering.cpp1646 BB->addSuccessor(exitMBB, BranchProbability::getOne()); in emitAtomicBinaryPartword()
1826 BB->addSuccessor(exitMBB, BranchProbability::getOne()); in emitAtomicCmpSwapPartword()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp685 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
692 SE.getMinusSCEV(BoundSCEV, SE.getOne(BoundSCEV->getType())); in isSafeDecreasingBound()
733 SE.getMinusSCEV(Step, SE.getOne(Step->getType())); in isSafeIncreasingBound()
904 SE.getOne(RightSCEV->getType())); in parseLoopStructure()
909 SE.getOne(RightSCEV->getType())); in parseLoopStructure()
968 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
972 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
1071 const SCEV *One = SE.getOne(Ty); in calculateSubRanges()
1647 const SCEV *One = SE.getOne(X->getType()); in computeSafeIterationSpace()
H A DLoopPredication.cpp453 SE->getMinusSCEV(LatchStart, SE->getOne(Ty))); in widenICmpRangeCheckIncrementingLoop()
506 SE->getOne(Ty), InsertAt); in widenICmpRangeCheckDecrementingLoop()
H A DLoopIdiomRecognize.cpp839 SE->getNegativeSCEV(SE->getOne(BECount->getType())))) { in getNumBytes()
841 SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW), in getNumBytes()
845 SE->getOne(IntPtr), SCEV::FlagNUW); in getNumBytes()
H A DIndVarSimplify.cpp2304 IVOffset = SE->getAddExpr(IVOffset, SE->getOne(OfsTy)); in genLoopLimit()
2348 IVLimit = SE->getAddExpr(IVLimit, SE->getOne(IVLimit->getType())); in genLoopLimit()
H A DLoopRerollPass.cpp1448 auto One = SE->getOne(BackedgeTakenCount->getType()); in replace()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBranchProbability.h51 static BranchProbability getOne() { return BranchProbability(D); } in getOne() function
H A DScaledNumber.h522 static ScaledNumber getOne() { return ScaledNumber(1, 0); } in getOne() function
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp658 ExitCount = SE->getAddExpr(ExitCount, SE->getOne(CountType)); in convertToCTRLoop()
H A DPPCISelLowering.cpp10206 thisMBB->addSuccessor(sinkMBB, BranchProbability::getOne()); in emitEHSjLjSetJmp()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp1058 One = SE.getOne(Denominator->getType()); in SCEVDivision()
2590 SmallVector<const SCEV *, 2> TwoOps = {getOne(Ty), InnerMul}; in getAddExpr()
5406 const SCEV *One = getOne(I->getType()); in createNodeForSelectOrPHI()
5420 const SCEV *One = getOne(I->getType()); in createNodeForSelectOrPHI()
8714 const SCEV *One = getOne(Distance->getType()); in howFarToZero()
9416 getAddRecExpr(getZero(Ty), getOne(Ty), L, NoWrapFlags); in isLoopBackedgeGuardedByCond()
10210 auto *MinusOne = getNegativeSCEV(getOne(RHS->getType())); in isImpliedViaOperations()
10283 auto *MinusOne = getNegativeSCEV(getOne(WTy)); in isImpliedViaOperations()
10396 const SCEV *One = getOne(Stride->getType()); in doesIVOverflowOnLT()
10420 const SCEV *One = getOne(Stride->getType()); in doesIVOverflowOnGT()
[all …]
H A DBranchProbabilityInfo.cpp233 (BranchProbability::getOne() - UR_TAKEN_PROB * UnreachableEdges.size()) / in calcUnreachableHeuristics()
H A DDependenceAnalysis.cpp382 A = SE->getOne(D->getType()); in setDistance()
1033 SE->getMinusSCEV(S, SE->getSMaxExpr(Size, SE->getOne(Size->getType()))); in isKnownLessThan()
2823 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsLT()
2867 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType())); in findBoundsGT()
H A DLoopAccessAnalysis.cpp163 static_cast<const SCEVConstant *>(SE->getOne(StrideVal->getType())); in replaceSymbolicStrideSCEV()
2106 const SCEV *ScPlusOne = SE->getAddExpr(Sc, SE->getOne(PtrArithTy)); in expandBounds()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp636 auto AdjustedSumProb = BranchProbability::getOne(); in collectViableSuccessors()
669 SuccProb = BranchProbability::getOne(); in getAdjustedProbability()
H A DIfConversion.cpp1970 BBI.BB->addSuccessor(TailBB, BranchProbability::getOne()); in IfConvertDiamond()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp389 const auto *NLessOne = SE->getMinusSCEV(N, SE->getOne(T)); in simplifyIVRemainder()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolution.h600 const SCEV *getOne(Type *Ty) { return getConstant(Ty, 1); }
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2147 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp2482 checkMBB->addSuccessor(&PrologueMBB, BranchProbability::getOne()); in adjustForSegmentedStacks()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2416 BackedgeTakenCount, SE->getOne(BackedgeTakenCount->getType())); in getOrCreateTripCount()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp10248 if (PeeledCaseProb == BranchProbability::getOne()) in scaleCaseProbality()