Home
last modified time | relevance | path

Searched refs:MinusOne (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp59 const SCEV *MinusOne = in isSafeDecreasingBound() local
62 return SE.isLoopEntryGuardedByCond(L, BoundPred, StartLG, MinusOne) && in isSafeDecreasingBound()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1265 const SCEV *MinusOne = SE->getMinusOne(ARTy); in createReplacement() local
1266 const SCEV *MaxAllowedIter = SE->getZeroExtendExpr(MinusOne, MaxIterTy); in createReplacement()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp11342 auto *MinusOne = getNegativeSCEV(One); in getLoopInvariantExitCondDuringFirstIterationsImpl() local
11343 if (Step != One && Step != MinusOne) in getLoopInvariantExitCondDuringFirstIterationsImpl()
11364 if (Step == MinusOne) in getLoopInvariantExitCondDuringFirstIterationsImpl()
12601 const SCEV *MinusOne = getMinusOne(LHS->getType()); in isImpliedViaOperations() local
12602 if (isImpliedCondOperands(ICmpInst::ICMP_SGT, LHS, MinusOne, FoundLHS, in isImpliedViaOperations()
12604 isImpliedCondOperands(ICmpInst::ICMP_SGT, RHS, MinusOne, FoundLHS, in isImpliedViaOperations()
12648 auto *MinusOne = getMinusOne(RHS->getType()); in isImpliedViaOperations() local
12652 return IsSGTViaContext(S1, MinusOne) && IsSGTViaContext(S2, RHS); in isImpliedViaOperations()
12721 auto *MinusOne = getMinusOne(WTy); in isImpliedViaOperations() local
12722 auto *NegDenomMinusOne = getMinusSCEV(MinusOne, DenominatorExt); in isImpliedViaOperations()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2192 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64() local
2193 SDValue C1 = DAG.getSelectCC(DL, Sub1_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
2195 SDValue C2 = DAG.getSelectCC(DL, Sub1_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
2215 SDValue C4 = DAG.getSelectCC(DL, Sub2_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
2217 SDValue C5 = DAG.getSelectCC(DL, Sub2_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1227 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType()); in canonicalizeLowbitMask() local
1228 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask"); in canonicalizeLowbitMask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2931 Value *MinusOne = Constant::getAllOnesValue(Sc->getType()); in handleEqualityComparison() local
2934 IRB.CreateICmpEQ(IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero); in handleEqualityComparison()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5769 auto MinusOne = Builder.buildConstant(Ty, -1); in applySDivByPow2() local
5772 Builder.buildICmp(CmpInst::Predicate::ICMP_EQ, CCVT, RHS, MinusOne); in applySDivByPow2()
H A DLegalizerHelper.cpp8189 auto MinusOne = MIRBuilder.buildConstant(DstTy, -1); in lowerThreewayCompare() local
8190 MIRBuilder.buildSelect(Dst, IsLT, MinusOne, SelectZeroOrOne); in lowerThreewayCompare()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp5961 bool MinusOne) { in expandMOV32r1() argument
5972 MIB->setDesc(TII.get(MinusOne ? X86::DEC32r : X86::INC32r)); in expandMOV32r1()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp9569 SDValue MinusOne = DAG.getNode(ISD::VP_SUB, dl, VT, Op, in expandVPCTTZ() local
9571 SDValue Tmp = DAG.getNode(ISD::VP_AND, dl, VT, Not, MinusOne, Mask, VL); in expandVPCTTZ()