Home
last modified time | relevance | path

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

/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/swiftshader/third_party/llvm-7.0/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/protobuf/csharp/protos/
Dunittest_issues.proto48 MinusOne = -1; enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp648 ConstantInt *MinusOne = Builder.getInt32(~0); in expandDivRem32() local
708 Value *Remainder_GE_Den = Builder.CreateSelect(Rem_GE_Den_CC, MinusOne, Zero); in expandDivRem32()
713 MinusOne, Zero); in expandDivRem32()
DAMDGPUISelLowering.cpp1663 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64() local
1664 SDValue C1 = DAG.getSelectCC(DL, Sub1_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
1666 SDValue C2 = DAG.getSelectCC(DL, Sub1_Lo, RHS_Lo, MinusOne, Zero, in LowerUDIVREM64()
1686 SDValue C4 = DAG.getSelectCC(DL, Sub2_Hi, RHS_Hi, MinusOne, Zero, in LowerUDIVREM64()
1688 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/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/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1117 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType()); in canonicalizeLowbitMask() local
1118 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask"); in canonicalizeLowbitMask()
DInstCombineAndOrXor.cpp2379 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType()); in foldXorOfICmps() local
2380 return Builder.CreateICmpSGT(Builder.CreateXor(LHS0, RHS0), MinusOne); in foldXorOfICmps()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp745 const SCEV *MinusOne = in isSafeDecreasingBound() local
748 return SE.isLoopEntryGuardedByCond(L, BoundPred, Start, MinusOne) && in isSafeDecreasingBound()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h3622 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
3623 _pxor(T, MinusOne);
3639 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
3640 _pxor(T, MinusOne);
3656 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
3657 _pxor(T, MinusOne);
7713 Variable *MinusOne = makeVectorOfMinusOnes(Ty);
7714 _psub(Dest, MinusOne);
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs71 [pbr::OriginalName("MinusOne")] MinusOne = -1, enumerator
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1904 Value *MinusOne = Constant::getAllOnesValue(Sc->getType()); in handleEqualityComparison() local
1908 IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero)); in handleEqualityComparison()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp10009 auto *MinusOne = getNegativeSCEV(getOne(RHS->getType())); in isImpliedViaOperations() local
10013 return IsSGTViaContext(S1, MinusOne) && IsSGTViaContext(S2, RHS); in isImpliedViaOperations()
10082 auto *MinusOne = getNegativeSCEV(getOne(WTy)); in isImpliedViaOperations() local
10083 auto *NegDenomMinusOne = getMinusSCEV(MinusOne, DenominatorExt); in isImpliedViaOperations()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp3988 bool MinusOne) { in expandMOV32r1() argument
3999 MIB->setDesc(TII.get(MinusOne ? X86::DEC32r : X86::INC32r)); in expandMOV32r1()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5421 bool MinusOne) { in expandMOV32r1() argument
5432 MIB->setDesc(TII.get(MinusOne ? X86::DEC32r : X86::INC32r)); in expandMOV32r1()