Home
last modified time | relevance | path

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

12

/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DTestCornerCases.cs45 Value = NegativeEnum.MinusOne, in TestRoundTripNegativeEnums()
46 Values = { NegativeEnum.Zero, NegativeEnum.MinusOne, NegativeEnum.FiveBelow }, in TestRoundTripNegativeEnums()
47 PackedValues = { NegativeEnum.Zero, NegativeEnum.MinusOne, NegativeEnum.FiveBelow } in TestRoundTripNegativeEnums()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DTestCornerCases.cs45 Value = NegativeEnum.MinusOne, in TestRoundTripNegativeEnums()
46 Values = { NegativeEnum.Zero, NegativeEnum.MinusOne, NegativeEnum.FiveBelow }, in TestRoundTripNegativeEnums()
47 PackedValues = { NegativeEnum.Zero, NegativeEnum.MinusOne, NegativeEnum.FiveBelow } in TestRoundTripNegativeEnums()
/external/llvm/unittests/ADT/
DAPIntTest.cpp395 auto MinusOne = APInt{128, static_cast<uint64_t>(-1), true}; in TEST()
400 EXPECT_TRUE(MinusOne.slt(One)); in TEST()
405 EXPECT_TRUE(MinusOne.slt(Two)); in TEST()
408 EXPECT_TRUE(!One.slt(MinusOne)); in TEST()
409 EXPECT_TRUE(!Two.slt(MinusOne)); in TEST()
410 EXPECT_TRUE(!MinusOne.slt(MinusOne)); in TEST()
411 EXPECT_TRUE(MinusTwo.slt(MinusOne)); in TEST()
415 EXPECT_TRUE(!MinusOne.slt(MinusTwo)); in TEST()
/external/protobuf/csharp/compatibility_tests/v3.0.0/protos/csharp/protos/
Dunittest_issues.proto48 MinusOne = -1; enumerator
/external/protobuf/csharp/protos/
Dunittest_issues.proto47 MinusOne = -1; enumerator
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp519 auto MinusOne = APInt{128, static_cast<uint64_t>(-1), true}; in TEST()
524 EXPECT_TRUE(MinusOne.slt(One)); in TEST()
529 EXPECT_TRUE(MinusOne.slt(Two)); in TEST()
532 EXPECT_TRUE(!One.slt(MinusOne)); in TEST()
533 EXPECT_TRUE(!Two.slt(MinusOne)); in TEST()
534 EXPECT_TRUE(!MinusOne.slt(MinusOne)); in TEST()
535 EXPECT_TRUE(MinusTwo.slt(MinusOne)); in TEST()
539 EXPECT_TRUE(!MinusOne.slt(MinusTwo)); in TEST()
609 APInt MinusOne = -One; in TEST() local
749 APInt SubKL = 2 - MinusOne; in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp778 ConstantInt *MinusOne = Builder.getInt32(~0); in expandDivRem32() local
838 Value *Remainder_GE_Den = Builder.CreateSelect(Rem_GE_Den_CC, MinusOne, Zero); in expandDivRem32()
843 MinusOne, Zero); in expandDivRem32()
DAMDGPUISelLowering.cpp1749 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64() local
1750 SDValue C1 = DAG.getSelectCC(DL, Sub1_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
1752 SDValue C2 = DAG.getSelectCC(DL, Sub1_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
1772 SDValue C4 = DAG.getSelectCC(DL, Sub2_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
1774 SDValue C5 = DAG.getSelectCC(DL, Sub2_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1416 const SCEV *MinusOne = in runOnLoop() local
1419 cast<SCEVAddRecExpr>(SE.getAddExpr(SE.getSCEV(LS.IndVarNext), MinusOne)); in runOnLoop()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1369 const SCEV *MinusOne = SE->getMinusOne(ARTy); in optimizeLoopExitWithUnknownExitCount() local
1370 auto *MaxAllowedIter = SE->getZeroExtendExpr(MinusOne, MaxIterTy); in optimizeLoopExitWithUnknownExitCount()
DInductiveRangeCheckElimination.cpp699 const SCEV *MinusOne = in isSafeDecreasingBound() local
702 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, MinusOne) && in isSafeDecreasingBound()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp683 const SCEV *MinusOne = in isSafeDecreasingBound() local
686 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, MinusOne) && in isSafeDecreasingBound()
/external/llvm/lib/IR/
DAutoUpgrade.cpp886 Constant *MinusOne = ConstantVector::getSplat(NumElts, Builder.getInt64(-1)); in UpgradeIntrinsicCall() local
887 Value *NotSel = Builder.CreateXor(Sel, MinusOne); in UpgradeIntrinsicCall()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h3698 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
3699 _pxor(T, MinusOne);
3715 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
3716 _pxor(T, MinusOne);
3732 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
3733 _pxor(T, MinusOne);
7769 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
7770 _psub(Dest, MinusOne);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1070 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType()); in canonicalizeLowbitMask() local
1071 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask"); in canonicalizeLowbitMask()
DInstCombineAndOrXor.cpp2840 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType()); in foldXorOfICmps() local
2841 return Builder.CreateICmpSGT(Builder.CreateXor(LHS0, RHS0), MinusOne); in foldXorOfICmps()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1108 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType()); in canonicalizeLowbitMask() local
1109 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask"); in canonicalizeLowbitMask()
DInstCombineAndOrXor.cpp2950 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType()); in foldXorOfICmps() local
2951 return Builder.CreateICmpSGT(Builder.CreateXor(LHS0, RHS0), MinusOne); in foldXorOfICmps()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp9663 auto *MinusOne = getNegativeSCEV(One); in getLoopInvariantExitCondDuringFirstIterations() local
9664 if (Step != One && Step != MinusOne) in getLoopInvariantExitCondDuringFirstIterations()
9685 if (Step == MinusOne) in getLoopInvariantExitCondDuringFirstIterations()
10741 const SCEV *MinusOne = getMinusOne(LHS->getType()); in isImpliedViaOperations() local
10742 if (isImpliedCondOperands(ICmpInst::ICMP_SGT, LHS, MinusOne, FoundLHS, in isImpliedViaOperations()
10744 isImpliedCondOperands(ICmpInst::ICMP_SGT, RHS, MinusOne, FoundLHS, in isImpliedViaOperations()
10788 auto *MinusOne = getMinusOne(RHS->getType()); in isImpliedViaOperations() local
10792 return IsSGTViaContext(S1, MinusOne) && IsSGTViaContext(S2, RHS); in isImpliedViaOperations()
10861 auto *MinusOne = getMinusOne(WTy); in isImpliedViaOperations() local
10862 auto *NegDenomMinusOne = getMinusSCEV(MinusOne, DenominatorExt); in isImpliedViaOperations()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1878 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64() local
1879 SDValue C1 = DAG.getSelectCC(DL, Sub1_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
1881 SDValue C2 = DAG.getSelectCC(DL, Sub1_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
1901 SDValue C4 = DAG.getSelectCC(DL, Sub2_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
1903 SDValue C5 = DAG.getSelectCC(DL, Sub2_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1712 Value *MinusOne = Constant::getAllOnesValue(Sc->getType()); in handleEqualityComparison() local
1716 IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero)); in handleEqualityComparison()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs76 [pbr::OriginalName("MinusOne")] MinusOne = -1, enumerator
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2230 Value *MinusOne = Constant::getAllOnesValue(Sc->getType()); in handleEqualityComparison() local
2234 IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero)); in handleEqualityComparison()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2357 Value *MinusOne = Constant::getAllOnesValue(Sc->getType()); in handleEqualityComparison() local
2361 IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero)); in handleEqualityComparison()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp10330 auto *MinusOne = getNegativeSCEV(getOne(RHS->getType())); in isImpliedViaOperations() local
10334 return IsSGTViaContext(S1, MinusOne) && IsSGTViaContext(S2, RHS); in isImpliedViaOperations()
10403 auto *MinusOne = getNegativeSCEV(getOne(WTy)); in isImpliedViaOperations() local
10404 auto *NegDenomMinusOne = getMinusSCEV(MinusOne, DenominatorExt); in isImpliedViaOperations()

12