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

12

/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp50 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType()));
57 SE.getMinusSCEV(BoundSCEV, SE.getOne(BoundSCEV->getType()));
94 const SCEV *StepMinusOne = SE.getMinusSCEV(Step, SE.getOne(Step->getType()));
282 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType()));
287 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType()));
319 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType()));
345 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType()));
349 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType()));
385 SE.getMinusSCEV(RightSCEV, SE.getOne(RightSCEV->getType()));
H A DSimplifyIndVar.cpp388 const auto *NLessOne = SE->getMinusSCEV(N, SE->getOne(T));
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp351 const SCEV *One = SE.getOne(RHS->getType());
475 SE.getOne(Limit->getType()));
595 const SCEV *One = SE.getOne(RTy);
756 const SCEV *One = SE.getOne(X->getType());
795 const SCEV *EndWillNotOverflow = SE.getOne(RCType);
H A DLoopBoundSplit.cpp113 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType));
H A DLoopPredication.cpp573 SE->getMinusSCEV(LatchStart, SE->getOne(Ty)));
633 SE->getOne(Ty));
H A DIndVarSimplify.cpp1291 Elements.push_back(SE->getMinusSCEV(Op, SE->getOne(Op->getType())));
1294 MaxIter = SE->getMinusSCEV(MaxIter, SE->getOne(MaxIter->getType()));
H A DLoopRerollPass.cpp1440 auto One = SE->getOne(BackedgeTakenCount->getType());
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsExpandPseudo.cpp132 BB.addSuccessor(loop1MBB, BranchProbability::getOne());
139 sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne());
267 BB.addSuccessor(loop1MBB, BranchProbability::getOne());
432 BB.addSuccessor(loopMBB, BranchProbability::getOne());
547 sinkMBB->addSuccessor(exitMBB, BranchProbability::getOne());
724 BB.addSuccessor(loopMBB, BranchProbability::getOne());
H A DMipsISelLowering.cpp1780 BB->addSuccessor(exitMBB, BranchProbability::getOne());
1964 BB->addSuccessor(exitMBB, BranchProbability::getOne());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DBranchProbability.h50 static BranchProbability getOne() { return BranchProbability(D); } function in class:llvm::BranchProbability
H A DScaledNumber.h522 static ScaledNumber getOne() { return ScaledNumber(1, 0); } function in class:llvm::ScaledNumber
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp247 One = SE.getOne(Denominator->getType());
H A DDependenceAnalysis.cpp460 A = SE->getOne(D->getType());
1124 SE->getMinusSCEV(S, SE->getSMaxExpr(Size, SE->getOne(Size->getType())));
2916 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType()));
2960 Bound[K].Iterations, SE->getOne(Bound[K].Iterations->getType()));
H A DScalarEvolution.cpp2808 SmallVector<const SCEV *, 2> TwoOps = {getOne(Ty), InnerMul};
5038 return IsPositiveBECond ? SE.getOne(Type::getInt1Ty(SE.getContext()))
8162 getAddExpr(ExitCount, getOne(ExitCount->getType())), EvalTy);
8165 return getAddExpr(getTruncateOrZeroExtend(ExitCount, EvalTy), getOne(EvalTy));
9194 RHS = getAddExpr(getOne(RHS->getType()), RHS);
10463 const SCEV *One = getOne(Distance->getType());
11113 auto *One = getOne(Step->getType());
11370 getAddRecExpr(getZero(Ty), getOne(Ty), L, NoWrapFlags);
12595 const SCEV *One = getOne(Stride->getType());
12618 const SCEV *One = getOne(Strid
[all...]
H A DBranchProbabilityInfo.cpp479 BranchProbability::getOne() - NewUnreachableSum;
H A DLoopAccessAnalysis.cpp173 const auto *CT = SE->getOne(StrideSCEV->getType());
/freebsd-current/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); } function in class:llvm::ScalarEvolution
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp453 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType));
H A DMachineBlockPlacement.cpp722 auto AdjustedSumProb = BranchProbability::getOne();
755 SuccProb = BranchProbability::getOne();
H A DIfConversion.cpp2082 BBI.BB->addSuccessor(TailBB, BranchProbability::getOne());
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2162 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2154 SE.getOne(BackedgeTakenCount->getType()));
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp3399 checkMBB->addSuccessor(&PrologueMBB, BranchProbability::getOne());
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3242 addSuccessorWithProb(CallBrMBB, Return, BranchProbability::getOne());
11730 if (PeeledCaseProb == BranchProbability::getOne())

Completed in 682 milliseconds

12