Home
last modified time | relevance | path

Searched refs:isMaxSignedValue (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h181 return RHS.isMaxSignedValue(); in isSignBitCheck()
193 return RHS.isMaxSignedValue(); in isSignBitCheck()
/external/llvm/lib/IR/
DConstantRange.cpp89 if (SMax.isMaxSignedValue()) in makeAllowedICmpRegion()
101 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h137 return RHS.isMaxSignedValue(); in isSignBitCheck()
149 return RHS.isMaxSignedValue(); in isSignBitCheck()
DInstCombineCompares.cpp1602 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant()
2207 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()
3982 if (BO0->getOpcode() == Instruction::Xor && C->isMaxSignedValue()) { in foldICmpBinOp()
5540 if (Pred == ICmpInst::ICMP_UGT && C->isMaxSignedValue()) { in visitICmpInst()
/external/llvm/unittests/ADT/
DAPIntTest.cpp146 EXPECT_TRUE(zero.isMaxSignedValue()); in TEST()
147 EXPECT_FALSE(one.isMaxSignedValue()); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h354 bool isMaxSignedValue() const { in isMaxSignedValue() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h358 bool isMaxSignedValue() const { in isMaxSignedValue() function
/external/llvm/include/llvm/IR/
DConstants.h209 return Val.isMaxSignedValue(); in isMaxValue()
DPatternMatch.h276 bool isValue(const APInt &C) { return C.isMaxSignedValue(); } in isValue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h219 return Val.isMaxSignedValue(); in isMaxValue()
DPatternMatch.h342 bool isValue(const APInt &C) { return C.isMaxSignedValue(); } in isValue()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4655 bool IsFullRange = Min.isMinSignedValue() && Max.isMaxSignedValue(); in getRangeForAffineAR()
7380 if (RA.isMaxSignedValue()) { in SimplifyICmpOperands()
7392 if ((RA + 1).isMaxSignedValue()) { in SimplifyICmpOperands()
7403 if (RA.isMaxSignedValue()) goto trivially_true; in SimplifyICmpOperands()
7443 if ((RA + 1).isMaxSignedValue()) { in SimplifyICmpOperands()
7449 if (RA.isMaxSignedValue()) goto trivially_false; in SimplifyICmpOperands()
7452 if (RA.isMaxSignedValue()) { in SimplifyICmpOperands()
7480 if (!getSignedRange(RHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
7498 } else if (!getSignedRange(LHS).getSignedMax().isMaxSignedValue()) { in SimplifyICmpOperands()
DInstructionSimplify.cpp3464 if (Pred == ICmpInst::ICMP_SGT && C->isMaxSignedValue()) in SimplifySelectInst()
/external/llvm-project/llvm/include/llvm/IR/
DConstants.h227 return Val.isMaxSignedValue(); in isMaxValue()
DPatternMatch.h396 bool isValue(const APInt &C) { return C.isMaxSignedValue(); } in isValue()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h432 bool isMaxSignedValue() const {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h431 bool isMaxSignedValue() const { in isMaxSignedValue() function
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1622 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant()
2250 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()
4059 if (BO0->getOpcode() == Instruction::Xor && C->isMaxSignedValue()) { in foldICmpBinOp()
5666 if (Pred == ICmpInst::ICMP_UGT && C->isMaxSignedValue()) { in visitICmpInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp116 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp117 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp240 EXPECT_TRUE(zero.isMaxSignedValue()); in TEST()
241 EXPECT_FALSE(one.isMaxSignedValue()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp9069 assert(!RA.isMaxSignedValue() && "Should have been caught earlier!"); in SimplifyICmpOperands()
9090 if (!getSignedRangeMax(RHS).isMaxSignedValue()) { in SimplifyICmpOperands()
9108 } else if (!getSignedRangeMax(LHS).isMaxSignedValue()) { in SimplifyICmpOperands()
DValueTracking.cpp4890 C2->isMaxSignedValue()) in matchMinMax()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp9321 assert(!RA.isMaxSignedValue() && "Should have been caught earlier!"); in SimplifyICmpOperands()
9342 if (!getSignedRangeMax(RHS).isMaxSignedValue()) { in SimplifyICmpOperands()
9360 } else if (!getSignedRangeMax(LHS).isMaxSignedValue()) { in SimplifyICmpOperands()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3966 if ((Cond == ISD::SETUGT && C1.isMaxSignedValue()) || in SimplifySetCC()
3975 (Cond == ISD::SETULE && C1.isMaxSignedValue())) in SimplifySetCC()

12